Uniswap / unichain-node

Everything required to run your own Unichain node
135 stars 56 forks source link

Unable to connect to Peers #4

Open morismc09 opened 1 month ago

morismc09 commented 1 month ago

I just installed the client and exchanged the RPC information in the .env.sepolia file.

After checking the logs with docker logs -f unichain-node-op-node-1 I received reconnection errors:

t=2024-10-12T18:04:37+0000 lvl=warn msg="error reconnecting to static peer" peer=16Uiu2HAkxzXH4bawcbbGSisqXaf4UM74zqVWcgNF3Rea8RkGQvbQ err="failed to dial 16Uiu2HAkxzXH4bawcbbGSisqXaf4UM74zqVWcgNF3Rea8RkGQvbQ: all dials failed\n  * [/ip4/3.146.117.118/tcp/9222] dial backoff"
t=2024-10-12T18:04:37+0000 lvl=warn msg="error reconnecting to static peer" peer=16Uiu2HAmMzHsX8itYFUiSKg6iukCXuL6w1Zy2eJjpVhKNfBHfLLi err="failed to dial 16Uiu2HAmMzHsX8itYFUiSKg6iukCXuL6w1Zy2eJjpVhKNfBHfLLi: all dials failed\n  * [/ip4/52.15.54.8/tcp/9222] dial backoff"

Also it seems there is another issue saying "failed to negotiate security protocol: EOF":

t=2024-10-12T18:11:03+0000 lvl=info msg="started discovery service" p2p=discv5 enr=enr:-JW4QCZjzwKB1TkBi-_3MZ-jI6lDH8oB24kCWnX3J8nA9MFsMiAy-eOqQMuXd46kX056lNz382QimM0aOL8W5jL7xEyGAZKB7URzgmlkgnY0h29wc3RhY2uDlQoAiXNlY3AyNTZrMaECvUurfh1M3QpvsLOHCeTr2R17PGpLlWEhlc6OLlR0zRGDdGNwgiQGg3VkcIIkBg id=b28b72a08280d6fb0b70013cb43bb82714e584182b80a2fe0070eac0fcd14bed
t=2024-10-12T18:11:03+0000 lvl=info msg="Starting JSON-RPC server"
t=2024-10-12T18:11:03+0000 lvl=info msg="started metrics server" addr=[::]:7300
t=2024-10-12T18:11:03+0000 lvl=info msg="Starting execution engine driver"
t=2024-10-12T18:11:03+0000 lvl=info msg="Starting driver" sequencerEnabled=false sequencerStopped=false
t=2024-10-12T18:11:03+0000 lvl=info msg="Rollup node started"
t=2024-10-12T18:11:03+0000 lvl=info msg="State loop started"
t=2024-10-12T18:11:03+0000 lvl=warn msg="error dialing static peer" peer=16Uiu2HAkxzXH4bawcbbGSisqXaf4UM74zqVWcgNF3Rea8RkGQvbQ err="failed to dial 16Uiu2HAkxzXH4bawcbbGSisqXaf4UM74zqVWcgNF3Rea8RkGQvbQ: all dials failed\n  * [/ip4/3.146.117.118/tcp/9222] failed to negotiate security protocol: EOF"

No peer seems to be working so far. What could be the issue?

datskos commented 1 month ago

Same issue here.

It's very likely that they have set OP_NODE_P2P_STATIC on their end to be whitelisted partners while at the same time setting the max connection limit to len(OP_NODE_P2P_STATIC)

Because of this our unichain-sepolia nodes are always 50-200 blocks behind chain tip.

grafana-unichain

morismc09 commented 1 month ago

Thanks for the info, then I will stop my node. Does not make any sense to run it then.

bgibers commented 1 month ago

Same issue here

doducmanh365 commented 1 month ago

my node is still t=2024-10-14T15:48:49+0000 lvl=info msg="attempting connection" peer=16Uiu2HAmMzHsX8itYFUiSKg6iukCXuL6w1Zy2eJjpVhKNfBHfLLi t=2024-10-14T15:48:49+0000 lvl=info msg="attempting connection" peer=16Uiu2HAkxzXH4bawcbbGSisqXaf4UM74zqVWcgNF3Rea8RkGQvbQ t=2024-10-14T15:48:54+0000 lvl=info msg="attempting connection" peer=16Uiu2HAmMzHsX8itYFUiSKg6iukCXuL6w1Zy2eJjpVhKNfBHfLLi t=2024-10-14T15:48:54+0000 lvl=info msg="attempting connection" peer=16Uiu2HAkxzXH4bawcbbGSisqXaf4UM74zqVWcgNF3Rea8RkGQvbQ t=2024-10-14T15:48:59+0000 lvl=info msg="attempting connection" peer=16Uiu2HAmMzHsX8itYFUiSKg6iukCXuL6w1Zy2eJjpVhKNfBHfLL

Rachel-Eichenberger commented 1 month ago

Due to the overwhelming response, we have a huge number of inbound connections. This is causing difficulty with Peer discovery. We will be working with OP to get this solved as soon as possible. Please have patience.

0xBlackshark commented 1 month ago

My node syncing... Is this normal?

Screenshot 2567-10-16 at 14 49 00
alphachart commented 1 month ago

H

alphachart commented 1 month ago

I just installed the client and exchanged the RPC information in the .env.sepolia file.

After checking the logs with docker logs -f unichain-node-op-node-1 I received reconnection errors:

t=2024-10-12T18:04:37+0000 lvl=warn msg="error reconnecting to static peer" peer=16Uiu2HAkxzXH4bawcbbGSisqXaf4UM74zqVWcgNF3Rea8RkGQvbQ err="failed to dial 16Uiu2HAkxzXH4bawcbbGSisqXaf4UM74zqVWcgNF3Rea8RkGQvbQ: all dials failed\n  * [/ip4/3.146.117.118/tcp/9222] dial backoff"
t=2024-10-12T18:04:37+0000 lvl=warn msg="error reconnecting to static peer" peer=16Uiu2HAmMzHsX8itYFUiSKg6iukCXuL6w1Zy2eJjpVhKNfBHfLLi err="failed to dial 16Uiu2HAmMzHsX8itYFUiSKg6iukCXuL6w1Zy2eJjpVhKNfBHfLLi: all dials failed\n  * [/ip4/52.15.54.8/tcp/9222] dial backoff"

Also it seems there is another issue saying "failed to negotiate security protocol: EOF":

t=2024-10-12T18:11:03+0000 lvl=info msg="started discovery service" p2p=discv5 enr=enr:-JW4QCZjzwKB1TkBi-_3MZ-jI6lDH8oB24kCWnX3J8nA9MFsMiAy-eOqQMuXd46kX056lNz382QimM0aOL8W5jL7xEyGAZKB7URzgmlkgnY0h29wc3RhY2uDlQoAiXNlY3AyNTZrMaECvUurfh1M3QpvsLOHCeTr2R17PGpLlWEhlc6OLlR0zRGDdGNwgiQGg3VkcIIkBg id=b28b72a08280d6fb0b70013cb43bb82714e584182b80a2fe0070eac0fcd14bed
t=2024-10-12T18:11:03+0000 lvl=info msg="Starting JSON-RPC server"
t=2024-10-12T18:11:03+0000 lvl=info msg="started metrics server" addr=[::]:7300
t=2024-10-12T18:11:03+0000 lvl=info msg="Starting execution engine driver"
t=2024-10-12T18:11:03+0000 lvl=info msg="Starting driver" sequencerEnabled=false sequencerStopped=false
t=2024-10-12T18:11:03+0000 lvl=info msg="Rollup node started"
t=2024-10-12T18:11:03+0000 lvl=info msg="State loop started"
t=2024-10-12T18:11:03+0000 lvl=warn msg="error dialing static peer" peer=16Uiu2HAkxzXH4bawcbbGSisqXaf4UM74zqVWcgNF3Rea8RkGQvbQ err="failed to dial 16Uiu2HAkxzXH4bawcbbGSisqXaf4UM74zqVWcgNF3Rea8RkGQvbQ: all dials failed\n  * [/ip4/3.146.117.118/tcp/9222] failed to negotiate security protocol: EOF"

No peer seems to be working so far. What could be the issue?

0xPotatoofdoom commented 1 month ago

The Unichain team has added more bootstrapping p2p servers. If you're still having issues connecting try to pull the latest commit to get the new p2p server information.

P2Polymorph commented 2 weeks ago

UniErr What could cause such an error?