- Tcp recv eof openvpn android
- Клиент не подключается к OpenVPN
- Tcp recv eof openvpn android
- «Transport error on \’xxx.xxx.xxx.xxx: NETWORK_EOF_ERROR» #69
- Comments
- Richard1202 commented Jun 1, 2018
- OpenVPN Support Forum
- [Resolved] NETWORK_EOF_ERROR (transport error)
- [Resolved] NETWORK_EOF_ERROR (transport error)
- Re: NETWORK_EOF_ERROR (transport error)
- Re: NETWORK_EOF_ERROR (transport error)
- Re: NETWORK_EOF_ERROR (transport error)
- Re: NETWORK_EOF_ERROR (transport error)
- OpenVPN Support Forum
- Connection Timeout: NETWORK_EOF_ERROR
- Connection Timeout: NETWORK_EOF_ERROR
- Re: Connection Timeout: NETWORK_EOF_ERROR
- Re: Connection Timeout: NETWORK_EOF_ERROR
- Re: Connection Timeout: NETWORK_EOF_ERROR
- Re: Connection Timeout: NETWORK_EOF_ERROR
- Re: Connection Timeout: NETWORK_EOF_ERROR
- Re: Connection Timeout: NETWORK_EOF_ERROR
- Re: Connection Timeout: NETWORK_EOF_ERROR
Tcp recv eof openvpn android
Бесплатный чек-лист
по настройке RouterOS
на 28 пунктов
Клиент не подключается к OpenVPN
09:22:44.403 — —— OpenVPN Start ——
09:22:44.404 — EVENT: CORE_THREAD_ACTIVE
09:22:44.418 — Frame=512/2048/512 mssfix-ctrl=1250
09:22:44.435 — UNUSED OPTIONS
5 [resolv-retry] [infinite]
6 [nobind]
7 [persist-key]
8 [persist-tun]
10 [verb] [3]
09:22:44.436 — EVENT: RESOLVE
09:22:44.443 — Contacting ххх.ххх.ххх.ххх:1194 via TCP
09:22:44.444 — EVENT: WAIT
09:22:44.560 — Connecting to [ххх.ххх.ххх.ххх]:1194 (ххх.ххх.ххх.ххх) via TCPv4
09:22:44.719 — EVENT: CONNECTING
09:22:44.832 — Tunnel Options:V4,dev-type tun,link-mtu 1559,tun-mtu 1500,proto TCPv4_CLIENT,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client
09:22:44.837 — Creds: Username/Password
09:22:44.842 — Peer Info:
IV_GUI_VER=OC30Android
IV_VER=3.2
IV_PLAT=android
IV_NCP=2
IV_TCPNL=1
IV_PROTO=2
IV_AUTO_SESS=1
09:22:46.600 — VERIFY OK : depth=0
cert. version : 3
serial number : 01
issuer name : C=RU, ST=STA, L=Stavropol, O=Company, OU=server, CN=server, ??=server, emailAddress=mail@mail.ru
subject name : C=RU, ST=STA, L=Stavropol, O=Company, OU=server, CN=server, ??=server, emailAddress=mail@mail.ru
issued on : 2018-07-10 11:48:50
expires on : 2028-07-07 11:48:50
signed using : RSA with SHA-256
RSA key size : 4096 bits
basic constraints : CA=false
cert. type : SSL Server
key usage : Digital Signature, Key Encipherment
ext key usage : TLS Web Server Authentication
09:22:47.910 — TCP recv EOF
09:22:47.917 — Transport Error: Transport error on ‘ххх.ххх.ххх.ххх: NETWORK_EOF_ERROR
09:22:47.926 — EVENT: TRANSPORT_ERROR info=’Transport error on ‘ххх.ххх.ххх.ххх: NETWORK_EOF_ERROR’
09:22:47.935 — Client terminated, restarting in 5000 ms..
Источник
Tcp recv eof openvpn android
Sun Jun 25, 2017 11:25 pm
Good afternoon. At me the following problem — openvpn does not work on devices with operating system IOS. In doing so, everything works on other operating systems including (MacOS). In this case, this situation is observed only if the certificates were generated in Mikrotik. If you import keys created into linux into it, everything works fine. First he gave such a mistake.
2017-06-25 01:43:04 EVENT: CORE_ERROR PolarSSL: error parsing config private key : PKCS5 — Requested encryption or digest alg not available [ERR]
How I figured this out was because the microphone encrypts the private key with a format that does not support iOS.
[root@ip-172-31-14-92 centos]# openssl asn1parse -in 1_cert_export_test-client-ovpn-12.key
0:d=0 hl=4 l=1311 cons: SEQUENCE
4:d=1 hl=2 l= 73 cons: SEQUENCE
6:d=2 hl=2 l= 9 prim: OBJECT BES2
17:d=2 hl=2 l= 60 cons: SEQUENCE
19:d=3 hl=2 l= 27 cons: SEQUENCE
21:d=4 hl=2 l= 9 prim: OBJECT BKDF2
32:d=4 hl=2 l= 14 cons: SEQUENCE
34:d=5 hl=2 l= 8 prim: OCTET STRING [HEX DUMP]:249CA7FCEC409541
44:d=5 hl=2 l= 2 prim: INTEGER :0800
48:d=3 hl=2 l= 29 cons: SEQUENCE
50:d=4 hl=2 l= 9 prim: OBJECT :aes-256-cbc
61:d=4 hl=2 l= 16 prim: OCTET STRING [HEX DUMP]:0A3C812B3F915210ADB830EC58C43845
On Linux such a conclusion.
[root@ip-172-31-14-92 centos]# openssl asn1parse -in client_07.key
0:d=0 hl=4 l=1294 cons: SEQUENCE
4:d=1 hl=2 l= 64 cons: SEQUENCE
6:d=2 hl=2 l= 9 prim: OBJECT BES2
17:d=2 hl=2 l= 51 cons: SEQUENCE
19:d=3 hl=2 l= 27 cons: SEQUENCE
21:d=4 hl=2 l= 9 prim: OBJECT BKDF2
32:d=4 hl=2 l= 14 cons: SEQUENCE
34:d=5 hl=2 l= 8 prim: OCTET STRING [HEX DUMP]:12700371E88C41C2
44:d=5 hl=2 l= 2 prim: INTEGER :0800
48:d=3 hl=2 l= 20 cons: SEQUENCE
50:d=4 hl=2 l= 8 prim: OBJECT :des-ede3-cbc
After my manipulations, the algorithms coincided. But there was another mistake.
2017-06-25 23:01:56 Client exception in transport_recv_excode: PolarSSL: SSL read error : SSL — Processing of the Certificate handshake message failed
I ask to help with the decision of the given problem.
Источник
«Transport error on \’xxx.xxx.xxx.xxx: NETWORK_EOF_ERROR» #69
Comments
Richard1202 commented Jun 1, 2018
My PacketTunnelProvider is like this.
guard
let fileContent = providerConfiguration[ProviderConfigurationKey.fileContent] as? Data,
let caRef = providerConfiguration[ProviderConfigurationKey.caRef] as? Data,
let userCertificateRef = providerConfiguration[ProviderConfigurationKey.userCertificateRef] as? Data,
let userKeyRef = providerConfiguration[ProviderConfigurationKey.userKeyRef] as? Data
else <
preconditionFailure(«fileContent, certificates and a key should be provided to the tunnel provider»)
>
guard
let ca = String(data: caRef, encoding: .utf8)?.replacingOccurrences(of: «\n», with: «\n»),
let userCertificate = String(data: userCertificateRef, encoding: .utf8)?.replacingOccurrences(of: «\n», with: «\n»),
let userKey = String(data: userKeyRef, encoding: .utf8)?.replacingOccurrences(of: «\n», with: «\n»)
else <
fatalError(«Failed to retrieve certificates and a user key from keychain»)
>
// Create representation of the OpenVPN configuration. Other properties such as connection timeout or
// private key password aslo may be provided there.
let vpnConfiguration = OpenVPNConfiguration().then <
$0.fileContent = fileContent
$0.settings = [
«ca» : ca,
«cert» : userCertificate,
«key» : userKey
]
>
// Apply OpenVPN configuration
let properties: OpenVPNProperties
do <
properties = try vpnAdapter.apply(configuration: vpnConfiguration)
> catch <
completionHandler(error)
return
>
Then I go this error. Please let me know why this error happened.
The text was updated successfully, but these errors were encountered:
Источник
OpenVPN Support Forum
Community Support Forum
[Resolved] NETWORK_EOF_ERROR (transport error)
[Resolved] NETWORK_EOF_ERROR (transport error)
Post by hey_aj » Sat Aug 26, 2017 11:25 am
Have been using OpenVPN on 3 different iOS devices for weeks without issues. Yesterday, all 3 encountered the same issue- my iPad and iPhone here on business travel in Australia, my wife’s iPhone back home in the US. Doesn’t matter if on cell data or wifi. Key problem seems to be a transport error per the log below. Client status toggles between «waiting for server» and «transport pause» before timing out. Had wife reboot our asus router but did not resolve. Grateful for any assistance.
2017-08-26 20:59:26 EVENT: RESOLVE
2017-08-26 20:59:26 Contacting 24.9.69.17:443 via TCP
2017-08-26 20:59:26 EVENT: WAIT
2017-08-26 20:59:26 SetTunnelSocket returned 1
2017-08-26 20:59:27 Connecting to [xxxx.asuscomm.com]:443 (24.9.69.17) via TCPv4
2017-08-26 20:59:27 TCP recv EOF
2017-08-26 20:59:27 Transport Error: Transport error on ‘xxxx.asuscomm.com: NETWORK_EOF_ERROR
2017-08-26 20:59:27 EVENT: TRANSPORT_ERROR Transport error on ‘xxxx.asuscomm.com: NETWORK_EOF_ERROR [ERR]
2017-08-26 20:59:27 Client terminated, restarting in 5000 ms.
2017-08-26 20:59:27 NET Internet:ReachableViaWiFi/-R t——
2017-08-26 20:59:30 RECONNECT TEST: Internet:ReachableViaWiFi/-R t——
2017-08-26 20:59:30 Client terminated, reconnecting in 1.
2017-08-26 20:59:31 EVENT: RECONNECTING
2017-08-26 20:59:31 EVENT: RESOLVE
2017-08-26 20:59:31 Contacting 24.9.69.17:443 via TCP
2017-08-26 20:59:31 EVENT: WAIT
2017-08-26 20:59:31 SetTunnelSocket returned 1
2017-08-26 20:59:31 Connecting to [xxxx.asuscomm.com]:443 (24.9.69.17) via TCPv4
2017-08-26 20:59:32 TCP recv EOF
2017-08-26 20:59:32 Transport Error: Transport error on ‘xxxx.asuscomm.com: NETWORK_EOF_ERROR
2017-08-26 20:59:32 EVENT: TRANSPORT_ERROR Transport error on ‘xxxx.asuscomm.com: NETWORK_EOF_ERROR [ERR]
2017-08-26 20:59:32 Client terminated, restarting in 5000 ms.
2017-08-26 20:59:35 RECONNECT TEST: Internet:ReachableViaWiFi/-R t——
2017-08-26 20:59:35 Client terminated, reconnecting in 1.
2017-08-26 20:59:36 EVENT: RECONNECTING
2017-08-26 20:59:36 EVENT: RESOLVE
2017-08-26 20:59:36 Contacting 24.9.69.17:443 via TCP
2017-08-26 20:59:36 EVENT: WAIT
2017-08-26 20:59:36 SetTunnelSocket returned 1
2017-08-26 20:59:36 Connecting to [xxxx.asuscomm.com]:443 (24.9.69.17) via TCPv4
2017-08-26 20:59:36 TCP recv EOF
2017-08-26 20:59:36 Transport Error: Transport error on ‘xxxx.asuscomm.com: NETWORK_EOF_ERROR
2017-08-26 20:59:36 EVENT: TRANSPORT_ERROR Transport error on ‘xxxx.asuscomm.com: NETWORK_EOF_ERROR [ERR]
2017-08-26 20:59:36 Client terminated, restarting in 5000 ms.
2017-08-26 20:59:39 RECONNECT TEST: Internet:ReachableViaWiFi/-R t——
2017-08-26 20:59:39 Client terminated, reconnecting in 1.
2017-08-26 20:59:40 EVENT: RECONNECTING
2017-08-26 20:59:40 EVENT: RESOLVE
2017-08-26 20:59:40 Contacting 24.9.69.17:443 via TCP
2017-08-26 20:59:40 EVENT: WAIT
2017-08-26 20:59:40 SetTunnelSocket returned 1
2017-08-26 20:59:40 Connecting to [xxxx.asuscomm.com]:443 (24.9.69.17) via TCPv4
2017-08-26 20:59:41 TCP recv EOF
2017-08-26 20:59:41 Transport Error: Transport error on ‘xxxx.asuscomm.com: NETWORK_EOF_ERROR
2017-08-26 20:59:41 EVENT: TRANSPORT_ERROR Transport error on ‘xxxx.asuscomm.com: NETWORK_EOF_ERROR [ERR]
2017-08-26 20:59:41 Client terminated, restarting in 5000 ms.
2017-08-26 20:59:41 EVENT: DISCONNECTED
2017-08-26 20:59:41 Raw stats on disconnect:
BYTES_OUT : 64
PACKETS_OUT : 4
NETWORK_EOF_ERROR : 4
TRANSPORT_ERROR : 4
N_RECONNECT : 3
2017-08-26 20:59:41 Performance stats on disconnect:
CPU usage (microseconds): 21531
Network bytes per CPU second: 2972
Tunnel bytes per CPU second: 0
Re: NETWORK_EOF_ERROR (transport error)
Post by TinCanTech » Sat Aug 26, 2017 1:45 pm
Re: NETWORK_EOF_ERROR (transport error)
Post by hey_aj » Mon Aug 28, 2017 8:31 am
Sure, two follow-up questions:
1) I assume you are referring to the log on my router, in which case I will need to check when I return home as I am currently remote
2) Any suggestion as to what I am looking for or what the issue is? Or, just generic guidance to check the log?
Re: NETWORK_EOF_ERROR (transport error)
Post by TinCanTech » Mon Aug 28, 2017 12:17 pm
You need to verify that a connection attempt was made and what went wrong.
Re: NETWORK_EOF_ERROR (transport error)
Post by klanimantsi » Tue Sep 05, 2017 10:06 am
Источник
OpenVPN Support Forum
Community Support Forum
Connection Timeout: NETWORK_EOF_ERROR
Connection Timeout: NETWORK_EOF_ERROR
Post by christiansam » Sat Feb 02, 2013 10:17 am
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 ‘ ‘: 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
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.
Re: Connection Timeout: NETWORK_EOF_ERROR
Post by jbove » Thu May 02, 2013 12:23 pm
Re: Connection Timeout: NETWORK_EOF_ERROR
Post by jbove » Fri May 03, 2013 7:33 am
Re: Connection Timeout: NETWORK_EOF_ERROR
Post by guru431 » Wed Oct 23, 2013 8:39 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?
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.
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).
Источник