chartmuseum icon indicating copy to clipboard operation
chartmuseum copied to clipboard

ETCD backend - empty output

Open DanielChern opened this issue 6 years ago • 1 comments

I am using chartmuseum v0.11.0 (v0.10.0 got same issue) and etcd v2.0.9 When I am running :

chartmuseum --debug --port=8080 \
    --storage="etcd" \
    --storage-etcd-cafile="./cert/server.crt" \
    --storage-etcd-certfile="./cert/serverCrt.crt" \
    --storage-etcd-keyfile="./cert/serverKey.key" \
    --storage-etcd-prefix="/chartmuseum" \
    --storage-etcd-endpoint="http://localhost:2379"

The output is always empty , may be I am doing something wrong - but I have no exception or even some kind of logs.

DanielChern avatar Dec 18 '19 06:12 DanielChern

Hi. Are you using etcd with tls? I think you should use https scheme, e.g. httpS://localhost:2379 then.

In my case on etcd endpoint were such logs if pass http scheme.

etcd[1082]: rejected connection from "10.0.2.2:34022" (error "tls: first record does not look like a TLS handshake", ServerName "")

spigell avatar Jun 24 '20 10:06 spigell