Zomboided / service.vpn.manager

VPN plugin for Kodi
GNU General Public License v2.0
310 stars 80 forks source link

Error Connectiong to NordVPN #355

Closed DaniLopezForteza closed 1 year ago

DaniLopezForteza commented 2 years ago

Good morning/afternoon/evening I've been using VPNManager for over a year, without a single problem. But, since earlier today, I've not managed to connect to NordVPN.

Both the password and the email are correct, but from what I've gathered, the add-on doesn't seem to connect to NordVPN. Here are the logs from the add-on: https://pastebin.com/fdpXpnpM (PW: 46FZQKaAJU)

I'm using VPNManager 7.0 on LibreELEC 10 (Kodi 19.3, Linux Kernel 5.10) on a RPI 4

Thank you beforehand.

Zomboided commented 2 years ago

Thanks for sharing decent debug. It looks like you're timing out connecting to Nord's API. When I try to issue the same command in a browser, I get a 'not found'. When I subvert the command, I get a 'method not allowed' so the API gateway is responding.

When I ping api.nordvpn.com from my LE box, I see: hostname:~ # ping api.nordvpn.com PING api.nordvpn.com (104.17.49.74): 56 data bytes 64 bytes from 104.17.49.74: seq=0 ttl=57 time=16.002 ms 64 bytes from 104.17.49.74: seq=1 ttl=57 time=23.694 ms 64 bytes from 104.17.49.74: seq=2 ttl=57 time=20.209 ms which also makes me suspect it's a problem with your network.

This is the command that's getting sent to the API. You need to do some digging on your network to determine if you can issue it. https://api.nordvpn.com/v1/users/tokens,%20username=daniellforteza%40gmail.com&password=****

peno64 commented 2 years ago

@DaniLopezForteza I also use NordVPN on a PI4 on LibreElec with kodi 19.3 and the VPNManager addon and I have no problems at all with it. I just checked and everything works fine.

Arathonk commented 2 years ago

Since today I get nordvpn connection errors as well on libreelec/rasp3, can't use vpn. Without vpn I have no network problems, also can access nordvpn from my phone without any problems.

peno64 commented 2 years ago

Just tried it again on my PI4 on LibreElec with kodi 19.3 and again no problem.

Arathonk commented 2 years ago

Well I still can't login opened #357 but @Zomboided closed it without telling me what I can do..

Zomboided commented 2 years ago

The API from your provider says your password is wrong..........what exactly are you expecting me to do????

On Thu, Dec 16, 2021 at 6:22 PM Arathonk @.***> wrote:

Well I still can't login opened #357 https://github.com/Zomboided/service.vpn.manager/issues/357 but @Zomboided https://github.com/Zomboided closed it without telling me what I can do..

— Reply to this email directly, view it on GitHub https://github.com/Zomboided/service.vpn.manager/issues/355#issuecomment-996066691, or unsubscribe https://github.com/notifications/unsubscribe-auth/AECJZZLZKBV6HYQY5YFIN4TURIU6HANCNFSM5JO52K3A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

Arathonk commented 2 years ago

The API from your provider says your password is wrong..........what exactly are you expecting me to do???? On Thu, Dec 16, 2021 at 6:22 PM Arathonk @.> wrote: Well I still can't login opened #357 <#357> but @Zomboided https://github.com/Zomboided closed it without telling me what I can do.. — Reply to this email directly, view it on GitHub <#355 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AECJZZLZKBV6HYQY5YFIN4TURIU6HANCNFSM5JO52K3A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.>

You didn't tell me that, But how could it have changed? Because 2 days ago it was working fine, it just stopped working yesterday, I copied my password over from my password manager and tried it on 2 other devices and they both login fine, copied it to vpn manager and I get the same error..

h0rr0 commented 2 years ago

@Zomboided
Thx for all the hard work you have put into this amazing add-on. Have the same issues as the others above. NordVPN stopped working yesterday on my OSMC (KODI 19.3. I works fine anywhere else. Also changed the password, reinstalled the Add-on. But still get the same message like the others. That API says that the password is wrong. Maybe NordVN changed something... Any help would be much appreciated!

Zomboided commented 2 years ago

So it was working 2 days ago. None of the VPN Mgr code has changed in months. A trace of the call to your provider clearly says that it's a password issue. And another user says it's working fine for him.

Unless you have a trace which shows the call to Nord not working, I'm not gonna engage in this any further.

Arathonk commented 2 years ago

What do you want me to do to get that trace for you?

By the way, when logging in on android or Windows apps for NordVPN you are required to enter a code provided by the Google Authenticator, maybe that has something to do with it?

h0rr0 commented 2 years ago

@Arathonk: That was the right hint. Deactivating the 2FA on NordVPN did the trick.

h0rr0 commented 2 years ago

Contaced NordVPN because the issue must be on their side. All was working fine with the 2FA on all this time. Will let everyone know the solution they will propose.

h0rr0 commented 2 years ago

What do you want me to do to get that trace for you?

By the way, when logging in on android or Windows apps for NordVPN you are required to enter a code provided by the Google Authenticator, maybe that has something to do with it?

Did deactivating the 2FA do the trick for you?

InstantSunrise commented 2 years ago

Had the same issue, deactivating 2FA did the trick.

DaniLopezForteza commented 2 years ago

Hello! I hoped it was a decent debug! I had to dig through some trash inside the log. Actually, I think it was indeed a connection problem from my side. I have since reinstalled Kodi, and everything is working properly! Still, thank you for your help! I should have removed the issue. I'll close it asap! Again, thank you!

El lun., 6 dic. 2021 17:16, Zomboided @.***> escribió:

Thanks for sharing decent debug. It looks like you're timing out connecting to Nord's API. When I try to issue the same command in a browser, I get a 'not found'. When I subvert the command, I get a 'method not allowed' so the API gateway is responding.

When I ping api.nordvpn.com from my LE box, I see: hostname:~ # ping api.nordvpn.com PING api.nordvpn.com (104.17.49.74): 56 data bytes 64 bytes from 104.17.49.74: seq=0 ttl=57 time=16.002 ms 64 bytes from 104.17.49.74: seq=1 ttl=57 time=23.694 ms 64 bytes from 104.17.49.74: seq=2 ttl=57 time=20.209 ms which also makes me suspect it's a problem with your network.

This is the command that's getting sent to the API. You need to do some digging on your network to determine if you can issue it.

https://api.nordvpn.com/v1/users/tokens,%20username=daniellforteza%40gmail.com&password=


— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Zomboided/service.vpn.manager/issues/355#issuecomment-986927359, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANKLRDVIPQEQAJHJRGXJA43UPTOV7ANCNFSM5JO52K3A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Arathonk commented 2 years ago

Had the same issue, deactivating 2FA did the trick.

Yes this is the problem for me as well, @Zomboided is there a workaround? As I don't really want to disable 2FA if I don't have to, I disabled 2FA to connect, it works, then enabled 2FA and restarted my system, then vpnmanager can't connect anymore.

Zomboided commented 2 years ago

There’s no work around, I’m just using the nord api and I don’t have access to the documentation to know if it can be changed

On 21 Dec 2021, at 16:12, Arathonk @.***> wrote:

 Had the same issue, deactivating 2FA did the trick.

Yes this is the problem for me as well, @Zomboided is there a workaround? As I don't really want to disable 2FA if I don't have to, I disabled 2FA to connect, it works, then enabled 2FA and restarted my system, then vpnmanager can't connect anymore.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.

InstantSunrise commented 2 years ago

Could the error message be reworded to add something about disabling Multi-Factor Authentication then?

Sent from my iPhone

On Dec 21, 2021, at 8:31 AM, Zomboided @.***> wrote:

 There’s no work around, I’m just using the nord api and I don’t have access to the documentation to know if it can be changed

On 21 Dec 2021, at 16:12, Arathonk @.***> wrote:

 Had the same issue, deactivating 2FA did the trick.

Yes this is the problem for me as well, @Zomboided is there a workaround? As I don't really want to disable 2FA if I don't have to, I disabled 2FA to connect, it works, then enabled 2FA and restarted my system, then vpnmanager can't connect anymore.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned. — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.

RobAl33 commented 2 years ago

After some time, i think some peoples login issues could be related to password length, i originally had a length of 18, reduced to 12 and below and it connects ok, this includes a symbol aswell.

Arathonk commented 2 years ago

After some time, i think some peoples login issues could be related to password length, i originally had a length of 18, reduced to 12 and below and it connects ok, this includes a symbol aswell.

No its definitely the multi factor authentication.

ramsesthelatest commented 2 years ago

After some time, i think some peoples login issues could be related to password length, i originally had a length of 18, reduced to 12 and below and it connects ok, this includes a symbol aswell.

No its definitely the multi factor authentication.

Well nothing is definitely. And so is this. Had the same problem today, with 2FA disabled. I had a 20 sign password. Reduced it to 12 signs and it immediately worked.

mickeelm commented 2 years ago

I'm having trouble comprehending exactly what did work and what did not, I just recently bought a NordVPN subscription and tried this addon.

What I cannot really take out from the conversation here (or the code) is, how did MFA work in the first place..? I cannot see anything in the code (but please point me in the right direction if there is code for it) about MFA which made me curious, I kind of assumed that there was no MFA support but from the comments it seems like it did work before, even with MFA?

I was about to start digging into the API (but @Zomboided suggested that there is none so that might be tricky :( ) and in the end hopefully submit a PR, but then I saw this issue and it would be great to sort some of this stuff out before even attempting.

Zomboided commented 2 years ago

MFA has never worked, it wasn’t a thing when Nord got added. With no access to their API anymore, and no account, support for Nord won’t change.

On 28 Aug 2022, at 07:31, Mikael Elm @.***> wrote:

 I'm having trouble comprehending exactly what did work and what did not, I just recently bought a NordVPN subscription and tried this addon.

Without MFA, login worked great After enabling MFA, login stopped working What I cannot really take out from the conversation here (or the code) is, how did MFA work in the first place..? I cannot see anything in the code (but please point me in the right direction if there is code for it) about MFA which made me curious, I kind of assumed that there was no MFA support but from the comments it seems like it did work before, even with MFA?

I was about to start digging into the API (but @Zomboided suggested that there is none so that might be tricky :( ) and in the end hopefully submit a PR, but then I saw this issue and it would be great to sort some of this stuff out before even attempting.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

mickeelm commented 2 years ago

Thanks! That makes a lot more sense, I was a bit confused by the comments here. Since I have an account, I'll try to see if I can get some answers from their support and if at all possible, take a jab at fixing it.

McG800 commented 2 years ago

Hello All. I'm having issues with connecting to NordVPN as well. I'm using a clean install of LibreELEC 10.0.2. I'm not using MFA and I changed my password to use less than 12 chars. I was looking at the log, and I see this error.

2022-09-02 16:38:26.515 T:1212 ERROR : VPN Mgr : (alternativeNord.py) Response was <class 'urllib. error.URLError'> <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get loca l issuer certificate (_ssl.c:1125)>

I'm not sure if that's helpful at all or not.

Zomboided commented 1 year ago

Nord VPN access has just changed with 7.0.2, so closing this. I still don't have access to their documentation/API so nothing will change here.