Getting "401 Authorization Required" When Accessing Traccar via Domain, But IP Works

sunnycoder4 days ago

Hello everyone,

I’ve run into a strange issue and would appreciate some help.

My local Traccar server works perfectly. When I enter my public IP followed by port :8082, I can access it from other devices both, inside and outside, my home network.

However, when I link that IP to a domain (using an A record), and try to access it via the domain (e.g., http://mydomain.com:8082), I get this message in the browser:

401 Authorization Required
nginx

I’ve never had this issue before.

Here are the only entries in my logs:

2025-05-17 16:28:59  WARN: HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=17h14m49s733ms482µs600ns).
2025-05-17 16:34:42  INFO: login failed from: [0:0:0:0:0:0:0:1]

The login fail was from me trying to log into the locally hosted server — unrelated to the domain issue (as far as I know).

Has anyone else experienced this? Could this be a reverse proxy issue? Or something related to the domain host configuration?

Thanks in advance!

sunnycoder4 days ago

Nevermind! It's resolved. Thanks again!