Replies: 1 comment 1 reply
-
You don't have to do anything with the You simply need to proxy back to your local immich instance at |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The bug
Honestly I'm not sure there is anything wrong as things seem to be working, but I worry there is something wrong with my swag setup in front of the proxy.
In my proxy log I see a bunch of connection refused messages. The client is always the gateway IP and the destination is always a /api endpoint. Here are a few:
2023/11/10 15:18:47 [error] 41#41: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.20.0.1, server: , request: "GET /api/socket.io/?EIO=4&transport=polling&t=Okvq74V HTTP/1.1", upstream: "http://172.20.0.8:3001/socket.io/?EIO=4&transport=polling&t=Okvq74V", host: "", referrer: "https:///photos"
2023/11/10 15:18:51 [error] 44#44: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 172.20.0.1, server: , request: "GET /api/server-info HTTP/1.1", upstream: "http://172.20.0.8:3001/server-info", host: "", referrer: "https:///photos"
2023/11/10 15:18:52 [error] 45#45: *5 connect() failed (111: Connection refused) while connecting to upstream, client: 172.20.0.1, server: , request: "GET /api/socket.io/?EIO=4&transport=polling&t=Okvq8Io HTTP/1.1", upstream: "http://172.20.0.8:3001/socket.io/?EIO=4&transport=polling&t=Okvq8Io", host: "", referrer: "https:///photos"
2023/11/10 15:18:52 [error] 42#42: *13 connect() failed (111: Connection refused) while connecting to upstream, client: 172.20.0.1, server: , request: "GET /api/server-info/features HTTP/1.1", upstream: "http://172.20.0.8:3001/server-info/features", host: "", referrer: "https:///auth/login"
Here is my swag config. All of the other settings you mention for "set" were already in my proxy.conf. Do I need to do something special for the /api location?
server {
listen 443 ssl;
listen [::]:443 ssl;
}
~
The OS that Immich Server is running on
docker on 6.1.0-0.deb11.11-amd64
Version of Immich Server
v1.85.0
Version of Immich Mobile App
not in use for this issue
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions