Connection Timeout: NETWORK_EOF_ERROR

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
christiansam
OpenVpn Newbie
Posts: 1
Joined: Sat Feb 02, 2013 9:31 am

Connection Timeout: NETWORK_EOF_ERROR

Post by christiansam » Sat Feb 02, 2013 10:17 am

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

mtrussa
OpenVpn Newbie
Posts: 1
Joined: Fri Mar 22, 2013 1:39 pm

Re: Connection Timeout: NETWORK_EOF_ERROR

Post by mtrussa » Fri Mar 22, 2013 1:42 pm

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

jbove
OpenVpn Newbie
Posts: 2
Joined: Thu May 02, 2013 12:18 pm

Re: Connection Timeout: NETWORK_EOF_ERROR

Post by jbove » Thu May 02, 2013 12:23 pm

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

jbove
OpenVpn Newbie
Posts: 2
Joined: Thu May 02, 2013 12:18 pm

Re: Connection Timeout: NETWORK_EOF_ERROR

Post by jbove » Fri May 03, 2013 7:33 am

Found out more about the cause of this: multiple logged in sessions. You cannot have more than one concurrent OpenVPN sessions.

guru431
OpenVpn Newbie
Posts: 2
Joined: Wed Oct 23, 2013 8:24 am

Re: Connection Timeout: NETWORK_EOF_ERROR

Post by guru431 » Wed Oct 23, 2013 8:39 am

I solved this problem by reducing the size of the key on the server to 128:

Code: Select all

keysize 128

boostpt
OpenVpn Newbie
Posts: 2
Joined: Sun Dec 08, 2013 12:20 am

Re: Connection Timeout: NETWORK_EOF_ERROR

Post by boostpt » Sun Dec 08, 2013 12:33 am

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,

boostpt
OpenVpn Newbie
Posts: 2
Joined: Sun Dec 08, 2013 12:20 am

Re: Connection Timeout: NETWORK_EOF_ERROR

Post by boostpt » Mon Dec 09, 2013 9:24 pm

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.

plopes1960
OpenVpn Newbie
Posts: 5
Joined: Tue Mar 11, 2014 9:29 pm

Re: Connection Timeout: NETWORK_EOF_ERROR

Post by plopes1960 » Thu Mar 13, 2014 11:45 am

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?!?!

boudtech
OpenVpn Newbie
Posts: 1
Joined: Mon Oct 17, 2016 1:54 pm

Re: Connection Timeout: NETWORK_EOF_ERROR

Post by boudtech » Mon Oct 17, 2016 1:57 pm

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.

mulle
OpenVpn Newbie
Posts: 2
Joined: Wed Dec 28, 2016 10:54 am

Re: Connection Timeout: NETWORK_EOF_ERROR

Post by mulle » Wed Dec 28, 2016 10:55 am

jbove wrote:Found out more about the cause of this: multiple logged in sessions. You cannot have more than one concurrent OpenVPN sessions.

mulle
OpenVpn Newbie
Posts: 2
Joined: Wed Dec 28, 2016 10:54 am

Re: Connection Timeout: NETWORK_EOF_ERROR

Post by mulle » Wed Dec 28, 2016 10:57 am

Hi really I couldn't connect this application. Why?

Post Reply