I am deploying to Heroku.

Occasionally when I deploy, I am the app is not loading, it just says connecting… for a few minutes, then loads.

If I look at console, I see a bunch of messages trying to reach wss://domain/stream.

main.94ef9fb3.chunk.js:2 Uncaught Error: Unsupported state transition.

If I open up another browser, it works. But my main browser it just throwing web socket connection fails.

If I run it locally, it works perfectly fine of course.

If I look at the logs I see lots of requests for path="/healthz" when I am trying to access it.
Eventually, it just seems to go away.