-
Notifications
You must be signed in to change notification settings - Fork 4.5k
gossip responder error: Invalid argument #8151
Comments
@pgarg66 - can you please get to the bottom of this log warning. Perhaps it's just a message that should be suppressed if it's not actually interesting. I've seen this message show up on my nodes at various times as well |
@mvines it seems the error would occur when gossip is trying to reply to a peer with dest IP 0, and port 0. Looking thru the code, these are the two places where it can originate from solana/core/src/cluster_info.rs Line 1255 in 0d5c123
solana/core/src/cluster_info.rs Line 1298 in 0d5c123
In these scenarios, the error is not fatal. We can either check the dest IP/port before sending the response (i.e. drop it if the IP/Port is 0/0), or we can suppress the warning. @sagar-solana any thoughts? |
Dropping a response to 0.0.0.0/0 makes sense to me. I think I'd rather do that then suppress the warning, as the warning is telling us that something weird is happening (sending a response to 0.0.0.0/0 that is!) |
Sounds good to me. I'll push a PR sometime today. Meanwhile, @sagar-solana , LMK if my assertion doesn't look correct. |
That looks correct. I think the problem is that for some reason gossip is working with invalid addresses. Gossip shouldn't be working with peers it can't reach. We see them in the output from spy as well. |
Problem
Invalid Argument errors in the log:
strace yields this:
fd 3 is SOCK_DGRAM so I would expect dest_addr to not be zero:
The text was updated successfully, but these errors were encountered: