I am running the latest stable version of CoreElec on my S905x box.
I am running openvpn on my router as a server so that I can access my media while traveling.
I have a set of working keys that I have tested using my android phone, so I think they should be fine.
I installed the Zomboided client from their git, and pointed it at my keys using the User Defined VPN wizard. There were no errors when it imported them.
The vpn connection fails with this in the log:
2021-01-12 21:13:28.423 T:3605001088 NOTICE: Tue Jan 12 21:11:09 2021 WARNING: file ‘/storage/.kodi/addons/service.vpn.manager/UserDefined/client.key’ is group or others accessible
2021-01-12 21:13:28.424 T:3605001088 NOTICE: Options error: --status fails with ‘status’: Read-only file system (errno=30)
2021-01-12 21:13:28.424 T:3605001088 NOTICE: Options error: Please correct these errors.
2021-01-12 21:13:28.424 T:3605001088 NOTICE: Use --help for more information.
2021-01-12 21:13:28.424 T:3605001088 NOTICE: VPN Mgr : (vpnplatform.py) <<< VPN log file end
2021-01-12 21:13:28.489 T:3605001088 NOTICE: VPN Mgr : (managefiles.py) Copying log file to /storage/downloads/kodi_21-01-12_21-13-28.log. Using version 6.4.3
I tried a chmod 600 to /storage/.kodi/addons/service.vpn.manager/UserDefined/client.key to fix that.
However after that I just get a generic error saying there was an error connecting to the vpn.
The log shows this:
2021-01-12 21:26:28.843 T:3605001088 NOTICE: VPN Mgr : (vpnplatform.py) <<< VPN configuration file end
2021-01-12 21:26:28.910 T:3605001088 NOTICE: VPN Mgr : (vpnplatform.py) VPN log file start >>>
2021-01-12 21:26:28.910 T:3605001088 NOTICE: Tue Jan 12 21:25:07 2021 WARNING: file ‘/storage/.kodi/addons/service.vpn.manager/UserDefined/client.key’ is group or others accessible
2021-01-12 21:26:28.911 T:3605001088 NOTICE: Options error: --status fails with ‘status’: Read-only file system (errno=30)
2021-01-12 21:26:28.911 T:3605001088 NOTICE: Options error: Please correct these errors.
2021-01-12 21:26:28.911 T:3605001088 NOTICE: Use --help for more information.
2021-01-12 21:26:28.911 T:3605001088 NOTICE: VPN Mgr : (vpnplatform.py) <<< VPN log file end
2021-01-12 21:26:32.946 T:3605001088 ERROR: VPN Mgr : (common.py) Error connecting to VPN, something unexpected happened. Check log for more information.
2021-01-12 21:26:41.350 T:3605001088 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<–
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type ‘exceptions.TypeError’>
Error Contents: attribute of type ‘NoneType’ is not callable
Traceback (most recent call last):
File “/storage/.kodi/addons/service.vpn.manager/connect.py”, line 51, in
connectVPN(str(connection_order), “”)
File “/storage/.kodi/addons/service.vpn.manager/libs/common.py”, line 2187, in connectVPN
popupOpenVPNLog(getVPNLocation(vpn_provider))
File “/storage/.kodi/addons/service.vpn.manager/libs/logbox.py”, line 87, in popupOpenVPNLog
log_file = open(getVPNLogFilePath(), ‘r’, errors=‘backslashreplace’)
TypeError: attribute of type ‘NoneType’ is not callable
–>End of Python script error report<–
2021-01-12 21:27:24.749 T:3520066432 WARNING: CPythonInvoker(15): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
2021-01-12 21:27:29.993 T:3520066432 NOTICE: VPN Mgr : (vpnplatform.py) No VPN configuration exists to write
2021-01-12 21:27:30.062 T:3520066432 NOTICE: VPN Mgr : (vpnplatform.py) VPN log file start >>>
2021-01-12 21:27:30.062 T:3520066432 NOTICE: Tue Jan 12 21:25:07 2021 WARNING: file ‘/storage/.kodi/addons/service.vpn.manager/UserDefined/client.key’ is group or others accessible
2021-01-12 21:27:30.062 T:3520066432 NOTICE: Options error: --status fails with ‘status’: Read-only file system (errno=30)
2021-01-12 21:27:30.063 T:3520066432 NOTICE: Options error: Please correct these errors.
2021-01-12 21:27:30.063 T:3520066432 NOTICE: Use --help for more information.
2021-01-12 21:27:30.063 T:3520066432 NOTICE: VPN Mgr : (vpnplatform.py) <<< VPN log file end
2021-01-12 21:27:30.132 T:3520066432 NOTICE: VPN Mgr : (managefiles.py) Copying log file to /storage/downloads/kodi_21-01-12_21-27-29.log. Using version 6.4.3
Is there something obvious that I am doing wrong?
Thanks in advance.