Comments (18)
Solution:16e00af
from edgegpt.
same problem
from edgegpt.
same to me when testing on the demo shown in the README (with little changes)
from edgegpt.
same to me, I had this running on my cloud
from edgegpt.
same to me
from edgegpt.
same
from edgegpt.
same problem
from edgegpt.
same problem, already use proxy.
from edgegpt.
Same for me on a server but it is working on my computer. On both, I use a proxy. So it's device related and not IP related I think.
from edgegpt.
who can find out the reason of this problem and solve it?
from edgegpt.
You can try to modify the file "/root/miniconda3/envs/python3.10/lib/python3.10/site-packages/websockets/legacy/client.py" line 442: open_timeout: Optional[float] = 30,#10 ping_interval: Optional[float] = 20,#20 ping_timeout: Optional[float] = 30,#20
to set them bigger.
from edgegpt.
Failed to connect to wss://sydney.bing.com/sydney/ChatHub: 200, message='Invalid response status', url=URL('wss://sydney.bing.com/sydney/ChatHub')
from edgegpt.
I managed to make it break on my local computer as well. I installed a VPN and set the location to Germany (the same region my Cloud is installed in). I'm getting the same error as you guys:
Connection to 'wss://sydney.bing.com/sydney/ChatHub' failed: Server sent invalid upgrade response: HTTP/1.1 200 OK X-Cache: CONFIG_NOCACHE nel: {"report_to":"network-errors","max_age":604800,"success_fraction":0.001,"failure_fraction":1.0} report-to: {"group":"network-errors","max_age":604800,"endpoints":[{"url":"https://aefd.nelreports.net/api/report?cat=sbc"}]} Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Mobile, Sec-CH-UA-Model, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version X-MSEdge-Ref: Ref A: DAF33563C6044741B9BFE3461935E159 Ref B: FRAEDGE1522 Ref C: 2023-07-13T16:58:11Z Date: Thu, 13 Jul 2023 16:58:11 GMT Content-Length: 0
I also noticed that the _U cookie is not present anymore when copying cookies. From what I understood, this cookie was required for authentication.
The error is from the PHP version of this script, but it's basically the same issue.
from edgegpt.
Failed to connect to wss://sydney.bing.com/sydney/ChatHub: 200, message='Invalid response status', url=URL('wss://sydney.bing.com/sydney/ChatHub')
same issue here
from edgegpt.
Same issue to me.
from edgegpt.
same
from edgegpt.
Help, my bing-chan is not able to talk over 10mins!!
from edgegpt.
Solution:16e00af
Works smoothly, cheers!!
from edgegpt.
Related Issues (20)
- websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 200 HOT 8
- KeyError: 'suggestedResponses' HOT 1
- asyncio.exceptions.TimeoutError HOT 2
- [Bug]: Exception: Authentication failed. You have not been accepted into the beta. HOT 10
- Preserve conversation before it deletes it and says "sorry, i cant give a response to that". HOT 1
- [Bug]: Have a problem from example in README.md HOT 5
- CaptchaChallenge: User needs to solve CAPTCHA to continue HOT 1
- Facing this over server like railway & heroku
- BingImageCreator.py request_id = redirect_url.split("id=")[-1]为空
- [Bug]: Exception: UnauthorizedRequest: Cannot retrieve user status.
- [Bug]: cannot import name 'Chatbot' from 'EdgeGPT' HOT 2
- [Bug]: websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 200 when I use the script on a server HOT 7
- [Bug]: run EdgeGPT with flask HOT 3
- [Bug]: AttributeError: “list’ object has no attribute ‘startswith’” HOT 2
- Exception has occurred: Exception Authentication failed. You have not been accepted into the beta. HOT 6
- EdgeGPT可以使用用户名密码登陆吗
- [Bug]: Websocket init, HTTP 101 request, server response HTTP 200 HOT 4
- [Bug]: Invalid Captcha Response HOT 4
- [Bug]: websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 200
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edgegpt.