Bug: Surfshark updater not enough servers found
pmorch opened this issue · comments
Is this urgent?
No
Host OS
NixOS
CPU arch
x86_64
VPN service provider
Surfshark
What are you using to run the container
docker run
What is the version of Gluetun
Running version latest built on 2024-04-08T07:43:05.096Z (commit 7b4befc)
What's the problem 🤔
This does not work:
$ wget -O data/servers.json https://raw.githubusercontent.com/qdm12/gluetun/master/internal/storage/servers.json
$ sudo docker run --rm -v ./data:/gluetun qmcgaw/gluetun update -enduser -providers surfshark
Share your logs (at least 10 lines)
2024-04-27T23:33:10Z INFO merging by most recent 19476 hardcoded servers and 19476 servers read from /gluetun/servers.json
2024-04-27T23:33:11Z INFO updating Surfshark servers...
2024-04-27T23:33:18Z WARN reached the maximum number of consecutive failures: 2 failed attempts resolving us-tpa.prod.surfshark.com: lookup us-tpa.prod.surfshark.com on 8.8.8.8:53: no such host
2024-04-27T23:33:18Z WARN reached the maximum number of consecutive failures: 2 failed attempts resolving us-orl.prod.surfshark.com: lookup us-orl.prod.surfshark.com on 8.8.8.8:53: no such host
2024-04-27T23:33:18Z WARN reached the maximum number of consecutive failures: 2 failed attempts resolving mx-mex.prod.surfshark.com: lookup mx-mex.prod.surfshark.com on 8.8.8.8:53: no such host
2024-04-27T23:33:18Z WARN reached the maximum number of consecutive failures: 2 failed attempts resolving us-stl.prod.surfshark.com: lookup us-stl.prod.surfshark.com on 8.8.8.8:53: no such host
2024-04-27T23:33:18Z WARN note: if running the update manually, you can use the flag -minratio to allow the update to succeed with less servers found
2024-04-27T23:33:18Z ERROR updating server information: getting servers: not enough servers found: 182 and expected at least 292
2024-04-27T23:33:18Z INFO Shutdown successful
Share your configuration
sudo docker run --rm -v ./data:/gluetun qmcgaw/gluetun update -enduser -providers surfshark
fails, but adding -minratio 0.2
made it work. (-minratio 0.5
was still too much.)
As far as I can tell, surfshark worked for me both before and after the update using:
VPN_SERVICE_PROVIDER=surfshark
and SERVER_HOSTNAMES=ch-zur.prod.surfshark.com
.
I'm running it from Switzerland.
@qdm12 is more or less the only maintainer of this project and works on it in his free time.
Please:
- do not ask for updates, be patient
- 👍 the issue to show your support instead of commenting
@qdm12 usually checks issues at least once a week, if this is a new urgent bug,
revert to an older tagged container image
Closed issues are NOT monitored, so commenting here is likely to be not seen.
If you think this is still unresolved and have more information to bring, please create another issue.
This is an automated comment setup because @qdm12 is the sole maintainer of this project
which became too popular to monitor issues closed.