vpnadmin 3 Posted ... Hey there, it's me again. Afer the problems with Eddie and my OpenVPN Access Server I'm trying to switch to the community server now. Configuration works already pretty well with the official OpenVPN client (2.4, Windows 10 x64). I set the path in AirVPN.xml and the server is imported into Eddie. But as soon as I'm trying to connect, Eddie complains about a missing key file: I 2017.03.17 15:25:06 - Session starting. . 2017.03.17 15:25:06 - IPv6 disabled with packet filtering. ! 2017.03.17 15:25:06 - Connecting to OtherServers - openvpnserver W 2017.03.17 15:25:06 - Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. . 2017.03.17 15:25:06 - Above log line repeated 1 times more . 2017.03.17 15:25:06 - OpenVPN > WARNING: cannot stat file 'client.key': Das System kann die angegebene Datei nicht finden. (errno=2) W 2017.03.17 15:25:06 - Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. . 2017.03.17 15:25:06 - Above log line repeated 1 times more . 2017.03.17 15:25:06 - OpenVPN > Use --help for more information. ! 2017.03.17 15:25:06 - Disconnecting . 2017.03.17 15:25:06 - Connection terminated. ! 2017.03.17 15:25:10 - Connecting to OtherServers - openvpnserver W 2017.03.17 15:25:10 - Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. . 2017.03.17 15:25:10 - Above log line repeated 1 times more . 2017.03.17 15:25:10 - OpenVPN > WARNING: cannot stat file 'client.key': Das System kann die angegebene Datei nicht finden. (errno=2) W 2017.03.17 15:25:10 - Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. . 2017.03.17 15:25:10 - Above log line repeated 1 times more . 2017.03.17 15:25:10 - OpenVPN > Use --help for more information. ! 2017.03.17 15:25:10 - Disconnecting . 2017.03.17 15:25:10 - Connection terminated. ! 2017.03.17 15:25:13 - Connecting to OtherServers - openvpnserver W 2017.03.17 15:25:13 - Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. . 2017.03.17 15:25:13 - Above log line repeated 1 times more . 2017.03.17 15:25:13 - OpenVPN > WARNING: cannot stat file 'client.key': Das System kann die angegebene Datei nicht finden. (errno=2) W 2017.03.17 15:25:13 - Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. . 2017.03.17 15:25:13 - Above log line repeated 1 times more . 2017.03.17 15:25:13 - OpenVPN > Use --help for more information. ! 2017.03.17 15:25:13 - Disconnecting . 2017.03.17 15:25:13 - Connection terminated. I 2017.03.17 15:25:14 - Cancel requested. . 2017.03.17 15:25:14 - IPv6 restored with packet filtering. . 2017.03.17 15:25:14 - Flushing DNS But no - it's there, and the same configuration is working with OpenVPN. It's uunder "C:\Program Files\OpenVPN\config" (sme as the .ovpn), but I tried to put it directly in the AirVPN dir as well as "C:\\client.key" which I referenced in the config file then but lead me to the same problem. What am I missing? I tried eddie 2.11.15 and 2.12.4. No difference. Thanks! Quote Share this post Link to post
OpenSourcerer 1435 Posted ... Basically: Reboot tut gut. Windows 8 and above doesn't shutdown the computer properly, reboot it instead or turn off Fast Boot. There were several interesting errors when coming out of hibernation on those OSes in the past. Try putting Eddie to your personal directory where you have unrestricted write access without User Account Control issues. Though I doubt it will help but you never know. Quote Hide OpenSourcerer's signature Hide all signatures 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
vpnadmin 3 Posted ... No, a reboot doesn't help here. I also made sure that the config dir is world-read- and -writable just in case but it doesn't work. That error really makes no sense bec the .ovpn config file is found. Ilike this feature of Eddie but it seems to be terribly buggy and not really supported. Quote Share this post Link to post
OpenSourcerer 1435 Posted ... It's not enough to just give it write access because your admin user account is not the one with the highest privileges on Windows. It's TrustedInstaller (which owns Program Files, too). Your own personal corner on Windows is your userdir (C:/users/user/*), that's where you have unrestricted write access; put a portable Eddie there and try again. Quick search for the first part of the error reveals that it has to do with write access. For example, Ubuntu. Quote Hide OpenSourcerer's signature Hide all signatures 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
vpnadmin 3 Posted ... Hey, I really appreciate your effort to help here. But the example you mentioned is about a linux user who wants to write in /etc/ without sudo which will never work. And he is trying to configure a server there. Anyways, when I set the files/directories to world-read- and writeable it means that every user and app is allowed to read or write here, regardless of any "trustedinstaller" or whatsoever. So, I wouldn' expect it is a question of filesystem rights after that. But I tried the portable thing you've mentioned - and no, it doesn't change anything but I'm running into another bug. Read below. Quote Share this post Link to post
vpnadmin 3 Posted ... By the way, when I do it that way I'm running into the same bug this guy did here. And yes, I tried the trailing slash, tried it without it and double checked the path and tried it with diff directories. This feature was running nicely until 2.11.9, but it is completely useless right now. Fix it or remove it please! Quote Share this post Link to post
vpnadmin 3 Posted ... So guys, finally found the problem: the new behaviour of Eddie to look for .ovpn conf files in /ovpn just below the data dir obviously makes it difficult for him to find the respective key- and certfiles. I did a little debugging with procmon in Windows and after I changed the relative directives in my .ovpn conf to something like that: ca "c:\\myvpnserver2017.crt" cert "c:\\myvpnserver.crt" key "c:\\myvpnserver.key" it finally works. Maybe this is a helpful note to fix this bug ... 1 1 x-x and OpenSourcerer reacted to this Quote Share this post Link to post