Fatal error: Uncaught WebSocket\ConnectionException: Connection to 'wss://stream-testnet.bybit.com/realtime_private' failed: Server sent invalid upgrade response: HTTP/1.1 502 Bad Gateway
Content-Type: text/html
Content-Length: 122
Connection: close
Server: awselb/2.0
Date: Sun, 28 Apr 2024 17:24:02 GMT
X-Cache: Error from cloudfront
Via: 1.1 e2b64644cdf0d895a1660adff04dfa18.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: LHR62-C2
X-Amz-Cf-Id: vLgm33jR4tE3FYCuctkxwFrfzpq_0q28J71DhQkaDcYx0e4wDGwzBA==
in /home/pshht/bibot/websocket/vendor/textalk/websocket/lib/Client.php:196
Stack trace:
#0 /home/pshht/bibot/websocket/vendor/textalk/websocket/lib/Base.php(79): WebSocket\Client->connect()
#1 /home/pshht/bibot/copybybitsuscribe.php(28): WebSocket\Base->send('{"op":"auth","a...')
#2 {main}
thrown in /home/pshht/bibot/websocket/vendor/textalk/websocket/lib/Client.php on line 196