Deprecated: WebSocket\Base::setLogger(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /home/pshht/bibot/websocket/vendor/textalk/websocket/lib/Base.php on line 71
Deprecated: WebSocket\ConnectionException::__construct(): Implicitly marking parameter $prev as nullable is deprecated, the explicit nullable type must be used instead in /home/pshht/bibot/websocket/vendor/textalk/websocket/lib/ConnectionException.php on line 16
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: Thu, 18 Sep 2025 02:01:01 GMT
X-Cache: Error from cloudfront
Via: 1.1 673d886861bceb7b91087376ca48e9fc.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: LHR61-P4
X-Amz-Cf-Id: dUcHwvo_LwMTetXPsUyEWmgeei84Cvm4gdInQVHZO1LFPTpzBHcZPg==
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