Skip to content

athenawisdoms/binance-missing-pingpong-keepalive-problem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Missing Ping-pong Keepalive Problem

screenshot

Description

After the app runs for 2-3 minutes, the network error will occur, creating a new websocket connection in the process without destroying the previous one, as shown in Devtool's Network tab.

Connection to wss://stream.binance.com:9443/ws timed out due to a ping-pong keepalive missing on time

App uses only 1 exchange (binance), 1 symbol (ETH/BTC), with one watchOrderbook and one watchTrades running in parallel.

The order book updates can also be visually observed to slow down significantly as the number of duplicate websocket connections increases.

To reproduce:

yarn && yarn start

Distributing this minimal reproducible example in Electron ensures that we are using the same versions of Node and Chromium.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published