Closed eforce67 closed 2 months ago
Hi @eforce67
I'll have a look into this. However, I do not think that this is related to using Linux as I develop the library on Linux without any issues (usually). Have you tried getting a fresh cookie for your Linux sessions? Also, I've sometimes experienced this error when running the test suite and usually waiting and rerunning seems to fix the issue.
Hey @vsakkas , I didn't try out cookies because my goal was to get responses from BingChat with many proxies. And so far while running my code many times, I have not yet achieved a state where the code randomly runs despite previous failure.
However all this works fine on windows 10. I'm going to see if it works on a different server although.
Unfortunately it doesn't work for me in Ubuntu - 22.04 either due to the same error
This is challenging to debug, because I cannot reproduce this issue on my Linux machine. Problem is, I cannot use the library without cookies, possibly due to being in a different region, so it's harder to replicate the setup that introduces this issue.
I've released v0.16.1
which uses additional headers when creating a connection to Bing Chat, including the Origin
header. It might help with the current issue, although that's not guaranteed.
Other ideas that come to mind are: 1) Wait and rerun. 2) Try a different server. 3) Try a different proxy or check your proxy configuration.
I will let you know if I come up with anything better!
Made the same error
Hi @vsakkas , I am encountering the same error. It works on my laptop (Windows 10 and Ubuntu), but it does not work on the AWS EC2 instance in the Oregon region.
@vsakkas is it working for you on linux server ?
@vsakkas is it working for you on linux server ?
Hi @IKDH Yes, I do all the development and testing on Linux, haven't encountered any consistent websocket issues. I will see if I can reproduce this issue though
Thank you for you answer ! Linux on a computer or on a server like AWS ?
thank you for the advice. Succeeded!
Hello, I have been using your library to retrieve responses from Bing's chat. And your library was successful on Windows 10 without any errors. However, when using the same script I ran on Windows, it gave me the following error. Any ideas on what may be going on?