Calindra / nonodo

Development Node for Cartesi Rolups
Apache License 2.0
14 stars 14 forks source link

WSS connection randomly drops #80

Closed fabiooshiro closed 2 months ago

fabiooshiro commented 2 months ago

I've been having an issue with Nonodo and I thought you'd be able to help. I'm using nonodo pointing to Sepolia using an Alchemy WSS endpoint. The problem is that after a while the WSS connection randomly drops, and Nonodo dies with a message like this one:

[23:56:51.280] WRN supervisor: worker exitted with error worker=inputter error="websocket: close 1006 (abnormal closure): unexpected EOF"

This message happened after several hours of inactivity (no new advances).

fabiooshiro commented 2 months ago

How to Reproduce:

  1. Start Anvil:

    anvil
  2. Open a new terminal and run the following command:

    ./nonodo --rpc-url ws://localhost:8545 --contracts-input-box-block 55709713 --enable-debug
  3. On the Anvil terminal, press Ctrl+C, and you will see a similar error.

fabiooshiro commented 2 months ago

https://github.com/Calindra/nonodo/pull/81

fabiooshiro commented 2 months ago

Closing