Inifinite Loading screen/Gateway timeout after fresh installation

I have just installed a fresh instance of Directus using the provided docker compose (this is my modifed compose) but I am not able to access it whatsoever. The logs do not indicate any error or emit any warnings. I have tried with Traefik v3 (seen in the config above), NGinX Proxy Manager and with a directly exposed port, but each time either the page never renders and I just see a title bar saying “Loading…” or the reverse proxy bails with a 504 Gateway timeout.

I have looked through a handful of GitHub issues/discussions both about Directus not loading and traefik/reverse-proxy-specific issues and applied/tried things mentioned there, but to no avail.

Does anybody have an idea what is going on or is experiencing the same thing?

Cheers

also confirming that it is not a browser-related issue, tested on firefox, zen, dafari and chrome

The compose didn't include the traefik config. I guess there might be an issue over there. I would 1) Enable and check the traefik dashboard for any errors 2) check the traefik container logs for errors 3) check the directus container logs for any errors. 4) Disable TLS to temporary remove lets encrypt from the equation

https://pastes.dev/yKqSt3b5U0 This is my whole traefik configuration. Again, no errors in both logs and dashboards, other services route fine aswell.

And as I mentioned in the compose at the beginning, I already tried without tls but got the same error

1 Answer

1

It basically looked good to me so I asked ChatGPT and it feels confident that traefik.port might be the issue.

that does nothing, as I mentioned I tried with several reverse proxies and even exposed the port directly which resulted in the same problem.

actually to correct myself, I now immediately get a bad gateway so this actually made it worse.

I would consider this as success compared to a blank page and zero log output ;)