Ropsten websocket do not emit newHeads

Hi,

This problem started to happen just this morning, so around 15 hours ago. The ropsten endpoint for WS stopped emitting newHead events. However listening to Logs for a specific contract works well. Mainnet doesn’t have this problem.

➜ wscat -c wss://ropsten.infura.io/ws/v3/2b464c8b8ac14f9a8aaf13c62eceef9e
Connected (press CTRL+C to quit)

{“jsonrpc”:“2.0”, “id”: 13, “method”: “eth_subscribe”, “params”: [“newHeads”]}
< {“jsonrpc”:“2.0”,“id”:13,“result”:“0x1”}
wait for hours – no data.

Is this because of the reorg that happened today? Although nodes say that they are fully synced. Also RPC call to eth_getBlockByNumber returns the latest block and any other. Could you please help?

1 Like

@yellowred Can you confirm that it’s working now? You may need to reconnect your websockets.

Hi @shazow, it works now! Thank you very much for a prompt response!

Awesome, happy to hear it! :slight_smile:

1 Like