This repository has been archived by the owner on Aug 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 905
[Bug]: websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 200 when I use the script on a server #621
Comments
I am facing the same problem when i run it on replit |
Does anyone has successfully run the program in cloud server like AWS ? |
Perhaps a proxy is needed for the WSS connection (using Warp in a cloud server), but WebSockets don't support proxies. I switched to aiohttp, but encountered a new error: aiohttp.client_exceptions.ClientOSError: [Errno 104] Connection reset by peer. However, I'm confident that Warp can be used with Bing, as the project https://github.com/waylaidwanderer/node-chatgpt-api runs smoothly on the same cloud server. |
Same. Versions after 0.10.16 do not work with proxies =( |
The same problem, it starts locally, but doesn't work on a remote server |
xuxin3101
pushed a commit
to xuxin3101/EdgeGPT
that referenced
this issue
Jul 24, 2023
fixed |
Hi, I am still encountering the same error! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is there an existing issue for this?
What happened?
When I use the script on a server, I have this error : websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 200
When I use the same script with the same IP (I use a proxy) on my computer, I have no problem.
In both case, I don't use cookies.
Steps to reproduce the problem
What should have happened?
The script should work on a server.
Version where the problem happens
All
What Python version are you running this with?
3.9
What is your operating system ?
Linux
Command Line Arguments
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: