Forums

Binance websocket Error

I'm trying to use websocket in my trading bot but I'm getting an error. Now i can't tell if the error is from my code or what....

Please i need help... Thanks...

...................................... ERROR MESSAGE ......................................

Connecting proxy. request header
CONNECT
 
fstream.binance.com: 443 HTTP/1.1
Host: fstream.binance.com:443
response header
HTTP/1.1 403 Forbidden
Server: squid/4.10
Mime-Version: 1.0
Date: Tue, 25 Apr 2023 22:51:55 GMT Content-Type: text/html; charset=utf-8 Content-Length: 815
X-Squid-Error: ERR_ACCESS_DENIED O X-Cache: MISS from blue-euproxy1 X-Cache-Lookup: NONE from blue-euproxy1:3128 Via: 1.1 blue-euproxy1 (squid/4.10) Connection: keep-alive
failed CONNECT via proxy status: 403
error from callback <function on_close at Ox 7f4b96e55870>: on_close() takes 1 positional argument but 3 were given
on_close() takes 1 positional argument but 3 were given

We don't support websockets yet.