ImmichI
Immich4mo ago
VJ

caddy reverse proxy issue with the android app

I am on v1.141.1 and so is my android app. I was facing some issues with delayed sync and decided to log out and log back in again. Now, I can log in normally with my local IP and everything looks fine. But if I try to log in with my reverse proxy. I get the following error message in my app (see the screenshot). Of course, everything is working perfectly fine on the browser. I started this discussion in the immich channel as well. Here's the anchor.

Another note, everything used to work fine with the current reverse proxy setup until v1.140.0

I am using caddy as my reverse proxy with no caching mechanism. Here's my Caddyfile.

Looking for a positive discussion.

{
        email <my_email_id>
}

(hetzner_dns) {
        tls {
                dns hetzner {$HETZNER_API_KEY}
                propagation_timeout 2m
                resolvers 1.1.1.1
        }
}

(central_logging) {
    log {
        output stdout
        format json {
            time_format "2006-01-02 15:04:05 MST"
            time_local
        }
    }
}

http:// {
        redir https://{host}{uri} permanent
}

photos.homelab.example.com {
        import hetzner_dns
        import central_logging
        reverse_proxy http://192.168.1.32:2283
        encode gzip
}
immich_app_error.png
Was this page helpful?