TUN Read Error: asio.system error | Connect and Desconnect after a minute

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
moraes
OpenVpn Newbie
Posts: 2
Joined: Fri Oct 21, 2022 3:05 am

TUN Read Error: asio.system error | Connect and Desconnect after a minute

Post by moraes » Tue Oct 25, 2022 7:27 pm

Hi, I'm having a problem with only one teammate using OpenVPN for Windows. All the team is using the same profile with the same version of Client VPN.
He can connect to the VPN but after a minute he disconnects with the following error message: "Authentication Failed"
Can anyone tell me what is happening?
Thanks!
---------
No Proxys
No Firewalls rules
----- OpenVPN Client version ---
openvpn-connect-3.3.6.2752_signed.msi
----- OS Information --- :
Edición Windows 10 Pro
Versión 21H1
installed on ‎15-‎11-‎2021
OS compilation 19043.2130
Experiencia Windows Feature Experience Pack 120.2212.4180.0
---- in log file------
TAP ADAPTERS:
guid='{818620A7-9968-41B4-83A7-21511CA7AD02}' index=7 name='Conexión de área local'
Open TAP device "Conexión de área local" PATH="\\.\Global\{818620A7-9968-41B4-83A7-21511CA7AD02}.tap" SUCCEEDED
TAP-Windows Driver Version 9.24
ActionDeleteAllRoutesOnInterface iface_index=7
netsh interface ip set interface 7 metric=1
Aceptar
netsh interface ip set address 7 static 192.168.61.130 255.255.255.128 gateway=192.168.61.129 store=active
IPHelper: add route 180.184.127.182/32 7 192.168.61.129 metric=-1
IPHelper: add route 192.168.56.64/28 7 192.168.61.129 metric=-1
IPHelper: add route 192.168.60.0/22 7 192.168.61.129 metric=-1
IPHelper: add route 192.168.60.0/22 7 192.168.61.129 metric=-1
cannot modify route: error 5010
ipconfig /flushdns
Configuración IP de Windows
Se vació correctamente la caché de resolución de DNS.
TAP: ARP flush succeeded
TAP handle: a40d000000000000
⏎[Oct 19, 2022, 18:22:16] Connected via TUN_WIN
⏎[Oct 19, 2022, 18:22:16] EVENT: CONNECTED claudio.xxxxx@xxxxxxx.xx@17ffda60be83.br-sao.vpn-server.appdomain.cloud:443 (13.116.91.83) via /UDPv4 on TUN_WIN/192.168.61.130/ gw=[192.168.61.129/]⏎[Oct 19, 2022, 18:22:23] TUN Read Error: asio.system error
⏎[Oct 19, 2022, 18:22:23] TUN Error: TUN I/O error
⏎[Oct 19, 2022, 18:22:23] EVENT: TUN_ERROR TUN I/O error⏎[Oct 19, 2022, 18:22:23] Client terminated, restarting in 5000 ms...
⏎[Oct 19, 2022, 18:22:23] SetupClient: signaling tun destroy event
⏎[Oct 19, 2022, 18:22:28] EVENT: RECONNECTING ⏎[Oct 19, 2022, 18:22:28] EVENT: RESOLVE ⏎[Oct 19, 2022, 18:22:28] Contacting 13.116.91.83:443 via UDP
⏎[Oct 19, 2022, 18:22:28] EVENT: WAIT ⏎[Oct 19, 2022, 18:22:28] WinCommandAgent: transmitting bypass route to 13.116.91.83
{
"host" : "13.116.91.83",
"ipv6" : false
}

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1333
Joined: Tue Feb 16, 2021 10:41 am

Re: TUN Read Error: asio.system error | Connect and Desconnect after a minute

Post by openvpn_inc » Tue Oct 25, 2022 7:39 pm

Hello moraes,

To be honest, not sure. I am seeing an ASIO system read error about the virtual network device used to transport VPN data. Seems there is a problem communicating with that. I do not know what can cause that, as I have not seen this error before.

I would suggest as an alternative solution for this one user to install OpenVPN GUI (part of OpenVPN2 installation package for Windows) and use that client instead, to see if that works correctly. Even if it doesn't, it provides another data point. If it does work, then at least you have a solution now for this one particular user.

It almost sounds like the virtual network adapter is being influenced by some external program. Are you using any other programs that can incorporate OpenVPN support? There are some Internet security programs that include a copy of OpenVPN as well, and they tend to mess with virtual network drivers too. Could be a cause of the problem.

Kind regards,
Johan
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

moraes
OpenVpn Newbie
Posts: 2
Joined: Fri Oct 21, 2022 3:05 am

Re: TUN Read Error: asio.system error | Connect and Desconnect after a minute

Post by moraes » Tue Oct 25, 2022 9:55 pm

Thank you Johan. I'll test it with OpenVPN GUI and then I'll return the feedback.

fedearce
OpenVpn Newbie
Posts: 1
Joined: Tue Jul 11, 2023 11:22 pm

Re: TUN Read Error: asio.system error | Connect and Desconnect after a minute

Post by fedearce » Tue Jul 11, 2023 11:24 pm

Hi! anyone found a solution to this issue? When I installed theh client, it worked fine, but after a day it started doing the same... :roll:

Post Reply