I have for some time had an issue where if I open two tabs at the same time and the PoW is expired, both tabs will (sensibly) try to solve it, but while the one to be done first succeeds, the other one will fail to submit the proof and display an error. This is annoying, because then I have to manually remove the /bot-check?
from the URL.
It was a bit of a bother to hold tab races to try to reproduce this, but I found out that the bot-check endpoint returns a 500 when a tab tries to submit a PoW proof while there is a valid one already. Would it be possible to make this not error out, and preferably even make the "late" tab automatically try redirecting to the bot-check-less URL? If you're fine with jank, I think it'd even work to try the redirect on failure always, in the case this is unfounded the DDoS protector will toss you back to the bot check anyway.