Skip to content

Not able to emit from background thread. Similar to: https://github.com/miguelgrinberg/Flask-SocketIO/issues/434 #2073

Closed Answered by miguelgrinberg
Aditya-Dexian asked this question in Q&A
Discussion options

You must be logged in to vote

The lines that start with 127.0.0.1 comes from the web server. They show connections that ended. The ones that have transport=websocket in the URL are Socket.IO connections that ended. I really can't tell for sure because you are using many connections in your client, but at least some connections are going away for some reason.

So first you need to figure out why you have many connections instead of just one. And second why they are getting closed.

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@Aditya-Dexian
Comment options

@miguelgrinberg
Comment options

@Aditya-Dexian
Comment options

@miguelgrinberg
Comment options

Answer selected by Aditya-Dexian
@Aditya-Dexian
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants