#Immich with Reverse Proxying sometimes doesn't work

1 messages · Page 1 of 1 (latest)

tender tangle
#

Hello,
I am new to Immich and I've just managed to set it up on my NAS. I've also set up reverse proxying by running nginx-proxy-manager and I get access from my domain and it seems to work well. However, sometimes I've noticed that accessing it from my domain throws an error saying it cannot load dynamic assets (it always seems to be a JS script). It works if I refresh after a few tries and it always works if I access it from my local NAS address, so it seems it's only related to the reverse proxy. Any idea what could be the issue and how I could fix it?

modern sleetBOT
#

:wave: Hey @tender tangle,

Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich immich.

References

Checklist

  1. :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time).
  2. :ballot_box_with_check: I have read applicable release notes.
  3. :ballot_box_with_check: I have reviewed the FAQs for known issues.
  4. :ballot_box_with_check: I have reviewed Github for known issues.
  5. :ballot_box_with_check: I have tried accessing Immich via local ip (without a custom reverse proxy).
  6. :ballot_box_with_check: I have uploaded the relevant logs, docker compose, and .env files, making sure to use code formatting.
  7. :ballot_box_with_check: I have tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable

(an item can be marked as "complete" by reacting with the appropriate number)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

modern sleetBOT
tender tangle
#
[Nest] 7  - 11/07/2024, 1:00:25 PM     LOG [Microservices:VersionService] Found v1.120.0, released at 11/6/2024, 4:47:19 PM
[Nest] 17  - 11/07/2024, 1:13:25 PM     LOG [Api:EventRepository] Websocket Connect:    40JHP7EWYaEQKsvWAADn
[Nest] 17  - 11/07/2024, 1:14:17 PM     LOG [Api:EventRepository] Websocket Disconnect: 40JHP7EWYaEQKsvWAADn
[Nest] 17  - 11/07/2024, 1:14:26 PM     LOG [Api:EventRepository] Websocket Connect:    tNsUGm2fOxPBQXUzAADp
[Nest] 17  - 11/07/2024, 1:14:43 PM     LOG [Api:EventRepository] Websocket Disconnect: tNsUGm2fOxPBQXUzAADp
[Nest] 17  - 11/07/2024, 1:15:01 PM     LOG [Api:EventRepository] Websocket Connect:    RJKtCtHU6qf-ZTI3AADr
[Nest] 17  - 11/07/2024, 1:15:05 PM     LOG [Api:EventRepository] Websocket Disconnect: RJKtCtHU6qf-ZTI3AADr
[Nest] 17  - 11/07/2024, 1:15:07 PM     LOG [Api:EventRepository] Websocket Connect:    ZFTtsfjEMNCGAe11AADt
[Nest] 17  - 11/07/2024, 1:15:20 PM     LOG [Api:EventRepository] Websocket Disconnect: ZFTtsfjEMNCGAe11AADt
[Nest] 17  - 11/07/2024, 1:15:25 PM     LOG [Api:EventRepository] Websocket Connect:    vSo8onB3PFodyzd9AADv
[Nest] 17  - 11/07/2024, 1:15:34 PM     LOG [Api:EventRepository] Websocket Connect:    ayijvszBUH6-BUwwAADx
[Nest] 17  - 11/07/2024, 1:15:54 PM     LOG [Api:EventRepository] Websocket Disconnect: ayijvszBUH6-BUwwAADx
[Nest] 17  - 11/07/2024, 1:16:08 PM     LOG [Api:EventRepository] Websocket Disconnect: vSo8onB3PFodyzd9AADv
[Nest] 17  - 11/07/2024, 1:26:00 PM     LOG [Api:EventRepository] Websocket Connect:    jDlFFjSFjkq45KFUAADz
[Nest] 17  - 11/07/2024, 1:31:07 PM     LOG [Api:EventRepository] Websocket Connect:    uGUpNYbsOqz0g1_qAAD1
[Nest] 17  - 11/07/2024, 1:32:10 PM     LOG [Api:EventRepository] Websocket Disconnect: uGUpNYbsOqz0g1_qAAD1
[Nest] 17  - 11/07/2024, 1:39:27 PM     LOG [Api:EventRepository] Websocket Connect:    a9TwCSalisskMiTbAAD3
#

not sure if those logs help in any way, they're the relevant ones from when I tried to connect

#

this is the error message I get (covered the domain)

pure valve
#

I don't immediately recognize the issue so take this with a grain of salt.
It might be an HTTPS issue. If I understand correctly from the error message, the backend is using HTTPS instead of HTTP.