12-02-2024 10:24 AM
2024-12-02 23:40:51 | 25e4 | Cannot read registry key SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\{5E285114-0E5C-4AB1-BFBB-541B0700518F}\Connection\Name or is not string
2024-12-02 23:40:51 | 25e4 | 0: Using existing driver 0.14
2024-12-02 23:40:51 | 25e4 | 0: Creating adapter
2024-12-02 23:40:51 | 25e4 | Cannot read registry key SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\{EFE3EC6F-FBD1-417F-B0E0-A48C61B6CBA9}\Connection\Name or is not string
2024-12-02 23:40:51 | 25e4 | Set up tun device failed
2024-12-02 23:40:51 | 25e4 | Send BYE packet: Set up tun device failed
12-02-2024 10:42 AM
Greetings,
Looking at the output and searching explicitly for Cannot read registry key SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\{5E285114-0E5C-4AB1-BFBB-541B0700518F}\Connection\Name or is not string this looks to be an issue with openconnect itself. As I do not want to link an external website- the first entry on google searching this phrase seems to exhibit the same issues that you are observing and may be associated with your problem. You may need to inquire on the openconnect gitlab site for further support as this appears to be specific to openconnect code.
12-02-2024 11:29 AM
In OpenConnect VPN window edit your current profile or setup a new one, under (advanced) settings rename (interface name) to something simple. I had a very similar issue, hope this helps.
12-03-2024 02:36 AM
@Chandran are you using windows here? I saw few past thread with this not working, and when the user switched to anyconnect this was ok.
12-04-2024 03:02 AM
It worked when I edited my profile in OpenConnect and added "mvpn" in local interface.
12-06-2024 03:53 AM
12-13-2024 08:04 AM
I've had the same issue: Set up tun device failed
Here is detailed step on what worked for me:
Under Profiles -> Edit selected profile -> Interface name, put "myvpn"
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide