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.
02-05-2025 02:34 AM
The solution proposed by @espvic93 effectively resolved my issue
02-08-2025 04:42 PM
I was having the same issue with Windows10 and OpenConnect VPN v1.6.2-dirty(64). My logs were similar to Chandran's. I implemented the fix that espvic93 suggested (I named my interface 'int1') and it resolved my issue. I have now been up and running and active in CML for 30 minutes with no issues.
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
02-03-2025 06:58 AM
Thanks this worked for me too!
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"
01-03-2025 09:50 AM
Yes sirrrrrrrrrrrrrrrrrrrrr! Thx!
02-10-2025 12:51 AM
I had a same issue. First I change the profile name to simpe MYVPN and then i did following:
1. found the ip address of given link.
2. Connect that link via ip and then port instead of dns.
This worked for me
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