Workers randomly throwing 502 "bad gateway" responses while developing locally with `--remote`
There are so many seemingly random errors thrown by workers while developing locally that the experience can be a drag (I've raised most of these in previous threads here.)
Today, I've started getting 502s every now and then. When this happens, I have no choice but to restart the Worker and then the exact same request succeeds.
In case it's relevant, I'm developing with the
--remote
flag for reasons that are outside this topic.
Nothing in my app throws this error explicitly or outputs HTML, so I assume this response is coming directly from CF.
Any thoughts here? Thank you.2 Replies