Closed Esser50K closed 11 months ago
Ok the issue was out of date dependencies, not exactly sure which one but I noticed my "Werkzeug" version was still 1.X
so I updated everything and it seems to work now.
Are you interested in using the gevent-websocket package or Flask-Sock? It seems you are mixing things from both. You should decide which you want to use, then follow the documentation and examples of the chosen package. For Flask-Sock, this repository has some examples that should get you started.
I'm trying to connect to my websocket endpoint, the connection seems successful (both when running it from a browser or from the terminal via
websocat
), however the code in the handler never runs.I have a minimal application to demo the issue, here is the code:
from the terminal I run
However the result seems to be the same regardless which route I specify on
websocat
I get no errors whatsoever, just "silence".