[Bug]: Websocket init, HTTP 101 request, server response HTTP 200
Is there an existing issue for this?
- I have searched the existing issues and checked the recent builds/commits
What happened?
File "/home/yuanbi/EdgeGPT/.venv/lib/python3.10/site-packages/websockets/legacy/client.py", line 655, in await_impl_timeout return await self.await_impl() File "/home/yuanbi/EdgeGPT/.venv/lib/python3.10/site-packages/websockets/legacy/client.py", line 662, in await_impl await protocol.handshake( File "/home/yuanbi/EdgeGPT/.venv/lib/python3.10/site-packages/websockets/legacy/client.py", line 329, in handshake raise InvalidStatusCode(status_code, response_headers) websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 200
Steps to reproduce the problem
Initializing...
Enter alt+enter or escape+enter to send a message
You: 你好 Bot: Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
What should have happened?
.......
Version where the problem happens
..
What Python version are you running this with?
Python 3.10.6
What is your operating system ?
Windows, Linux
Command Line Arguments
python3 -m EdgeGPT.EdgeGPT --cookie-file /mnt/d/0.txt --proxy http://192.168.80.1:10808Console logs
File "/home/yuanbi/EdgeGPT/.venv/lib/python3.10/site-packages/websockets/legacy/client.py", line 655, in __await_impl_timeout__
return await self.__await_impl__()
File "/home/yuanbi/EdgeGPT/.venv/lib/python3.10/site-packages/websockets/legacy/client.py", line 662, in __await_impl__
await protocol.handshake(
File "/home/yuanbi/EdgeGPT/.venv/lib/python3.10/site-packages/websockets/legacy/client.py", line 329, in handshake
raise InvalidStatusCode(status_code, response_headers)
websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 200Additional information
No response
Source: acheong08/EdgeGPT