jittering / traefik-kop

A dynamic docker->redis->traefik discovery agent
MIT License
179 stars 13 forks source link

KV connection error #31

Closed BangerTech closed 7 months ago

BangerTech commented 7 months ago

Hey guys, as the title says i´ll get: level=error msg="KV connection error: KV store connection error: dial tcp: lookup redis: i/o timeout, retrying in 324.987404ms" providerName=redis For my understanding ;-) i got two server: Master (192.168.2.182) and Slave (192.168.2.55) i put redis: endpoints: -"redis:6379" in the traefik.yml on the Master and start the traefik container. Then i create a new container on the Slave, where i put as REDIS_ADDR=192.168.2.182:6379 and BIND_IP=192.168.2.55 then when i start both containers i´ll get above error. Maybe i´m on the wrong path here ;-) thanks

BangerTech commented 7 months ago

side note maybe the problem is that I'm running a traefik container on the slave too?

BangerTech commented 7 months ago

so now i´ve stoped the traefik container on slave and i get (Slave Side) level=fatal msg="failed to connect to redis: dial tcp 192.168.2.182:6379: connect: connection refused" traefik-kop-traefik-kop-1 exited with code 0

BangerTech commented 7 months ago

got it 😅 was stupid and forgot to put the redis service in the docker-compose file of traefik... 🙈