Page 1 of 1

Cannot open OpenVpn on Mac

Posted: Sun Nov 25, 2018 1:47 am
by natalir
I have been using OpenVPN for about a year. Suddenly the application failed and since then I can't open the app at all. I have tried uninstalling and installing again, but nothing helps.
  • If I run:

    Code: Select all

    open /Applications/OpenVPN/OpenVPN\ Connect.app/
    
    I get:

    Code: Select all

    LSOpenURLsWithRole() failed with error -10810 for the file /Applications/OpenVPN/OpenVPN Connect.app.
    
    When I open the system log I see:

    Code: Select all

    com.apple.xpc.launchd[1] (net.openvpn.OpenVPNConnect.2228[18626]): Service exited with abnormal code: 1
    
  • If I double-click on the application, nothing happens.
  • If i open the executable within the contents of the app, I get this error:

    Code: Select all

     /Applications/OpenVPN/OpenVPN\ Connect.app/Contents/MacOS/OpenVPNConnect ; exit;
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/Library/Frameworks/OpenVPN.framework/Versions/Current/lib/python2.7/site-packages/pyovpn-2.1-py2.7.egg/pyovpn/mac/ovpntray.py", line 34, in <module>
      File "/Library/Frameworks/OpenVPN.framework/Versions/Current/lib/python2.7/site-packages/pyovpn-2.1-py2.7.egg/pyovpn/tray/trayapp.py", line 8, in <module>
      File "/Library/Frameworks/OpenVPN.framework/Versions/Current/lib/python2.7/site-packages/pyovpn-2.1-py2.7.egg/pyovpn/tray/trayclient.py", line 18, in <module>
      File "/Library/Frameworks/OpenVPN.framework/Versions/Current/lib/python2.7/site-packages/pyovpn-2.1-py2.7.egg/pyovpn/util/rand.py", line 2, in <module>
      File "/usr/local/lib/python2.7/site-packages/OpenSSL/__init__.py", line 8, in <module>
        from OpenSSL import crypto, SSL
      File "/usr/local/lib/python2.7/site-packages/OpenSSL/crypto.py", line 12, in <module>
        from cryptography import x509
      File "/usr/local/lib/python2.7/site-packages/cryptography/x509/__init__.py", line 7, in <module>
        from cryptography.x509 import certificate_transparency
    ImportError: cannot import name certificate_transparency
Any ideas, suggestions, anything at all is greatly appreciated!!

Re: Cannot open OpenVpn on Mac

Posted: Mon Mar 30, 2020 8:20 am
by ganesancit
Any answers @natalir. I have the same exact issue as well and its driving me crazy

Re: Cannot open OpenVpn on Mac

Posted: Tue Dec 07, 2021 3:31 pm
by Andre_SF
I am having the same issue. I have uninstalled and reinstalled several times and the app will not launch. It just hangs.

Re: Cannot open OpenVpn on Mac

Posted: Sat Dec 11, 2021 10:19 pm
by openvpn_inc
Hello,

This looks like an error message about OpenVPN Connect v2. That is an outdated program. You should really instead be using OpenVPN Connect v3. I would suggest you install OpenVPN Connect v3 and see if that works as expected. If it doesn't you can contact https://openvpn.net/support for support.

Latest version of OpenVPN Connect v3 can be downloaded here:
https://openvpn.net/client-connect-vpn-for-mac-os/

While Connect v2 is still listed there, it will eventually be removed, as it is an older version.

Kind regards,
Johan