Closed alricsans closed 10 months ago
Hi,
we are also using traefik as reverse proxy for both the public app.titra.io instance and our internal hosted services.
The ROOT_URL is definitely correct and also all other entries look very similar to our setup (always hard to compare apples to apples unfortunately).
The only thing I could spot is that we also have this line for ssl certificate generation using letsencrypt:
- traefik.http.routers.titra.tls.certresolver=le
.. but I guess you are using self-signed certificates and that is working somehow different in traefik.
The fact that titra is reachable through the IP at least confirms that the setup is working, I think the culprit is somewhere in your traefik configuration.
Some other slight differences I could spot in our traefik configuration:
I hope any of the information above helps you to troubleshoot the issue! Sorry for not being able to help more, Fabian
Thanks a lot @faburem for your answer.
You are right I use self signed certificates. I tried the slight differences you mentionned with ports and entrypoint but that did not resolve the problem.
But I saw from the very beginning that Gateway timeout
were often caused by docker network problems, so if anyone has the same problem, the fix was to add a name to the docker network.
networks:
traefik-network:
name: traefik-network
driver: bridge
titra-back:
driver: bridge
I don't have a deep understanding of what happens under the hood but that fixed my problem (containers not on the same network from traefik's perspective I guess).
Thanks again for your time and work on this project.
Hello,
First of all thanks a lot for your work on titra.
I had a look at similar issues already reported here (#21, #135, #106), so I believe there is something wrong with my
ROOT_URL
variable.My goal is to reach
titra
via traefik global https redirection (url :https://titra.example.local
).When I use
ROOT_URL=http://192.168.1.23:3000
(the actual IP and port), I can reach it using http://192.168.1.23:3000 but this doesn't go through traefik and is thus in http only.When I use
ROOT_URL=https://titra.example.local
I get aGateway Timeout
.My
docker-compose.yml
file looks like this :I already have several other containers reached using those traefik labels, and the logs of traefik are normal.
Do you spot any error in my
docker-compose
config ? Ishttps://titra.example.local
the right entry forROOT_URL
?Thanks a lot,