https://github.com/lldap/lldap logo
wymdad - Hi I have lldap behind traefik using t...
# troubleshooting
w
Hi I have lldap behind traefik using the following labels but I keep on getting a gateway timeout. Any suggestions: - "traefik.enable=true" - "traefik.http.routers.lldap.entrypoints=http" - "traefik.http.routers.lldap.rule=Host(
idm.<<my domain>>
)" - "traefik.http.middlewares.lldap-https-redirect.redirectscheme.scheme=https" - "traefik.http.routers.lldap.middlewares=lldap-https-redirect" - "traefik.http.routers.lldap-secure.entrypoints=https" - "traefik.http.routers.lldap-secure.rule=Host(
idm.<<my domain>>
)" - "traefik.http.routers.lldap-secure.tls=true" - "traefik.http.routers.lldap-secure.service=lldap" - "traefik.http.services.lldap.loadbalancer.server.port=17170" - "traefik.http.services.lldap.loadbalancer.server.scheme=http" - "traefik.docker.network=traefik-net" Note that: - I use the same settings for other containers and that works well - if I use lldap without traefik I can use the web UI normaly
a
message has been deleted
v
What does the traefik dashboard say? Has it detected it
k
Is your LLDAP container in the same network as the Traefik proxy? Here’s my labels for LLDAP: labels: - 'traefik.enable=true' - "traefik.http.routers.lldap.rule=Host(
ldap.local.mydomain.io
)" - "traefik.http.routers.lldap.entrypoints=https" - "traefik.http.routers.lldap.tls=true" - "traefik.http.routers.lldap.tls.certresolver=cloudflare" - 'traefik.http.routers.lldap.middlewares=authelia@docker' - 'traefik.http.services.lldap.loadbalancer.server.port=17170'
n
(in other words, can you ping the lldap container from inside the traefik one?)
w
Yes I can see it on the Traefik dashboard without any errors
Yes both are on the traefik-net network; thx for sharing your traefik labels, but I can not see anything in there that is pointing to where my problem is.
Yes I can ping to the IP address of the lldap container from within the Traefik container
Found it! I forgot to add the section:
Copy code
Networks:
  - traefik-net
Thanks your line of questioning helped