You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I packed an ASP.NET application that consumes HuobiSocketClient into Docker image and hosted it locally using docker-compose. The same code works well outside of Docker. Also, REST API forks well from Docker. The issue is only with WSS connection.
Same approach work successfully with other exchanges from CryptoExchange.Net EXCEPT: Huobi, Kucoin, OKX
To Reproduce
Just try to establish socket connection from Docker container.
Describe the bug
I packed an ASP.NET application that consumes
HuobiSocketClient
into Docker image and hosted it locally using docker-compose. The same code works well outside of Docker. Also, REST API forks well from Docker. The issue is only with WSS connection.To Reproduce
Just try to establish socket connection from Docker container.
docker-compose.yml
Some code from
program.cs
Expected behavior
Connection should be established successfully.
Debug logging
Error while establishing connection:
{"Code":null,"Message":"Can't connect to the server","Data":null}
The text was updated successfully, but these errors were encountered: