-
Notifications
You must be signed in to change notification settings - Fork 188
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
Innernet fails with "Decode error occurred: Failed to parse message with type 16" #303
Comments
I've now looked a bit more into it. This happens when calling get_local_addrs and the error comes from https://github.com/rust-netlink/netlink-packet-core/blob/91e71b69fe8d94a8ae7e2748b0443272c6c3307c/src/message.rs#L116. |
@odrling thanks for the investigation. What is |
It's a Kubernetes implementation https://github.com/k3s-io/k3s |
Interesting. Could it be affecting kernel's netlink responses somehow? Maybe they are then extended with some virtualization/namespace/cgroup info then? |
I experience the same issue and it started after k3s installation. Stopping k3s service does not help |
After looking more into it, it seems to be related to this upstream issue rust-netlink/netlink-packet-route#54 Upgrading to 0.18+ probably would fix this but they changed the API with 0.18 it seems, so it's not just a flip of a switch. |
the update did not solve the problem for me:
Is there anything I can troubleshoot? I also run k3s on that server |
@Santonclause sorry for a captain obvious question, but are you using recent-enough build from git (unfortunately |
@strohel , I've used the 1.6.1 release from here https://github.com/tonarino/innernet/releases and built from it. I assume this is not correct then? Should I just clone the main and build from source there? |
@Santonclause Yes, you should try cloning the repo and building from the I used k3s as a test when I wrote the fix so you should not be running into this error with a build from |
thank you @odrling! Yes, I just rebuilt from main branch and the issue was fixed. Thank you for the contribution! |
The interface is still set up correctly by innernet (or at least it seems to work and I hope I'm not missing something, but the hosts are still
ping
able).NOTE: this also happens with no options set in the command line, that's just the command I've taken straight from my service file.
innernet show
also fails with just this error:innernet fetch
doesn't consider the interface to be up.The issue seems to have appeared on my server after a kernel update (a vendored SBC kernel 5.10 → 6.8 mainline) and a friend also got this error after an update to Alpine Linux 3.19 (so it would be 6.1 → 6.6).
The text was updated successfully, but these errors were encountered: