I have been beating my head on trying to get Flask-SocketIO to work with an existing #flask app and accept connections from a third-party origin.
I get 400 errors because the socket closes before a connection can be made. I've disabled CORS (local-only network) and have double checked that every library is compatible. Serving a websocket route from the app works, but it will not other hosts.
Anyone with experience able to take a look at a repo or offer insight?
I decided to cut my losses and just write a standalone websocket server instead.
I have it working locally on two different hosts and ports, so tomorrow, I should be able to throw it on the network and then have nginx take care of proxying requests to the host as a location block.