Hi,
We have a bug that started yesterday (May 16th) at 15:31 UTC. The CPU usage and network throughput on our servers started increasing linearly all night (and today too). We tracked down the bug to Infura’s websocket spamming pings.
Steps to reproduce:
- Run
wscat -c wss://polygon-amoy.infura.io/ws/v3/REDACTED -w 999999 -P
- Wait ~1min
Expected result:
Nothing
Obtained result:
The console starts spamming in a loop:
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""
< Received ping (data: ""