ImmichI
Immich11mo ago
Jack

Immich freezes on photo upload > 64kb

I'm running Immich on a local k8s cluster using the helm chart. Internal routing to ingress is done via Cilium/MetalLB BGP mode. I can connect to Immich fine, but when I try to upload images > 64kb, it hangs and then eventually fails (< 64kb upload ok). No obvious error messages either in the server pod debug logs or in Chrome's devtools console. However, when I skip the ingress by port-forwarding 2283 to localhost, everything works fine.

I've tried every annotation I can think of to get this working, including using Cillium's Envoy ingress and Gateway API, and nothing seems to work. Thoughts?

Here's my ingress:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: immich
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt
    nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
    nginx.ingress.kubernetes.io/proxy-body-size: "0"
spec:
  ingressClassName: nginx
  rules:
  - host: immich.example.com
    http:
      paths:
      - pathType: Prefix
        path: "/"
        backend:
          service:
            name: immich-server
            port:
              number: 2283
  tls:
  - hosts:
    - immich.example.com
    secretName: immich.example.com-tls
Was this page helpful?