#Fail to get Websocket connection on IPv6

1 messages · Page 1 of 1 (latest)

viral arch
#

I have a server with a Nginx reverse proxy. The proxy holds the SSL end point and converts from IPv6 to IPv4, YAY!
For the most part it does this very well (Though I get some issues in non-ssl :S but that might eb for a different time)

When connecting via IPv6 it cannot connect to the server to get the server information.

My NGinx config: attached

My docker-compose.yml: attached

There is NO Nginx log entry for the occurance (access OR error), which makes me believe it in the web/src/lib/stores/websocket.ts code.
I believe that when the client is accessing via IPv6, it doesnt correctly request the websocket, therefore, not even reaching Nginx

Could someone give me a hint if i am doing something wrong?

solemn sandalBOT
#

:wave: Hey @viral arch,

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.

viral arch
#

Thank you for your notes. Because of the checklist, I also went though and connected via IPv6 directly to Immich. And the connection still failed via websocket

solemn sandalBOT
viral arch
#

Attached is the output from my browser (Firefox & Brave).

This is my immich output (in DEBUG): Attached
The websocket didnt seem to even reach the server

pallid oak
#

This turned out to be a bug #11508

solemn sandalBOT
pallid oak
#

If you're comfortable with it, you could try if that fixes your issue by using ghcr.io/immich-app/immich-server:pr-11508 as the image for the immich-server container

mental pilot
#

If you do that, make sure to have good backups

viral arch
#

Gave it a go, but got this error from Docker compose:

pallid oak
#

The image was deleted when the PR got merged, you can use ghcr.io/immich-app/immich-server:main if you still want to try

viral arch
#

Awesome! Ill give it a go, cheers

viral arch
#

Works! 😄 Cheers