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

Bug: How is servers.json created? #2164

Closed
ezekieldas opened this issue Mar 18, 2024 · 2 comments
Closed

Bug: How is servers.json created? #2164

ezekieldas opened this issue Mar 18, 2024 · 2 comments

Comments

@ezekieldas
Copy link

Is this urgent?

No

Host OS

Ubuntu

CPU arch

x86_64

VPN service provider

Mullvad

What are you using to run the container

docker-compose

What is the version of Gluetun

Running version latest built on 2024-03-07T12:32:25.391Z (commit 3254fc8)

What's the problem 🤔

I brought this up in Discussions last year (see below) but haven't heard anything on it. Now I'm working with Mullvad and find the same issue: no Mexico servers in servers.json. While I understand how my container's servers.json is updated, how is this updated? https://github.com/qdm12/gluetun/tree/master/internal/storage
Is there a reason why not all servers are being included?

#1918

Share your logs (at least 10 lines)

No logs associated

Share your configuration

Limited to: 

SERVER_COUNTRIES="Canada,USA"

Would like to see:

SERVER_COUNTRIES="Mexico,Canada,USA"
@qdm12
Copy link
Owner

qdm12 commented Mar 19, 2024

Mullvad servers are downloaded using this code:

func (u *Updater) FetchServers(ctx context.Context, minServers int) (

See also https://github.com/qdm12/gluetun-wiki/blob/main/faq/others.md#server-information (you can update servers yourself)

Then Gluetun merges servers it has "built-in" with servers you have bind mounted in /gluetun/servers.json, and picks the most recent one (by vpn provider timestamp).

@qdm12 qdm12 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 19, 2024
Copy link
Contributor

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.

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

2 participants