Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

No servers information on sync. #143

Open
jproctor10 opened this issue Apr 7, 2020 · 1 comment
Open

No servers information on sync. #143

jproctor10 opened this issue Apr 7, 2020 · 1 comment

Comments

@jproctor10
Copy link

Either the service is down, or nordvpn has changed their api again.
The output of https://nordvpn.com/api/server is nothing.

The error message wasn't exactly helpful. If this happens often, it might make sense to check if the raw output is [] or {"message":"Not Found"} to catch some of these service down or API changes respectively?

Thanks for your work on it.

Possible alternatives are processing the outputs of:
https://api.nordvpn.com/v1/servers
https://api.nordvpn.com/server/stats

Hopefully it's just down.

@jproctor10
Copy link
Author

Back up, so no need to change source. I do think a better error message wouldn't hurt. I'll consider adding it myself. Feel free to close since this is probably rather low priority.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant