Replies: 5 comments 1 reply
-
No idea why this would happen. Does the same thing happen with older versions using websocket-client rather than aiohttp? |
Beta Was this translation helpful? Give feedback.
-
Don't think is a trouble with aiohttp over old websocket-client ... (aiohttp is very robust and well tested) So I think that the "wss sydney" propably use a cacert that is not known from my hosting provider ... it's probably the root cause ;-( I will see that with my hosting provider ;-( but perhaps, you'll right ... because, in the past ... no trouble of wss handshakes ;-( |
Beta Was this translation helpful? Give feedback.
-
Bingo .... you've right @acheong08 !!!!
it works with "0.8.2" ! and doesn't work after this version ;-( |
Beta Was this translation helpful? Give feedback.
-
@acheong08 Can you point me on some big changes between 0.8.2 and the latest, which could be the source of this trouble (403/handshake) ? |
Beta Was this translation helpful? Give feedback.
-
@acheong08 I've tested on another machine (my desktop/ubuntu) so it's very specific to me (my hosting provider config and edgegpt >0.8.2) |
Beta Was this translation helpful? Give feedback.
-
Hi @acheong08 , I think I've found something : we'll need to dive in.
On a same machine (py 3.10.7 under Debian GNU/Linux 10 (buster))
I've built a simple command line to make an interaction with edgegpt
If I call this, thru console : it works as expected, in all cases
and print the json from bing (as excpected !)
If I call it from a webserver loop (on the same machine, in a starlette context) like that :
it will never work ... raising :
So, clearly ... there is something, in edgegpt, or lower layers (aio ?) which seems to be wrong, and break the context ...
any idea ?
Beta Was this translation helpful? Give feedback.
All reactions