Open bitnom opened 5 years ago
can you please try again? I added a small client that dispatches (get/put) requests https://github.com/xmonader/pygundb/commit/49790d968fabe7180808c5676fecb7688c096e34
Finally had some time. Same error.
I also have this error. Any updates on this? Thanks!
I've got the same error. On the GunDB side there's this error:
File "/usr/local/lib/python3.8/site-packages/gevent/pywsgi.py", line 976, in handle_one_response
self.run_application()
File "/usr/local/lib/python3.8/site-packages/geventwebsocket/handler.py", line 75, in run_application
self.run_websocket()
File "/usr/local/lib/python3.8/site-packages/geventwebsocket/handler.py", line 52, in run_websocket
list(self.application(self.environ, lambda s, h, e=None: []))
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2463, in __call__
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python3.8/site-packages/flask_sockets.py", line 40, in __call__
handler, values = adapter.match()
File "/usr/local/lib/python3.8/site-packages/werkzeug/routing.py", line 2030, in match
raise WebsocketMismatch()
werkzeug.routing.WebsocketMismatch: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.
2021-08-12T14:24:51Z {'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '55996', 'HTTP_HOST': 'localhost:8000', (hidden keys: 26)} failed with WebsocketMismatch```
pip3 install --upgrade "flask<2.0"
Here's the test code:
Which results in: