I have setup with swarm since nginx has no https c...
# general
p
I have setup with swarm since nginx has no https certs and so I want ot use the Traefik config that is providing me the certs but I get this error:
Copy code
clickhouseReader/reader.go:122	failed to initialize ClickHouse: error connecting to primary db: dial tcp: lookup clickhouse on 127.0.0.11:53: no such host
but if i login in query-service:
Copy code
~ # ping clickhouse
PING clickhouse (10.0.118.188): 56 data bytes
64 bytes from 10.0.118.188: seq=0 ttl=64 time=0.237 ms
64 bytes from 10.0.118.188: seq=1 ttl=64 time=0.145 ms
64 bytes from 10.0.118.188: seq=2 ttl=64 time=0.095 ms
v
@Prashant Shahi Might be able to help
p
@Paolo Calvi can you try connecting with
clickhouse-client
from query-service container? Use
apk
commands to install the
clickhouse-client
.
ClickHouse container state and logs could be helpful as well.
a
@Prashant Shahi should we look into supporting traefik out of box?
p
@Ankit Nayan I remember doing that. But we introduced additional traefik component by that, while also using Nginx in frontend image.
a
oh
p
@Prashant Shahi see here
@Prashant Shahi @Ankit Nayan The most important is to give a way to have https out of the box
a
noted..thanks