-
Notifications
You must be signed in to change notification settings - Fork 30
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
ProtonVPN API error on startup #46
Comments
Seems related to this too Rafficer/linux-cli-community#365 |
Same issue here. I guess |
This diff fixed the issue for me. I think the right process is to submit a merge request but sorry I'm not a tech guy, don't know how exactly. Pretty straightforward tho
|
That's great :D I created a PR with that fix #47 Basically the process is;
|
This may be a short term fix ... See this comment and then this comment from the original github issue referenced above.
|
Yeah probably it will stop working eventually. They recommend to use their app but it's UI only, no cli AFAIK. For alpine (not one of their supported distros) they suggest wireguard. But wg each server needs it's own config which you download from your account login. That makes a container like this pretty useless. Alternative, someone could volunteer to become maintainer of the community client. That seems to be their issue with it - it's unmaintained, no updates in years. |
Yeah ... WG is bad in that regard. OpenVPN though can do "country specific" endpoint pools IIRC, but that's probably another headache. Unfortunately I am not a coder so am now seeing what my alternatives are I saw this and 1st thought was GREAT! I can do that! Then I realized an alternative needs to be investigated on my side (no big deal it is what it is). My internal proton-privoxy solution can probably be migrated to something else I already have running .. my guest network version may be more problemmatic. :-) |
Yeah agreed - a short term solution is better than leaving it broken though. A better solution would be a script that pulls the server list from https://api.protonmail.ch/vpn/logicals and generates the VPN config when the container starts - that'll take way longer to implement though. |
Thanks a lot for the issue and PR #47, @betterphp and @ab2022. After some adjustments, that PR was merged, and this issue should now be fixed. It's available on DockerHub: |
Thanks for the link to that discussion, @MyVizDrake. It's really unfortunate that ProtonVPN isn't planning on supporting any alternative to the CLI. While I've been with ProtonVPN for years, and generally hold them in high regard, this feels like a betrayal of their (perceived?) early "hacker-friendly" ethos. I'll have to start looking at alternative VPN providers, for one that supports the use case that this project requires. If it's easier to switch to a more CLI-friendly VPN service, than to implement a solution like what @betterphp is suggesting (limited in scope as it is), I don't mind voting with my wallet. |
@walterl if OpenVPN is OK, one could create a OpenVPN file that has all of the possible end points someone wants. I know I can download an OpenVPN file now for say, Belgium and I would get all of the Belgian ProtonVPN OpenVPN servers and I believe it will select one at random. This would be better than a single WG endpoint and a lot simpler than the idea that @betterphp proposed. Would be at the expense of tunnel speed being OpenVPN vs WG. I could be a guinea-pig (i.e. tester) if need be. I had been running your container for at least a year and really appreciate the effort you had put into it!!! |
@MyVizDrake |
Being able to pick the country with an environment variable was the main thing for me, not likely to be a generic solution for that since it would always require provider specific information. Thanks for sorting all that out @walterl <3 |
According to this Reddit post the CLI is no longer supported.
The text was updated successfully, but these errors were encountered: