I have an app that ran many months flawlessly. Until 10 Nov 2025, since than, a websocket I use in the app no longer reaches the on_open and it seems that the websocket simply is never opened..
I only see the error: websocket._exceptions.WebSocketConnectionClosedException: socket is already closed. which comes from the ping mechanism.
However when I ssh into the machine using fly console and run the code manually, it does work.. I attempted switching ip addresses and switched regions and machines already but nothing seems to work..
Any suggestions? I made no changes to the code when it stopped working..
Is it possible to share the name of your app so we can take a look? I’m not aware of anything about Websockets we have changed recently, but it’s always possible that there’s some unrelated changes that had weird interactions with your app specifically.
It looks like this isn’t related to websockets but rather IPv6 connectivity issues on the host. I’m not sure why this slipped past us – we’re going to look into that – but right now you should be able to restore connectivity by recreating the machine, which will land on a different physical host.