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

Socket bind failed: Address already in use #12

Closed
GoogleCodeExporter opened this issue Mar 19, 2015 · 5 comments
Closed

Socket bind failed: Address already in use #12

GoogleCodeExporter opened this issue Mar 19, 2015 · 5 comments
Labels

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Successfully open a vpn connection
2. Close the connection with the X button in the OpenVPN Log activity
3. Try to connect to a vpn connection again

What is the expected output? What do you see instead?
The second connection attempt gives me the error message
"FATAL:TCP/UDP: Socket bind failed on local address [undef]: Address already in 
use", but it should connect successfully again.

What version of the product are you using? On what operating system?
OpenVPN for Android v0.4.10 on Galaxy Nexus GSM with Android 4.0.4

Please provide any additional information below.
Looks like the socket used by openvpn is not closed correctly when shutting 
down the vpn connection. See log.txt for LogCat log.

Original issue reported on code.google.com by [email protected] on 8 May 2012 at 10:40

Attachments:

@GoogleCodeExporter
Copy link
Author

Killing the app completely helps as a workaround.

PS: This problem was already mentioned in issue 7, didn't read the description 
careful enough, sry for that.

Original comment by [email protected] on 8 May 2012 at 10:50

@GoogleCodeExporter
Copy link
Author

The problem is known, I am working on a fix.

Original comment by [email protected] on 8 May 2012 at 11:01

  • Changed state: Started
  • Added labels: Priority-High
  • Removed labels: Priority-Medium

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Another workaround is to add nobind under custom options.

Original comment by [email protected] on 9 May 2012 at 12:22

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision 77fc89787065.

Original comment by [email protected] on 9 May 2012 at 11:36

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant