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

OpenVPN: Tunnel stuck on network down #1177

Open
keeshux opened this issue Feb 17, 2025 · 0 comments
Open

OpenVPN: Tunnel stuck on network down #1177

keeshux opened this issue Feb 17, 2025 · 0 comments
Labels
bug Something isn't working OpenVPN

Comments

@keeshux
Copy link
Member

keeshux commented Feb 17, 2025

Tunnel got stuck indefinitely after shutting down the Wi-Fi hotspot. Reconnected only after changing network, but no messages about data count or ping before.

Image

Can also reproduce by:

  • Connect to VPN via hotspot
  • Open Console to observe PassepartoutTunnel
  • Close Mac until sleep
  • Open Mac, will wake up without network
  • Console is stuck until connecting to a new network
    • Tunnel is "blocked", i.e. await-ing on link write
    • No data count message because it's not a timer, it's logged on data in/out

debug	12:35:03.962516+0100	PassepartoutTunnel	Run ping check
info	12:35:03.962515+0100	PassepartoutTunnel	Cancelled OCCPacket
debug	12:35:03.962686+0100	PassepartoutTunnel	Send ping
debug	12:35:03.962973+0100	PassepartoutTunnel	Updated data count: {in=14044715, out=5037224}
debug	12:35:03.964452+0100	PassepartoutTunnel	AppGroupEnvironment.set(PassepartoutKit.dataCount) -> {in=14044715, out=5037224}

Yep, blocking link write, then after connecting to a network:

error	12:37:20.854224+0100	PassepartoutTunnel	Data: Failed LINK write during send data: Error Domain=NSPOSIXErrorDomain Code=49 "Can't assign requested address"
@keeshux keeshux added bug Something isn't working OpenVPN labels Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working OpenVPN
Projects
None yet
Development

No branches or pull requests

1 participant