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: setting control server auth breaks public ip fetching #2603

Open
usma0118 opened this issue Nov 27, 2024 · 2 comments
Open

Bug: setting control server auth breaks public ip fetching #2603

usma0118 opened this issue Nov 27, 2024 · 2 comments

Comments

@usma0118
Copy link

Is this urgent?

No

Host OS

No response

CPU arch

x86_64

VPN service provider

VPNUnlimited

What are you using to run the container

Kubernetes

What is the version of Gluetun

2024-11-18T09:49:16.711Z (commit 68ddbfc)

What's the problem 🤔

Applying following config:

[[roles]]
name = "qbittorrent"
routes = ["GET /v1/publicip/ip","GET /v1/vpn/status"]
auth = "none"

Public ip is not retrieved.

removing config.toml fixes the problem.

Share your logs (at least 10 lines)

2024-11-27T19:39:07+01:00 INFO [healthcheck] healthy!
2024-11-27T19:39:07+01:00 INFO [http server] 200 GET /status wrote 21B to [::1]:36952 in 39.552µs
2024-11-27T19:39:07+01:00 INFO [http server] 200 GET /status wrote 21B to [::1]:36964 in 18.364µs
2024-11-27T19:39:07+01:00 INFO [http server] 200 GET /ip wrote 17B to [::1]:36972 in 46.351µs
2024-11-27T19:39:09+01:00 INFO [dns] DNS server listening on [::]:53
2024-11-27T19:39:09+01:00 INFO [http server] 200 GET /ip wrote 17B to [::1]:36982 in 29.414µs
2024-11-27T19:39:10+01:00 INFO [dns] ready
2024-11-27T19:39:11+01:00 INFO [http server] 200 GET /ip wrote 17B to [::1]:49802 in 23.652µs
2024-11-27T19:39:12+01:00 ERROR [vpn] getting public IP address information: fetching information: decoding response: gzip: invalid header
2024-11-27T19:39:12+01:00 INFO [vpn] You are running on the bleeding edge of latest!
2024-11-27T19:39:13+01:00 INFO [http server] 200 GET /ip wrote 17B to [::1]:49806 in 22.851µs
2024-11-27T19:39:15+01:00 INFO [http server] 200 GET /ip wrote 17B to [::1]:49808 in 25.703µs
2024-11-27T19:39:17+01:00 INFO [http server] 200 GET /ip wrote 17B to [::1]:49818 in 25.003µs
2024-11-27T19:39:19+01:00 INFO [http server] 200 GET /ip wrote 17B to [::1]:49826 in 27.147µs
2024-11-27T19:39:21+01:00 INFO [http server] 200 GET /ip wrote 17B to [::1]:54086 in 22.044µs

Share your configuration

No response

Copy link
Contributor

@qdm12 is more or less the only maintainer of this project and works on it in his free time.
Please:

@qdm12
Copy link
Owner

qdm12 commented Dec 18, 2024

Can you please recheck?

The error you get getting public IP address information: fetching information: decoding response: gzip: invalid header is highly likely unrelated to the control server and its auth system, these are completely separate and unrelated code pieces.

@qdm12 qdm12 changed the title Bug: Bug: setting control server auth breaks public ip fetching Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants