IPV6 Setup Issues
I setup and see where IPV6 is listening on port 2283 on the host but am getting the following error on my NGINX host proxy
I also cannot access immich at http://[hostIPV6address]:2283
33 Replies
2283 is the API aka server container, not web though?
2283 -> 8080
?
in the Proxy container
What do the logs in the immich_proxy container say?
That snippet was from that, bo0tzz.
oh I thought that was from an upstream reverse proxy, my bad
the snippet is from my NGINX proxy
Oh
so its double proxy technically
Can you post the full logs from immich_proxy as well?
I can't connect to the container via console, only see the logs in the portainer view
I have portainer working via IPV6 through docker also
There should be access logs...
let me see if I can connect via command line
I got in with sh
cat access.log just sits there
and never returns lol
access logs are turned off
https://github.com/immich-app/immich/blob/main/nginx/templates/default.conf.template#L27
yea just saw the sym link...
Oh, right in Immich proxy container.
that file is owned by root so can't change it
I wonder if its all the forwarding inside the network through IPV4
or maybe not
I dont know...
I turned that access log on but its still symlinked to stdout
That's not how it works. You need to use docker logs to see them
well there is nothing in the docker logs thats different
nor do I see really anything in the docker logs when I try to access http://[IPV6]:2283
When Nginx starts (in immich) it should execute the 10-listen-on-iv6-by-default script and log some stuff to indicate if ipv6 is enabled or not.
in netstat -a I see it listening on 2283 on IPV6
tcp6 0 0 [::]:2283 [::]:* LISTEN
on the host machine
Are you expecting inter-container communication to use ipv6?
I am expecting IPV6 all the way to the container at least
so from browser to container, but it should be able to do inter-ctainer communication IPV6
It looks like it is listening on ipv6.
I setup IPV6 on the network
docker network
that the containers are using
and they have FD00: addresses

What's the error right now?
well with the proxy on the host
Thats using the domain.com address I have setup for it
But if I do
[IPV6address of host]:2283 it does not load
inside the network
I don't understand. Can't you connect directly to 2283 via ipv6?
inside my home network where the host lives (and outside) no
but I can access other services through IPV6 on the same host
just not the 2283 immich service
so for example portainer is running on docker on the same host and I can access it through [IPV6]:9000
and same for a few other services
but trying to get immich to work also through IPV6
Can you upload the logs for all the immich containers?
There had to be some errors that indicate the connection is failing somewhere. Not sure what the issue is unless you can find that. I don't know if anyone has run inter container communication via ipv6 to my knowledge
yea im not seeing any errors in the containers
ill switch back to IPV4 for now and look into pulling it into a local machine to do a bunch of testing
We might have to validate that, even though the container is assigned an ipv6 address, that they bind/listen to that interface too
I looked a the server and in the log it just showed 0.0.0.0:3000
so it might not be doing that on IPV6 also
If I turn up an simple express app with listen(port) I am able to connect to http://[::1]:port
so express might handle listening on both ports automatically