Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

download of ovpn.zip uses critical bandwidth #291

Open
christopherreay opened this issue Mar 24, 2022 · 2 comments
Open

download of ovpn.zip uses critical bandwidth #291

christopherreay opened this issue Mar 24, 2022 · 2 comments

Comments

@christopherreay
Copy link
Contributor

Hiya,

so in this current incarnation of openpyn (ty), every time I connect, the entire ovpn.zip is downloaded, which is fine.

However, in a scenario where, e.g. there is 200kb/s bandwidth, the download disables my internet for.. sometimes several minutes, sometimes longer, having saturated the download.

Any suggestions / tell me im wrong / ideas for a fix?

@christopherreay
Copy link
Contributor Author

so the "nord API", functions by downloading a 25 MB file of JSON at most every 5 minutes, each time openPyn is used.

downloading the file can cause openpyn to become unresponsive. Plus...

I mean, an API is not "download 25MB and JSON and filter the JSON for what you need".

There are other options in the API to get recommended servers, etc. It looks to me like you have tried to use the nordVPN "API" to provide the same outpout as you used to get using the other method.

This makes openPyn unusable for me in quite a of scenarios... I mean.... on a 100kb/s line, it takes about 3 minutes to download this file, during which time the internet is totally saturated.

Do you have any suggestions for an alternative? what i am going to end up doing is .

nvm, Ill just sto pusig this utility.

Thank you for all the fish! :)

@christopherreay
Copy link
Contributor Author

So it appears that if I give openpyn a specific server to connect to, it doesnt download the "API" JSON.

So what I have done is just create a script that gets the recommended server for some country from the nordvpn servers, and then runs openpyn with that.

Works very nicely.

Was unusable before.

Im surprised no one else has mentioned this issue. 25MB is a lot of data to just grab without any choice.

(obvs on a phat internet connection, its not, but otherwise, impossible)

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

No branches or pull requests

1 participant