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.58k stars 768 forks source link

Docker: Socket connection timeout #889

Open mr-undef opened 1 year ago

mr-undef 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...