-
Notifications
You must be signed in to change notification settings - Fork 17
OpenVPN reported fatal error. Failed to open wintun adapter #251
Comments
I am experiencing the same issue on two computers. When I run eduVPN with administrator privileges, the application works normally. |
I managed to reproduce your issue. Started my test PC, and at first attempt eduVPN client connected using OpenVPN and Wintun normally. Went on writing detailed instructions for you, how you can troubleshoot the situation. Returned to my test PC to make some more screenshots, but hit the same issue as you. Repeatedly. Noticed the Windows were installing KB5001716, KB5046542 and KB5046613 updates in the background. Until updates were installed all attempts to create a Wintun adapter by eduVPN client were failing. After updates were installed and computer restarted, the eduVPN client, OpenVPN and Wintun adapter were working normally again. Can you confirm, it is working for you too now, please? |
I have installed all updates on my computer to ensure that Windows is not performing updates in the background and restarted it. The problem still occurs (OpenVPN reported a fatal error. Failed to open wintun adapter: {6493f37e-9f80-525d-831a-082b3f77fef4}). eduVPN only works when I run the client with administrator privileges. |
OK, then...
I am really curious to get your feedback, and thank you for your patience. |
I have ensured that my computer is not doing any updates. Then, I deleted the existing logs. I checked the Device Manager while eduVPN was still closed, and there was no wintun adapter. When I open the client, the adapter shown in the screenshot appears as soon as a connection attempt is started. When I close the application, the adapter is removed again. The logs: Pc:
Laptop:
This issue has been occurring on my laptop for several months and only started happening on my desktop PC a few days before creating this issue.
I apologize for the delay in my response. Thank you for taking the time to help me, I really appreciate it! Please let me know if you need the detailed logs, and I'll provide them. |
Thank you for your feedback. I suspect we are suffering the same issue as OpenVPN/ovpn-dco-win#38. Some posts there suggest installing the software elevated (Run as Administrator). Installing using our EXE installer already does that, so it shouldn't make any difference in your case. I have also upgraded future versions of eduVPN client to include the reason why CreateFile failed on wintun device, like the stock OpenVPN did. However, I am suspecting you will just get the same Access Denied (code=5) as people do with ovpn-dco-win. Given others have already tried to uninstall the product, remove TUN devices, uninstall the driver to no avail, I have no idea how to fix this. Something seems to be different with your Windows. Maybe some configuration change, security settings, or some other security/anti-virus/sandboxing software? Fixing this should involve a deep surgery in OpenVPN to move adapter handling from |
We are moving to https://codeberg.org/eduVPN/windows/issues/251 |
OpenVPN reported fatal error.
Failed to open wintun adapter: {0a7dae7c-68a5-599c-97da-5378d77f1bb3}
Same stuff no matter what I do.
The text was updated successfully, but these errors were encountered: