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

failed to marshal BlockResponse, dropping request (…) max slice length exceeded #2454

Closed
jzu opened this issue Dec 9, 2023 · 0 comments · Fixed by ava-labs/coreth#423
Closed
Assignees
Labels
bug Something isn't working

Comments

@jzu
Copy link

jzu commented Dec 9, 2023

I don't know if it's a bug, but a strange error message appeared in my logs.

Dec 09 16:52:07 avalanche avalanchego[897756]: ERROR[12-09|16:52:07.864] <C Chain> github.com/ava-labs/coreth/sync/handlers/block_request.go:114: failed to marshal BlockResponse, dropping request nodeID=NodeID-NPV9unFf23BdzC9SSm6fwHf8YbxAEGstQ requestID=80658 hash=7ba034..0b44f4 parents=32 blocksLen=20 err="max slice length exceeded; slice length, 285886, exceeds maximum length, 262144

I don't usually worry too much about random error messages, but a user saw roughly the same message earlier today and was told to post it here. However he had already zapped his database: https://discord.com/channels/578992315641626624/620633143002660874/1183001117584523375

His message was:
<C Chain> github.com/ava-labs/coreth/sync/client/client.go:354: could not validate response, retrying nodeID=NodeID-5zP7p1nk2KnAL4SHvgFWcF9Xei3Q13CC3 attempt=0 request="BlockRequest(Hash=0x7ba03488fd86250c9fb4541fc131b8deecb423a335182f4852418df3120b44f4, Height=38780768, Parents=32)" err="failed to unmarshal response: couldn't unpack codec version"

I did see these "couldn't unpack" messages too, while syncing a new database.

Dec 07 11:44:39 avalanche avalanchego[787695]: INFO [12-07|11:44:39.531] <C Chain> github.com/ava-labs/coreth/sync/client/client.go:354: could not validate response, retrying nodeID=NodeID-2BSvxuZFVVSpjrezuABMPvC6cLMwH8TT8 attempt=1 request="BlockRequest(Hash=0x074726e2513f5cf8a297391d6ccd6a22220b25ecd2438fcebc3ac3a83b8f4efa, Height=38731584, Parents=32)" err="failed to unmarshal response: couldn't unpack codec version"

Running a binary (avalanchego-installer.sh) version of avalanchego 1.10.17 on Ubuntu 20.04.6 LTS (Focal Fossa)

@jzu jzu added the bug Something isn't working label Dec 9, 2023
@darioush darioush self-assigned this Dec 18, 2023
@darioush darioush moved this from Backlog 🗄️ to In Review 👀 in Platform Engineering Group Dec 18, 2023
@github-project-automation github-project-automation bot moved this from In Review 👀 to Done ✅ in Platform Engineering Group Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants