-
Notifications
You must be signed in to change notification settings - Fork 254
Open
Description
Hi,
I have upgraded successfully from 5 to 6.
In the upgrade process in some versions of 5.X it was indicated to add the following section to config/nginx/nginx.conf
http {
resolver 127.0.0.11 ipv6=off valid=10s;
upstream sharelatex {
zone dns 64k;
server sharelatex:80 resolve;
}
...
}
which gave me the following errors in nginx logs:
nginx | 2025/12/01 08:50:35 [error] 23#23: sharelatex could not be resolved (110: Operation timed out)
nginx | 2025/12/01 08:51:05 [error] 23#23: recv() failed (111: Connection refused) while resolving, resolver: 127.0.0.11:53
nginx | 2025/12/01 08:51:10 [error] 23#23: recv() failed (111: Connection refused) while resolving, resolver: 127.0.0.11:53
nginx | 2025/12/01 08:51:15 [error] 23#23: recv() failed (111: Connection refused) while resolving, resolver: 127.0.0.11:53
nginx | 2025/12/01 08:51:20 [error] 23#23: recv() failed (111: Connection refused) while resolving, resolver: 127.0.0.11:53
nginx | 2025/12/01 08:51:25 [error] 23#23: recv() failed (111: Connection refused) while resolving, resolver: 127.0.0.11:53
nginx | 2025/12/01 08:51:30 [error] 23#23: recv() failed (111: Connection refused) while resolving, resolver: 127.0.0.11:53
Commenting out the section allow nginx to work properly but I am wondering if I am not missing anything important for coming udpates by removing part of the recommended configuration.
I am not a docker expert and tried to find info on docker internal resolver to see if there was anything bad in my vm config without success. This is probably something trivial I have overlooked.
My containers:
root> docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e6ac5a6b6172 nginx:1.28-alpine "/docker-entrypoint.…" 15 minutes ago Up 13 minutes 127.0.1.1:80->80/tcp, 10.178.127.16:443->443/tcp nginx
dd5563b0436c sharelatex/sharelatex:6.0.1-with-texlive-full "/sbin/my_init" 2 days ago Up 13 minutes 127.0.0.1:80->80/tcp 55807200e3ea_sharelatex
5c61755c960f mongo:8.0 "docker-entrypoint.s…" 2 days ago Up 13 minutes (healthy) 27017/tcp mongo
9bf14f0d8a7c redis:6.2 "docker-entrypoint.s…" 5 months ago Up 13 minutes 6379/tcp redis
Metadata
Metadata
Assignees
Labels
No labels