Troubleshooting
This page documents some of the common pains with atuin-server.
Missing client addresses in logs
Section titled “Missing client addresses in logs”If you are running a reverse proxy, atuin-server, by default, only sees the
proxy’s IP address, so request logs show that instead of the real client.
Proxies pass the original address along in a header, usually X-Forwarded-For,
but as any client can set that header it’s only honoured for connections that
come from a proxy you list in trusted_proxies:
trusted_proxies = ["172.18.0.0/16", "10.0.0.1"]or, via the environment variable:
ATUIN_TRUSTED_PROXIES="172.18.0.0/16,10.0.0.1"If your proxy reports the client in a different header, name it with
trusted_proxy_header (or ATUIN_TRUSTED_PROXY_HEADER):
trusted_proxy_header = "X-Real-IP"