jaggedsoft / node-binance-api

Node Binance API is an asynchronous node.js library for the Binance API designed to be easy to use.
MIT License
1.57k stars 767 forks source link

Docker: Socket connection timeout #889

Open undef6 opened 1 year ago

undef6 commented 1 year ago

Problem with getting data via WebSocket protocol when running from a Docker container

# node websocket.js
CombinedStream: Subscribed to [2702503608] bnbbtc@kline_1m
WebSocket error: 2702503608 (ERR_SOCKET_CONNECTION_TIMEOUT) Socket connection timeout
WebSocket closed: 2702503608 (1006)
WebSocket reconnecting: 2702503608...