Uniswap / Uniswap/unichain-node

Unable to connect to Peers

Open
#4 9 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
204
Forks
108
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the exchanged RPC settings in .env.sepolia and the output from docker logs -f unichain-node-op-node-1. Trace the static-peer connection and discovery configuration that those logs expose, then verify the configuration and network path by confirming that peers connect without dial-backoff or security-protocol errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
infrastructure, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.