ObolNetwork / ObolNetwork/charon
Peers test hanging on self test
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 222
- Forks
- 138
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 35
Description
🐞 Bug Report
Description
When running charon alpha test peers, the test often gets hung up trying to connect to itself ( Ping to peer failed, retrying in 3 sec...) despite knowing the peer ID it is running as. Peer test is probably most useful testing external peers, not the local node. This also seems to affect the score given at the end.
Has this worked before in a previous version?
Not that I can tell.
🔬 Minimal Reproduction
🔥 Error
Ping to peer failed, retrying in 3 sec... {"peer_name": "[MYSELF]"}
🌍 Your Environment
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running charon alpha test peers and tracing the peer-test entry point that handles the [MYSELF] ping failure. Confirm the self peer is identified during testing, then verify that self-testing no longer hangs or lowers the final score while external peer checks still run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100