Traefik v3 and immich

Setup:
  • Host: TrueNAS scale 24.10
  • Immich server 1.134.0
  • Traefik v3.4 (running on a different host). I have SSO via authentik, but even without using SSO the issue with uploading is present.
Usage:
  • Upload photos directly to the webservice exposed by TrueNAS works without problems.
    • Uploading through the reverse proxy provided by Traefik does not. I inserted the respondingTimeout section from https://immich.app/docs/administration/reverse-proxy .
    • I am not sure about how to troubleshoot this further and couldn't find any related posts here or via the forums and wanted to see if someone can point me in the right direction.
    • Same issue via android app or firefox (tried incognito).
    • Nothing remarkable in access.log other than slow calls (90-100s) to api/socket.io from the browser. I am not sure which logs from the docker containers on truenas would be helpful here.
Traefik configs below.

file config:
routers:
   immich:
     entryPoints: https
     rule: "Host(`....`)"
     tls: "true"
     service: immich

services:
  immich:
    loadBalancers:
       servers:
          - url: "http://truenasip:30041"
        passHostHeader: true (tried without this option also)


traefik.yaml:
  entryPoints:
     https:
       transport:
          respondingTimeouts:
             readTimeout: 600s
             idleTimeout: 600s
            writeTimeout: 600s
Was this page helpful?