Closed alanmoment closed 3 years ago
I got this error from receive. How can I solve it?
level=error ts=2021-04-15T07:31:53.789289648Z caller=handler.go:331 component=receive component=receive-handler err="forwarding request to endpoint http://receive-dev.thanos.svc.cluster.local:19291/api/v1/receive: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: address http://receive-dev.thanos.svc.cluster.local:19291/api/v1/receive: too many colons in address\"" msg="internal server error"
The endpoints in hashring.json needs protocol ? ref: https://github.com/dsayan154/thanos-receiver-demo
The generate hashring.json content is
apiVersion: v1 data: hashrings.json: '[{"hashring":"receive-dev","tenants":["receive-dev"],"endpoints":["http://receive-dev.thanos.svc.cluster.local:19291/api/v1/receive"]}]' kind: ConfigMap ...
When I use quay.io/observatorium/thanos-receive-controller:latest problem is solved
quay.io/observatorium/thanos-receive-controller:latest
I got this error from receive. How can I solve it?
The endpoints in hashring.json needs protocol ? ref: https://github.com/dsayan154/thanos-receiver-demo
The generate hashring.json content is