when I try to run it I get an error that says it could not authenticate with VPN provider and to check user name/password
Getting the same problem here. I had it set up and working fine with IPVanish, but it simply won't authenticate with NordVPN. I uninstalled the add-on completely, then re-installed via the Zomboided repo. Still no dice. The logs say:
ERROR: VPN Mgr:(alternative.py) API call for https://api.nordvpn.com/v1/users/tokens,username=<redacted>&password=********
ERROR: VPN Mgr:(alternative.py) Response was <class 'ssl.SSLError'> ('The read operation timed out')
ERROR: VPN Mgr:(common.py) Could not authenticate with VPN provider. Please check user name and password and try again.
WARNING: CPythonInvoker(27): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
The username and password are definitely correct.
Update: And now I'm seeing other things in the logs, including:
Response was 522 Origin Connection Time-out, following by HTML for a web page that seems to suggest a connection failure between Cloudflare and NordVPN, thus:
The initial connection between Cloudflare's network and the origin web server timed out. As a result, the web page can not be displayed.
And my previous attempt resulted in:
ERROR: VPN Mgr : (alternative.py) Response was 502 Bad Gateway
And again an HTML page with:
The web server reported a bad gateway error.
[EDIT] Aaaaand once more, with feeling: having seen some surprising references to IPVanish in the logs (although I now think these were prior to switching the settings to NordVPN), I decided to do a reboot. This time, the authentication failure was simpler, not involving Cloudflare:
11:17:30.112 T:1699488672 NOTICE: VPN Mgr : (service.py) Starting VPN monitor service, platform is 2, version is 5.0.7
11:17:30.115 T:1699488672 NOTICE: VPN Mgr : (service.py) Kodi build is 17.6 Git:a9a7a20
11:17:30.118 T:1699488672 NOTICE: VPN Mgr : (service.py) Addon path is /storage/.kodi/addons/service.vpn.manager/
11:18:20.255 T:1699488672 ERROR: VPN Mgr : (alternative.py) Couldn't authenticate with NordVPN
11:18:20.256 T:1699488672 ERROR: VPN Mgr : (alternative.py) API call was https://api.nordvpn.com/v1/users/tokens, username=<redacted>&password=********
11:18:20.256 T:1699488672 ERROR: VPN Mgr : (alternative.py) Response was 401 Unauthorized
11:18:20.274 T:1699488672 ERROR: VPN Mgr : (alternative.py) {"errors":{"code":101301,"message":"Unauthorized"}}
11:18:21.228 T:1699488672 ERROR: VPN Mgr : (common.py) Could not authenticate with VPN provider. Please check user name and password and try again.
And finally...
As so often happens, just after posting I find a solution.
I downloaded a bunch of configuration files from here: NordVPN
I selected just a few of the .ovpn files and put them in a folder on a USB stick, and plugged the stick into the RPi I'm using as my LibreELEC box.
From the VPN Configuration screen I opted for 'User defined import wizard' and said 'yes' to the stuff about overwriting configurations etc.
I chose the folder/directory option and pointed it at the folder on the USB stick with the .ovpn files.
This left me with a config with 'user defined' instead of 'NordVPN', but still with the same username and password. I could then go into VPN Connections and select the required connections. And it works. Alas, still can't get BBC iPlayer here...