-
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
macOS: peers inaccessible after long uptime #283
Comments
I think @goodhoko might have had a similar issue. Though for him "long uptime" was just minutes, so not sure if the same cause. |
My problem may be just me not using innernet correctly. IDK why (I think someone told me it's fine to) but I used to ctrl+c the It adds to this confusion that the network works fine while Unrelated to this issue, but maybe we could either make I'm on mac with wireguard-go. |
It definitely behaves differently for me: I can Ctrl+C it right after
and the network stays up, most/all peers connected (just probably misses some NAT traversal oportunities, but that's a corner-case). Linux, kernel-space wireguard here. |
@goodhoko that happens to me too, I think like you said we just need to handle SIGINT more intelligently. I'll open a separate issue for that, because this is a whole different beast... |
Unfortunately I haven't found the root cause yet, but occasionally innernet on macOS will get into a state where peers are no longer accessible, and
innernet up
doesn't fix the problem if you don't doinnernet down
before hand to reset all the states/tunnels.The test innernet subnet is
fd00:1337::/48
.I just hit this condition, so dumping some debug output here for later investigation.
tldr: at first glance, the routes and interfaces look normal, but I can't even ping my local wireguard IP via the loopback interface (
lo0
). Something is weird.netstat -rn
output:WireGuard information
The text was updated successfully, but these errors were encountered: