After installing the latest Windows 11 update I am no longer able to connect to our Pritunl server. When I click connect the client asks for my authenticator passcode and after clicking connect I see the status briefly showing “Connecting” followed by “Disconnected” If I look at my network adapters on the system I have noticed that Pritunl creates two new adapters every time I click connect in the client. I have tried uninstalling and reinstalling the Pritunl client. Below are the logs from a single convection.
I have installed the generic OpenVPN client and appears to be functioning properly.
Any help would be appreciated.
Thanks,
Mat
[2023-02-11 11:09:58][INFO] ▶ profile: Connecting ◆ disable_gateway=false ◆ dynamic_firewall=false ◆ mode="ovpn" ◆ profile_id="f27b16c141d176f9" ◆ reconnect=true ◆ sso_auth=false
[2023-02-11 11:09:58][ERRO] ▶ utils: Process exec error ◆ arg=[]string{"create", "--name", "Pritunl 1"} ◆ cmd="C:\\Program Files (x86)\\Pritunl\\tuntap\\tapctl.exe" ◆ output="tap_set_adapter_name: Error renaming adapter\r\nError 0xc0000005\r\nRenaming TUN/TAP adapter {E5D63920-74E6-4893-8EB0-6BEF8120C06F} to \"Pritunl 1\" failed (error 0xc0000005).\r\n"
utils: Failed to exec 'C:\Program Files (x86)\Pritunl\tuntap\tapctl.exe'
exit status 1
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.ExecCombinedOutputLogged
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/utils/proc.go:237 +0x58b22b
github.com/pritunl/pritunl-client-electron/service/tuntap.Resize
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/tuntap/tuntap.go:104 +0x5a99f8
github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).startOvpn
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1284 +0x5bbb6e
github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).Start
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1231 +0x5bab24
github.com/pritunl/pritunl-client-electron/service/handlers.profilePost.func1
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/handlers/profile.go:99 +0x5d2d29
runtime.goexit
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0xe71e0
[2023-02-11 11:09:58][ERRO] ▶ utils: Process exec error ◆ arg=[]string{"delete", "Pritunl 1"} ◆ cmd="C:\\Program Files (x86)\\Pritunl\\tuntap\\tapctl.exe" ◆ output="\"Pritunl 1\" adapter not found.\r\n"
utils: Failed to exec 'C:\Program Files (x86)\Pritunl\tuntap\tapctl.exe'
exit status 1
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.ExecCombinedOutputLogged
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/utils/proc.go:237 +0x58b22b
github.com/pritunl/pritunl-client-electron/service/tuntap.Resize
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/tuntap/tuntap.go:111 +0x5a9aa6
github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).startOvpn
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1284 +0x5bbb6e
github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).Start
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1231 +0x5bab24
github.com/pritunl/pritunl-client-electron/service/handlers.profilePost.func1
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/handlers/profile.go:99 +0x5d2d29
runtime.goexit
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0xe71e0
[2023-02-11 11:09:59][ERRO] ▶ utils: Process exec error ◆ arg=[]string{"create", "--name", "Pritunl 1"} ◆ cmd="C:\\Program Files (x86)\\Pritunl\\tuntap\\tapctl.exe" ◆ output="tap_set_adapter_name: Error renaming adapter\r\nError 0xc0000005\r\nRenaming TUN/TAP adapter {87749E87-C6AF-4B2B-88E4-D1568E3E66F1} to \"Pritunl 1\" failed (error 0xc0000005).\r\n"
utils: Failed to exec 'C:\Program Files (x86)\Pritunl\tuntap\tapctl.exe'
exit status 1
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.ExecCombinedOutputLogged
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/utils/proc.go:237 +0x58b22b
github.com/pritunl/pritunl-client-electron/service/tuntap.Resize
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/tuntap/tuntap.go:120 +0x5a9b26
github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).startOvpn
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1284 +0x5bbb6e
github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).Start
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1231 +0x5bab24
github.com/pritunl/pritunl-client-electron/service/handlers.profilePost.func1
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/handlers/profile.go:99 +0x5d2d29
runtime.goexit
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0xe71e0
[2023-02-11 11:09:59][INFO] ▶ profile: Disconnecting ◆ profile_id="f27b16c141d176f9"
[2023-02-11 11:10:00][INFO] ▶ profile: Disconnected ◆ profile_id="f27b16c141d176f9"
[2023-02-11 11:10:00][ERRO] ▶ handlers: Handler error
handler: Start error
utils: Failed to exec 'C:\Program Files (x86)\Pritunl\tuntap\tapctl.exe'
exit status 1
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.ExecCombinedOutputLogged
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/utils/proc.go:237 +0x58b22b
github.com/pritunl/pritunl-client-electron/service/tuntap.Resize
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/tuntap/tuntap.go:120 +0x5a9b26
github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).startOvpn
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1284 +0x5bbb6e
github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).Start
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1231 +0x5bab24
github.com/pritunl/pritunl-client-electron/service/handlers.profilePost.func1
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/handlers/profile.go:99 +0x5d2d29
runtime.goexit
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0xe71e0
This text will be hidden
zach
February 11, 2023, 7:25pm
2
Follow the Microsoft Visual C++ 2015 Redistributable instructions to manually install the library.
I already had Microsoft Visual C++ 2015 Redistributable installed. I did uninstall it and reinstall it. No change.
Mat
zach
February 11, 2023, 11:07pm
4
I’m not able to reproduce this issue, are you using a beta version of Windows?
No I’m not. I just did a fresh install of windows 10 in a VM, updated it and install PT Client, and it appears to be working fine. There are 3 PT connections on the VM, PriTunel 1, PriTunl 2, and PriTunl 3. On the the computer with the issue it names them Local Area Connection 1, 2, 3. If I rename them to PriTunel 1, 2, and so on PT client will remove them when I try to start a connection and add new interfaces Calle Local Area Connection 1,2 and so on. So weird.
Mat
zach
February 11, 2023, 11:39pm
6
The client will create named network interfaces and remove any TUN adapter with Pritunl in the name then recreate them when the service starts. This is done to fix issues with network adapters being in a broken state.
It seems weird for whatever reason that the new interfaces created are not named properly. If there isn’t anything obvious as to why this is happening, I will probably just wipe the system and rebuild. Figured I would ask first.
Mat
zach
February 11, 2023, 11:49pm
8
Based on the logs it appears to be failing when renaming the adapter. The program will first create the adapter then rename it. When the client is uninstalled it removes all TUN adapters with any name, this will allow clearing these adapters.
Well, I think I will just reinstall the OS and go from there. Thanks for your help.
Mat
Hi, I have the same issue.
My vpn stopped the connection. I reinstall the Pritunl client, TAP adapter, etc…But the issue persists.
In client logs, I have the message bellow:
[2023-2-14 12:6:5][INFO] Profiles: Skipping profile sync, requires subscription
In Service logs, this message:
[2023-02-14 12:06:08][INFO] ▶ profile: Connecting ◆ disable_gateway=false ◆ dynamic_firewall=false ◆ mode="ovpn" ◆ profile_id="3e0755eccbe53dcd" ◆ reconnect=true ◆ sso_auth=false
[2023-02-14 12:06:08][ERRO] ▶ utils: Process exec error ◆ arg=[]string{"create", "--name", "Pritunl 1"} ◆ cmd="C:\\Program Files (x86)\\Pritunl\\tuntap\\tapctl.exe" ◆ output="tap_create_adapter: DiInstallDevice failed\r\nError 0xe0000203\r\nCreating TUN/TAP adapter failed (error 0xe0000203).\r\n"
utils: Failed to exec 'C:\Program Files (x86)\Pritunl\tuntap\tapctl.exe'
exit status 1
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.ExecCombinedOutputLogged
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/utils/proc.go:237 +0x134ac0b
github.com/pritunl/pritunl-client-electron/service/tuntap.Resize
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/tuntap/tuntap.go:104 +0x1368dd8
github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).startOvpn
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1284 +0x137af4e
github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).Start
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1231 +0x1379f04
github.com/pritunl/pritunl-client-electron/service/handlers.profilePost.func1
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/handlers/profile.go:99 +0x1392029
runtime.goexit
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0xea71e0
[2023-02-14 12:06:08][ERRO] ▶ utils: Process exec error ◆ arg=[]string{"delete", "Pritunl 1"} ◆ cmd="C:\\Program Files (x86)\\Pritunl\\tuntap\\tapctl.exe" ◆ output="\"Pritunl 1\" adapter not found.\r\n"
utils: Failed to exec 'C:\Program Files (x86)\Pritunl\tuntap\tapctl.exe'
exit status 1
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.ExecCombinedOutputLogged
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/utils/proc.go:237 +0x134ac0b
github.com/pritunl/pritunl-client-electron/service/tuntap.Resize
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/tuntap/tuntap.go:111 +0x1368e86
github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).startOvpn
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1284 +0x137af4e
github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).Start
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1231 +0x1379f04
github.com/pritunl/pritunl-client-electron/service/handlers.profilePost.func1
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/handlers/profile.go:99 +0x1392029
runtime.goexit
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0xea71e0
[2023-02-14 12:06:08][ERRO] ▶ utils: Process exec error ◆ arg=[]string{"create", "--name", "Pritunl 1"} ◆ cmd="C:\\Program Files (x86)\\Pritunl\\tuntap\\tapctl.exe" ◆ output="tap_create_adapter: DiInstallDevice failed\r\nError 0xe0000203\r\nCreating TUN/TAP adapter failed (error 0xe0000203).\r\n"
utils: Failed to exec 'C:\Program Files (x86)\Pritunl\tuntap\tapctl.exe'
exit status 1
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.ExecCombinedOutputLogged
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/utils/proc.go:237 +0x134ac0b
github.com/pritunl/pritunl-client-electron/service/tuntap.Resize
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/tuntap/tuntap.go:120 +0x1368f06
github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).startOvpn
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1284 +0x137af4e
github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).Start
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1231 +0x1379f04
github.com/pritunl/pritunl-client-electron/service/handlers.profilePost.func1
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/handlers/profile.go:99 +0x1392029
runtime.goexit
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0xea71e0
[2023-02-14 12:06:08][INFO] ▶ profile: Disconnecting ◆ profile_id="3e0755eccbe53dcd"
[2023-02-14 12:06:09][INFO] ▶ profile: Disconnected ◆ profile_id="3e0755eccbe53dcd"
[2023-02-14 12:06:09][ERRO] ▶ handlers: Handler error
handler: Start error
utils: Failed to exec 'C:\Program Files (x86)\Pritunl\tuntap\tapctl.exe'
exit status 1
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.ExecCombinedOutputLogged
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/utils/proc.go:237 +0x134ac0b
github.com/pritunl/pritunl-client-electron/service/tuntap.Resize
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/tuntap/tuntap.go:120 +0x1368f06
github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).startOvpn
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1284 +0x137af4e
github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).Start
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1231 +0x1379f04
github.com/pritunl/pritunl-client-electron/service/handlers.profilePost.func1
C:/Users/Windows/go/src/github.com/pritunl/pritunl-client-electron/service/handlers/profile.go:99 +0x1392029
runtime.goexit
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0xea71e0
I reset my user password and other actions. Do you can help me?
I was not able to come up with a resolution. The plan is to reinstall my OS. By chance, do you have any other vpn software installed?
Mat