Jump to content
Not connected, Your IP: 44.223.36.100
rparkinson

Unable to connect - IPv6 - error code 1

Recommended Posts

Hi,

I am unable to connect to an AirVPN server. It appears to be an issue with the IPv6 route.

I get the following error:

"OpenVPN > ERROR: Windows route add ipv6 command failed: returned error code 1"

I have not changed any settings etc so I do not understand why this is now happening. I have attached my logs for a typical connection attempt below.

Any help would be really appreciated. Thanks.

. 2020.09.06 17:43:38 - Eddie version: 2.18.9 / windows_x64, System: Windows, Name: Windows 10 Pro, Version: Microsoft Windows NT 10.0.18363.0, Mono/.Net: v4.0.30319
. 2020.09.06 17:43:38 - Command line arguments (1): path="home"
. 2020.09.06 17:43:39 - Profile path: C:\Users\User\AppData\Local\Eddie\default.profile
. 2020.09.06 17:43:39 - Reading options from C:\Users\User\AppData\Local\Eddie\default.profile
. 2020.09.06 17:43:44 - Tun Driver - 0901: 9.24.2; wintun: Not found
. 2020.09.06 17:43:44 - OpenVPN - Version: 2.4.8 - OpenSSL 1.1.0l  10 Sep 2019, LZO 2.10 (C:\Program Files\AirVPN\openvpn.exe)
. 2020.09.06 17:43:44 - SSH - Version: plink 0.67 (C:\Program Files\AirVPN\plink.exe)
. 2020.09.06 17:43:44 - SSL - Version: stunnel 5.40 (C:\Program Files\AirVPN\stunnel.exe)
. 2020.09.06 17:43:44 - curl - Version: 7.68.0 (C:\Program Files\AirVPN\curl.exe)
I 2020.09.06 17:43:49 - Ready
. 2020.09.06 17:43:51 - Collect information about AirVPN completed
I 2020.09.06 17:43:53 - Session starting.
I 2020.09.06 17:43:54 - Checking authorization ...
! 2020.09.06 17:43:56 - Connecting to Piscium (Netherlands, Alblasserdam)
. 2020.09.06 17:43:57 - OpenVPN > OpenVPN 2.4.8 i686-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Oct 31 2019
. 2020.09.06 17:43:57 - OpenVPN > Windows version 6.2 (Windows 8 or greater) 64bit
. 2020.09.06 17:43:57 - OpenVPN > library versions: OpenSSL 1.1.0l  10 Sep 2019, LZO 2.10
. 2020.09.06 17:43:57 - OpenVPN > Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
. 2020.09.06 17:43:57 - OpenVPN > Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
. 2020.09.06 17:43:57 - OpenVPN > Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
. 2020.09.06 17:43:57 - OpenVPN > Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
. 2020.09.06 17:43:57 - OpenVPN > TCP/UDP: Preserving recently used remote address: [AF_INET]134.19.179.133:443
. 2020.09.06 17:43:57 - OpenVPN > Socket Buffers: R=[65536->262144] S=[65536->262144]
. 2020.09.06 17:43:57 - OpenVPN > UDP link local: (not bound)
. 2020.09.06 17:43:57 - OpenVPN > UDP link remote: [AF_INET]134.19.179.133:443
. 2020.09.06 17:43:57 - OpenVPN > TLS: Initial packet from [AF_INET]134.19.179.133:443, sid=b248de45 08b98354
. 2020.09.06 17:43:57 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2020.09.06 17:43:57 - OpenVPN > VERIFY KU OK
. 2020.09.06 17:43:57 - OpenVPN > Validating certificate extended key usage
. 2020.09.06 17:43:57 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2020.09.06 17:43:57 - OpenVPN > VERIFY EKU OK
. 2020.09.06 17:43:57 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=Piscium, emailAddress=info@airvpn.org
. 2020.09.06 17:43:58 - OpenVPN > Control Channel: TLSv1.2, cipher TLSv1.2 DHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
. 2020.09.06 17:43:58 - OpenVPN > [Piscium] Peer Connection Initiated with [AF_INET]134.19.179.133:443
. 2020.09.06 17:43:59 - OpenVPN > SENT CONTROL [Piscium]: 'PUSH_REQUEST' (status=1)
. 2020.09.06 17:43:59 - OpenVPN > PUSH: Received control message: 'PUSH_REPLY,comp-lzo no,redirect-gateway ipv6 def1 bypass-dhcp,dhcp-option DNS 10.34.70.1,dhcp-option DNS6 fde6:7a:7d20:1e46::1,tun-ipv6,route-gateway 10.34.70.1,topology subnet,ping 10,ping-restart 60,ifconfig-ipv6 fde6:7a:7d20:1e46::1091/64 fde6:7a:7d20:1e46::1,ifconfig 10.34.70.147 255.255.255.0,peer-id 0,cipher AES-256-GCM'
. 2020.09.06 17:43:59 - OpenVPN > Pushed option removed by filter: 'redirect-gateway ipv6 def1 bypass-dhcp'
. 2020.09.06 17:43:59 - OpenVPN > Pushed option removed by filter: 'dhcp-option DNS6 fde6:7a:7d20:1e46::1'
. 2020.09.06 17:43:59 - OpenVPN > OPTIONS IMPORT: timers and/or timeouts modified
. 2020.09.06 17:43:59 - OpenVPN > OPTIONS IMPORT: compression parms modified
. 2020.09.06 17:43:59 - OpenVPN > OPTIONS IMPORT: --ifconfig/up options modified
. 2020.09.06 17:43:59 - OpenVPN > OPTIONS IMPORT: route-related options modified
. 2020.09.06 17:43:59 - OpenVPN > OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
. 2020.09.06 17:43:59 - OpenVPN > OPTIONS IMPORT: peer-id set
. 2020.09.06 17:43:59 - OpenVPN > OPTIONS IMPORT: adjusting link_mtu to 1625
. 2020.09.06 17:43:59 - OpenVPN > OPTIONS IMPORT: data channel crypto options modified
. 2020.09.06 17:43:59 - OpenVPN > Data Channel: using negotiated cipher 'AES-256-GCM'
. 2020.09.06 17:43:59 - OpenVPN > Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
. 2020.09.06 17:43:59 - OpenVPN > Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
. 2020.09.06 17:43:59 - OpenVPN > interactive service msg_channel=0
. 2020.09.06 17:43:59 - OpenVPN > ROUTE_GATEWAY 192.168.1.1/255.255.255.0 I=4 HWADDR=60:67:20:a4:a4:08
. 2020.09.06 17:43:59 - OpenVPN > GDG6: remote_host_ipv6=n/a
. 2020.09.06 17:43:59 - OpenVPN > NOTE: GetBestInterfaceEx returned error: Element not found.   (code=1168)
. 2020.09.06 17:43:59 - OpenVPN > ROUTE6: default_gateway=UNDEF
. 2020.09.06 17:43:59 - OpenVPN > open_tun
. 2020.09.06 17:44:01 - OpenVPN > TAP-WIN32 device [Local Area Connection 2] opened: \\.\Global\{FD7A8A25-7551-4D89-BBCF-6043FCC5F5A3}.tap
. 2020.09.06 17:44:01 - OpenVPN > TAP-Windows Driver Version 9.24
. 2020.09.06 17:44:01 - OpenVPN > Set TAP-Windows TUN subnet mode network/local/netmask = 10.34.70.0/10.34.70.147/255.255.255.0 [SUCCEEDED]
. 2020.09.06 17:44:01 - OpenVPN > Notified TAP-Windows driver to set a DHCP IP/netmask of 10.34.70.147/255.255.255.0 on interface {FD7A8A25-7551-4D89-BBCF-6043FCC5F5A3} [DHCP-serv: 10.34.70.254, lease-time: 31536000]
. 2020.09.06 17:44:01 - OpenVPN > Successful ARP Flush on interface [30] {FD7A8A25-7551-4D89-BBCF-6043FCC5F5A3}
. 2020.09.06 17:44:01 - OpenVPN > NETSH: C:\WINDOWS\system32\netsh.exe interface ipv6 set address interface=30 fde6:7a:7d20:1e46::1091 store=active
. 2020.09.06 17:44:03 - OpenVPN > add_route_ipv6(fde6:7a:7d20:1e46::/64 -> fde6:7a:7d20:1e46::1091 metric 0) dev Local Area Connection 2
. 2020.09.06 17:44:03 - OpenVPN > C:\WINDOWS\system32\netsh.exe interface ipv6 add route fde6:7a:7d20:1e46::/64 interface=30 fe80::8 store=active
. 2020.09.06 17:44:03 - OpenVPN > env_block: add PATH=C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
. 2020.09.06 17:44:10 - OpenVPN > TEST ROUTES: 1/1 succeeded len=0 ret=1 a=0 u/d=up
. 2020.09.06 17:44:10 - OpenVPN > C:\WINDOWS\system32\route.exe ADD 134.19.179.133 MASK 255.255.255.255 192.168.1.1
. 2020.09.06 17:44:10 - OpenVPN > ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=50 and dwForwardType=4
. 2020.09.06 17:44:10 - OpenVPN > Route addition via IPAPI succeeded [adaptive]
. 2020.09.06 17:44:10 - OpenVPN > C:\WINDOWS\system32\route.exe ADD 0.0.0.0 MASK 128.0.0.0 10.34.70.1
. 2020.09.06 17:44:10 - OpenVPN > ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=25 and dwForwardType=4
. 2020.09.06 17:44:10 - OpenVPN > Route addition via IPAPI succeeded [adaptive]
. 2020.09.06 17:44:10 - OpenVPN > C:\WINDOWS\system32\route.exe ADD 128.0.0.0 MASK 128.0.0.0 10.34.70.1
. 2020.09.06 17:44:10 - OpenVPN > ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=25 and dwForwardType=4
. 2020.09.06 17:44:10 - OpenVPN > Route addition via IPAPI succeeded [adaptive]
. 2020.09.06 17:44:10 - OpenVPN > add_route_ipv6(::/3 -> fde6:7a:7d20:1e46::1 metric -1) dev Local Area Connection 2
. 2020.09.06 17:44:10 - OpenVPN > C:\WINDOWS\system32\netsh.exe interface ipv6 add route ::/3 interface=30 fe80::8 store=active
. 2020.09.06 17:44:10 - OpenVPN > env_block: add PATH=C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
. 2020.09.06 17:44:11 - OpenVPN > add_route_ipv6(2000::/4 -> fde6:7a:7d20:1e46::1 metric -1) dev Local Area Connection 2
. 2020.09.06 17:44:11 - OpenVPN > C:\WINDOWS\system32\netsh.exe interface ipv6 add route 2000::/4 interface=30 fe80::8 store=active
. 2020.09.06 17:44:11 - OpenVPN > env_block: add PATH=C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
. 2020.09.06 17:44:12 - OpenVPN > add_route_ipv6(3000::/4 -> fde6:7a:7d20:1e46::1 metric -1) dev Local Area Connection 2
. 2020.09.06 17:44:12 - OpenVPN > C:\WINDOWS\system32\netsh.exe interface ipv6 add route 3000::/4 interface=30 fe80::8 store=active
. 2020.09.06 17:44:12 - OpenVPN > env_block: add PATH=C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
E 2020.09.06 17:44:12 - OpenVPN > ERROR: Windows route add ipv6 command failed: returned error code 1
. 2020.09.06 17:44:12 - OpenVPN > add_route_ipv6(fc00::/7 -> fde6:7a:7d20:1e46::1 metric -1) dev Local Area Connection 2
. 2020.09.06 17:44:12 - OpenVPN > C:\WINDOWS\system32\netsh.exe interface ipv6 add route fc00::/7 interface=30 fe80::8 store=active
. 2020.09.06 17:44:12 - OpenVPN > env_block: add PATH=C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
E 2020.09.06 17:44:14 - OpenVPN > ERROR: Windows route add ipv6 command failed: returned error code 1
. 2020.09.06 17:44:15 - Interface Local Area Connection 2 metric changed from Automatic to 3, layer IPv4
. 2020.09.06 17:44:15 - Interface Local Area Connection 2 metric changed from Automatic to 3, layer IPv6
. 2020.09.06 17:44:17 - Routes, added a new route, 134.19.179.131 for gateway 10.34.70.1
. 2020.09.06 17:44:18 - Routes, added a new route, 2a00:1678:2470:aaaa:dd14:325d:9d13:57fa for gateway fde6:7a:7d20:1e46::1
. 2020.09.06 17:44:18 - Flushing DNS
I 2020.09.06 17:44:19 - Checking route IPv4
I 2020.09.06 17:44:19 - Checking route IPv6
. 2020.09.06 17:44:40 - curl: (28) Connection timed out after 20011 milliseconds
. 2020.09.06 17:44:40 - Checking route (2° try)
. 2020.09.06 17:45:02 - curl: (28) Connection timed out after 20001 milliseconds
. 2020.09.06 17:45:02 - Checking route (3° try)
. 2020.09.06 17:45:24 - curl: (28) Connection timed out after 20016 milliseconds
E 2020.09.06 17:45:24 - Checking route IPv6 failed.
. 2020.09.06 17:45:24 - OpenVPN > Initialization Sequence Completed
! 2020.09.06 17:45:24 - Disconnecting
. 2020.09.06 17:45:25 - Routes, removed a route previously added, 134.19.179.131 for gateway 10.34.70.1
. 2020.09.06 17:45:27 - Routes, removed a route previously added, 2a00:1678:2470:aaaa:dd14:325d:9d13:57fa for gateway fde6:7a:7d20:1e46::1
. 2020.09.06 17:45:27 - Sending soft termination signal
. 2020.09.06 17:45:30 - OpenVPN > SIGTERM received, sending exit notification to peer
. 2020.09.06 17:45:33 - OpenVPN > C:\WINDOWS\system32\route.exe DELETE 134.19.179.133 MASK 255.255.255.255 192.168.1.1
. 2020.09.06 17:45:33 - OpenVPN > Route deletion via IPAPI succeeded [adaptive]
. 2020.09.06 17:45:33 - OpenVPN > C:\WINDOWS\system32\route.exe DELETE 0.0.0.0 MASK 128.0.0.0 10.34.70.1
. 2020.09.06 17:45:33 - OpenVPN > Route deletion via IPAPI succeeded [adaptive]
. 2020.09.06 17:45:33 - OpenVPN > C:\WINDOWS\system32\route.exe DELETE 128.0.0.0 MASK 128.0.0.0 10.34.70.1
. 2020.09.06 17:45:33 - OpenVPN > Route deletion via IPAPI succeeded [adaptive]
. 2020.09.06 17:45:33 - OpenVPN > delete_route_ipv6(::/3)
. 2020.09.06 17:45:33 - OpenVPN > C:\WINDOWS\system32\netsh.exe interface ipv6 delete route ::/3 interface=30 fe80::8 store=active
. 2020.09.06 17:45:33 - OpenVPN > env_block: add PATH=C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
. 2020.09.06 17:45:34 - OpenVPN > delete_route_ipv6(2000::/4)
. 2020.09.06 17:45:34 - OpenVPN > C:\WINDOWS\system32\netsh.exe interface ipv6 delete route 2000::/4 interface=30 fe80::8 store=active
. 2020.09.06 17:45:34 - OpenVPN > env_block: add PATH=C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
. 2020.09.06 17:45:35 - OpenVPN > Closing TUN/TAP interface
. 2020.09.06 17:45:35 - OpenVPN > delete_route_ipv6(fde6:7a:7d20:1e46::/64)
. 2020.09.06 17:45:35 - OpenVPN > C:\WINDOWS\system32\netsh.exe interface ipv6 delete route fde6:7a:7d20:1e46::/64 interface=30 fe80::8 store=active
. 2020.09.06 17:45:36 - Sending hard termination signal
. 2020.09.06 17:45:36 - Connection terminated.
. 2020.09.06 17:45:38 - Interface Local Area Connection 2 metric restored from 3 to Automatic, layer IPv4
. 2020.09.06 17:45:38 - Interface Local Area Connection 2 metric restored from 3 to Automatic, layer IPv6
I 2020.09.06 17:45:41 - Cancel requested.
! 2020.09.06 17:45:41 - Session terminated.



 

Share this post


Link to post

You are the second one I see with exactly the same thing recently. Error when setting, then failing to check v6 routes. There is no solution yet. Workaround is disabling v6 for now, of course (Preferences > Networking > Set Layer IPv6 to Block).

You can upload or paste the support file here if you're overly bored (Logs tab > lifebelt icon), but I don't think it will help much.


NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

As pointed out, this is not a fix, but a workaround. The actual cause is unknown, as is the solution, so please stay tuned.


NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

Got the same error message today. Didn't change any settings.
Blocking IPv6 worked but would be nice to figure out what the problem is. 

. 2020.10.01 10:59:55 - Eddie version: 2.18.9 / windows_x64, System: Windows, Name: Windows 10 Home, Version: Microsoft Windows NT 10.0.18363.0, Mono/.Net: v4.0.30319
. 2020.10.01 11:00:13 - Tun Driver - 0901: 9.24.2; wintun: Not found
. 2020.10.01 11:00:13 - OpenVPN - Version: 2.4.8 - OpenSSL 1.1.0l  10 Sep 2019, LZO 2.10 (C:\Program Files\AirVPN\openvpn.exe)
[...]
E 2020.10.01 11:02:08 - OpenVPN > ERROR: Windows route add ipv6 command failed: returned error code 1


 

Share this post


Link to post
52 minutes ago, Equityc said:

. 2020.10.01 11:00:13 - Tun Driver - 0901: 9.24.2; wintun: Not found

Do you have a Wintun adapter installed? It does not seem to be there...Check
Edit: If you want/expect better speeds switch to Wintun. Changed the buffer size yet?

Share this post


Link to post

I am now getting the same error message. Has there been a fix for this or we still using the Band-Aid for now?

Share this post


Link to post
On 9/6/2020 at 9:16 PM, OpenSourcerer said:

As pointed out, this is not a fix, but a workaround. The actual cause is unknown, as is the solution, so please stay tuned.


Hello!

The actual official cause is lack of IPv6 support either at system level or in any of the network interfaces, including the tun/tap one. It has been verified several times. Should you find cases for which IPv6 layer needs a block inside Eddie preferences even when IPv6 is fully supported by the system and is enabled on all network interfaces, including TAP-Windows or wintun, please report to Clodo.

Kind regards
 

Share this post


Link to post

I've been using Eddie 2.20 for many months flawlessly, and yet I just tried to connect to a server and I got the same message.
OpenVPN > ERROR: Windows route
add ipv6 command failed: returned
error code 1

I certainly haven't changed anything (I really don't know how!)

I should add that the previous message by Staff utterly and completely goes over my head, and I haven't a clue as to what or who Clodo is.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...