Hi I am working on developing an automated algo using websocket stream using C++ and websocketpp library
I am able to connect to PROD stream i.e. wss://stream.binance.com:9443/ws/ without any issue, however when I am trying to connect to testnet stream i.e. wss://testnet.binance.vision/ws I am getting below error -
[2021-09-28 22:51:34] [error] handle_transport_init received error: TLS handshake timed out
[2021-09-28 22:51:34] [fail] WebSocket Connection 22.214.171.124:443 - “” /ws 0 websocketpp.transport.asio.socket:5 TLS handshake timed out
[2021-09-28 22:51:34] [info] asio async_shutdown error: asio.ssl:336462231 (shutdown while in init)
[2021-09-28 22:51:34] [application] Connection Failed
Is the testnet url and port correct ? If no, which one should I use?