Page 1 of 1
Connection Timeout: NETWORK_EOF_ERROR
Posted: Sat Feb 02, 2013 10:17 am
by christiansam
Hi!
I have problems connecting with openvpn connect (ios) to my openvpn server. Before any crypto-stuff can get handled out, it breaks up with the following message:
---
logfile:
EVENT: CONNECTIONG
Tunnel Options: ...
Peer Info: ...
...
TCP recv EOF
Transport Error: Transport error on '<xxx>': NETWORK _EOF_ERROR
Client terminated, restarting in 2...
EVENT: RECONNECTING
----
Authentifcation mode is set to TLS with KEY CERT and CA generated by the easy-rsa utility. Except for changing auth-mode to something else I I tried (nearly) every possible mix of client-configration setting, without any success. My client-conf is based on sample-file, provided in windows openvpn package and works well with linux, windows and android openvpn clients.
Can't tell you exactly which version of the openvpn server I use, it is included in an alternative firmware for Linksys' WRT54G/GL routers, please see:
http://tomatovpn.keithmoyer.com/
Best regards,
christian
Re: Connection Timeout: NETWORK_EOF_ERROR
Posted: Fri Mar 22, 2013 1:42 pm
by mtrussa
Exactly thesame problem here!
Having a look on the server side it seems the connection never reach the server!
Dns resolution is fine (I see it in logs) but Connection Timeout: NETWORK_EOF_ERROR suddenly appears.
Are we missing something?
The same configuration works fine on Openvpn Connect on android.
Mat
Re: Connection Timeout: NETWORK_EOF_ERROR
Posted: Thu May 02, 2013 12:23 pm
by jbove
Hate to add another "me to" reply, but I'm having the same issue.
The connection seems fine after first packet received, then the count down of the time since last packet received reaches <6, the connection resets.
- Using OpenVPN Connect Android Client 1.1.11 (build 44)
- Galaxy Nexus Android 4.2.2
- VPN protocol: Adaptive
- "Connection timeout": "continuously retry"
- Compression: off
- Seamless tunnel: on
Re: Connection Timeout: NETWORK_EOF_ERROR
Posted: Fri May 03, 2013 7:33 am
by jbove
Found out more about the cause of this: multiple logged in sessions. You cannot have more than one concurrent OpenVPN sessions.
Re: Connection Timeout: NETWORK_EOF_ERROR
Posted: Wed Oct 23, 2013 8:39 am
by guru431
I solved this problem by reducing the size of the key on the server to 128:
Re: Connection Timeout: NETWORK_EOF_ERROR
Posted: Sun Dec 08, 2013 12:33 am
by boostpt
I made a reset to my primary router and
now the ddwrt have the same problem.
I don't know why, I didn't touch the ddwrt
configs at all. But I'm facing this problem.
When I use the internal connection (192.168.x.x)
I can connect to the server , but when I use
The Internet with my external ip, it doesn't work.
I have all configured: noip; port forward on my
primary router.... All worked fine before the router reset.
You fix the error just by adding the keysize
text on the server config, or you made
something else?
Did you creat other CRT or key file or something Else?
Best regards,
Re: Connection Timeout: NETWORK_EOF_ERROR
Posted: Mon Dec 09, 2013 9:24 pm
by boostpt
I've figured it out.
In my case it has nothing to do with keysize
My primary router was not properly configured.
It has several options for port forwarding.
And it wasn't correctly configured.
Work like a charm now.
Re: Connection Timeout: NETWORK_EOF_ERROR
Posted: Thu Mar 13, 2014 11:45 am
by plopes1960
I have exactly the same log problem when I try to conect from my iPad (openvpn client) to my router (openvpn server).
when I try with udp protocol
Code: Select all
2014-03-12 23:34:58 EVENT: RECONNECTING
2014-03-12 23:34:58 LZO-ASYM init swap=0 asym=0
2014-03-12 23:34:58 EVENT: RESOLVE
2014-03-12 23:34:58 Contacting 21X.22.XXX.XXX:1194 via UDP
2014-03-12 23:34:58 EVENT: WAIT
2014-03-12 23:34:58 Connecting to mydns.dyndns.org:1194 (21X.22.XXX.XXX) via UDPv4
2014-03-12 23:35:08 Server poll timeout, trying next remote entry...
2014-03-12 23:35:08 EVENT: RECONNECTING
2014-03-12 23:35:08 LZO-ASYM init swap=0 asym=0
2014-03-12 23:35:08 EVENT: RESOLVE
2014-03-12 23:35:08 Contacting 21X.22.XXX.XXX:1194 via UDP
2014-03-12 23:35:08 EVENT: WAIT
2014-03-12 23:35:08 Connecting to mydns.dyndns.org:1194 (21X.22.XXX.XXX) via UDPv4
2014-03-12 23:35:17 EVENT: DISCONNECTED
when I try with tcp protocol
Code: Select all
2014-03-12 16:16:46 EVENT: RECONNECTING
2014-03-12 16:16:46 LZO-ASYM init swap=0 asym=0
2014-03-12 16:16:46 EVENT: RESOLVE
2014-03-12 16:16:46 Contacting XXX.XXX.147.121:1194 via TCP
2014-03-12 16:16:46 EVENT: WAIT
2014-03-12 16:16:46 Connecting to mydns.dyndns.org:1194 (XXX.XXX.147.121) via TCPv4
2014-03-12 16:16:46 TCP recv EOF
2014-03-12 16:16:46 Transport Error: Transport error on 'mydns.dyndns.org: NETWORK_EOF_ERROR
2014-03-12 16:16:46 Client terminated, restarting in 2...
2014-03-12 16:16:48 EVENT: RECONNECTING
2014-03-12 16:16:48 LZO-ASYM init swap=0 asym=0
2014-03-12 16:16:48 EVENT: RESOLVE
2014-03-12 16:16:48 Contacting XXX.XXX.147.121:1194 via TCP
2014-03-12 16:16:48 EVENT: WAIT
2014-03-12 16:16:48 Connecting to mydns.dyndns.org:1194 (XXX.XXX.147.121) via TCPv4
2014-03-12 16:16:48 TCP recv EOF
2014-03-12 16:16:48 Transport Error: Transport error on 'mydns.dyndns.org: NETWORK_EOF_ERROR
2014-03-12 16:16:48 Client terminated, restarting in 2...
any help?!?!
Re: Connection Timeout: NETWORK_EOF_ERROR
Posted: Mon Oct 17, 2016 1:57 pm
by boudtech
jbove wrote:Found out more about the cause of this: multiple logged in sessions. You cannot have more than one concurrent OpenVPN sessions.
+1
Now all is Ok! I can confirm:
Only ONE session at the same time can be UP with the same cert.
Re: Connection Timeout: NETWORK_EOF_ERROR
Posted: Wed Dec 28, 2016 10:55 am
by mulle
jbove wrote:Found out more about the cause of this: multiple logged in sessions. You cannot have more than one concurrent OpenVPN sessions.
Re: Connection Timeout: NETWORK_EOF_ERROR
Posted: Wed Dec 28, 2016 10:57 am
by mulle
Hi really I couldn't connect this application. Why?