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

Connection gets stuck on Inactive if switching hosts without disconnecting first #129

Closed
digitalec opened this issue Jan 28, 2020 · 7 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@digitalec
Copy link

digitalec commented Jan 28, 2020

I’ve been working on troubleshooting a couple of OpenVPN servers and I came across an intermittent issue.

While connected to VPN A, if I switch to VPN B and enable it without first disconnecting from the previous host, the status shows Disconnecting then Inactive. At this point I would expect it to automatically connect to VPN B. Sometimes it will but more often than not it will either stay on Inactive until I manually press Reconnect or the app will crash entirely.

This is the debug log after I switched hosts and it got stuck on Inactive:

Failed LINK read: Error Domain=NSPOSIXErrorDomain Code=89 "Operation canceled"
10:52:02 - Socket state is cancelled (endpoint: xx.xx.xx.xx:1194 -> xx.xx.xx.xx:1194)
10:52:02 - Cleaning up...
10:52:02 - Tunnel did stop on request
10:52:02 - Flushing log...

Passepartout 1.10.1 (2263)
iOS 13.3

@keeshux keeshux added the bug Something isn't working label Jan 28, 2020
@keeshux keeshux added this to the 1.10.2 milestone Jan 28, 2020
@keeshux keeshux self-assigned this Jan 28, 2020
@keeshux
Copy link
Member

keeshux commented Feb 27, 2020

@digitalec I remember I had tested and confirmed the issue, but now I can't reproduce it anymore. Can you? How often are you having it?

@digitalec
Copy link
Author

I was able to reproduce it every time until I changed the default gateway to Manual and selected only IPv4.

I’m on T-Mobile which is the reason I have to use that setting or else I can’t communicate to any of my local IPv4 addresses. Of course this redirects all traffic through the VPN but I think this requires me to setup IPv6 on my LAN to fix.

@keeshux
Copy link
Member

keeshux commented Feb 27, 2020

Nope, I don't see a relation there. I think it's rather a matter of how long it takes to disconnect. We'll see.

@keeshux
Copy link
Member

keeshux commented Feb 27, 2020

@digitalec please send me an email to beta@passepartoutvpn.app so that I can invite you to TestFlight. There's a chance this might have been fixed as a consequence of fixing #128 and I'd like you to test it, given that I don't experience the issue. Thanks!

@digitalec
Copy link
Author

Email sent

@keeshux
Copy link
Member

keeshux commented Feb 28, 2020

However on a second thought I'm pretty sure it won't fix this.

@keeshux
Copy link
Member

keeshux commented Apr 6, 2020

Closing this for inactivity (and not reproducible).

@keeshux keeshux closed this as completed Apr 6, 2020
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
None yet
Development

No branches or pull requests

2 participants