Amirale47 / ics-openvpn

Automatically exported from code.google.com/p/ics-openvpn
0 stars 0 forks source link

Socket bind failed: Address already in use #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 EXTAl...@gmail.com on 8 May 2012 at 10:40

Attachments:

GoogleCodeExporter commented 9 years ago
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 EXTAl...@gmail.com on 8 May 2012 at 10:50

GoogleCodeExporter commented 9 years ago
The problem is known, I am working on a fix.

Original comment by arne@rfc2549.org on 8 May 2012 at 11:01

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Another workaround is to add nobind under custom options.

Original comment by arne@rfc2549.org on 9 May 2012 at 12:22

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 77fc89787065.

Original comment by arne@rfc2549.org on 9 May 2012 at 11:36