Replies: 1 comment
-
Use the example application included in this repository, with the dependencies defined in its requirements.txt file. Do you still see the error? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Im getting an error regarding the socketio not found
WARNING:geventwebsocket.handler:Bad server protocol in headers
Traceback (most recent call last):
File "/home/ubuntu/env/lib/python3.8/site-packages/gevent/pywsgi.py", line 1107, in handle_one_response
self.run_application()
File "/home/ubuntu/env/lib/python3.8/site-packages/geventwebsocket/handler.py", line 82, in run_application
self.process_result()
File "/home/ubuntu/env/lib/python3.8/site-packages/gevent/pywsgi.py", line 1040, in process_result
self.write(data)
File "/home/ubuntu/env/lib/python3.8/site-packages/gevent/pywsgi.py", line 888, in write
self._write_with_headers(data)
File "/home/ubuntu/env/lib/python3.8/site-packages/gevent/pywsgi.py", line 909, in _write_with_headers
self._write(data)
File "/home/ubuntu/env/lib/python3.8/site-packages/gevent/pywsgi.py", line 871, in _write
self._sendall(data)
File "/home/ubuntu/env/lib/python3.8/site-packages/gevent/pywsgi.py", line 845, in _sendall
self.socket.sendall(data)
File "/home/ubuntu/env/lib/python3.8/site-packages/gevent/_socketcommon.py", line 701, in sendall
data_memory = _get_memory(data)
File "src/gevent/_greenlet_primitives.py", line 98, in gevent._gevent_c_greenlet_primitives.get_memory
File "src/gevent/_greenlet_primitives.py", line 121, in gevent._gevent_c_greenlet_primitives.get_memory
File "src/gevent/_greenlet_primitives.py", line 109, in gevent._gevent_c_greenlet_primitives.get_memory
TypeError: memoryview: a bytes-like object is required, not 'str'
2023-11-25T14:15:05Z {'REMOTE_ADDR': '0.0.1', 'REMOTE_PORT': '', 'HTTP_HOST': 'apai', (hidden keys: 24)} failed with TypeError
Not Found: /socket.io/
Beta Was this translation helpful? Give feedback.
All reactions