Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid conversion nodeID from Pubkey #18

Open
cortze opened this issue Oct 5, 2023 · 0 comments
Open

Invalid conversion nodeID from Pubkey #18

cortze opened this issue Oct 5, 2023 · 0 comments

Comments

@cortze
Copy link
Collaborator

cortze commented Oct 5, 2023

Description

The crawler seems to be facing edgy cases where the node_id can not be extracted from the node's pubkey

Detailed log of the error:

ragno-ragno-1  | time="2023-10-05T16:26:14Z" level=info msg="closing peering dialer" dialer-id=5024
ragno-ragno-1  | panic: runtime error: invalid memory address or nil pointer dereference
ragno-ragno-1  | [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x8edcae]
ragno-ragno-1  |
ragno-ragno-1  | goroutine 5266 [running]:
ragno-ragno-1  | github.com/ethereum/go-ethereum/p2p/enode.PubkeyToIDV4(0x0)
ragno-ragno-1  |        /ragno/go-ethereum/p2p/enode/urlv4.go:200 +0x4e
ragno-ragno-1  | github.com/cortze/ragno/crawler.(*Peering).connect(_, {{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...}, ...})
ragno-ragno-1  |        /ragno/crawler/peering.go:169 +0x165
ragno-ragno-1  | github.com/cortze/ragno/crawler.(*Peering).Connect(0xc000316080, {{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...}, ...})
ragno-ragno-1  |        /ragno/crawler/peering.go:159 +0xd3
ragno-ragno-1  | github.com/cortze/ragno/crawler.(*Peering).peeringWorker(0xc000316080, 0x0?)
ragno-ragno-1  |        /ragno/crawler/peering.go:151 +0x138
ragno-ragno-1  | created by github.com/cortze/ragno/crawler.(*Peering).Run
ragno-ragno-1  |        /ragno/crawler/peering.go:57 +0xd9
ragno-ragno-1 exited with code 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant