Strange log output from prometheus notifier

33 views
Skip to first unread message

Valeriy Bratkevich

unread,
Feb 19, 2020, 10:31:11 AM2/19/20
to Prometheus Users
I have strange log output from prometheus(prom/prometheus:v2.14.0) and alertmaneger(prom/alertmanager:v0.19.0) logs

Example:
level=error ts=2020-02-19T09:33:57.939Z caller=notifier.go:528 component=notifier alertmanager=http://alertmanager.example.com:80/api/v1/alerts count=11 msg="Error sending alert" err="Post http://alertmanager.example.com:80/api/v1/alerts: net/http: HTTP/1.x transport connection broken: malformed HTTP response \"\\x00\\x00\\x12\\x04\\x00\\x00\\x00\\x00\\x00\\x00\\x03\\x00\\x00\\x00\\x80\\x00\\x04\\x00\\x01\\x00\\x00\\x00\\x05\\x00\\xff\\xff\\xff\\x00\\x00\\x04\\b\\x00\\x00\\x00\\x00\\x00\\u007f\\xff\\x00\\x00\\x00\\x00\\b\\a\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x01\""

I tried to decode sybols but nothing. How I can understand whats going on? Can you help me please?

Julien Pivotto

unread,
Feb 19, 2020, 11:07:38 AM2/19/20
to Valeriy Bratkevich, Prometheus Users
Hello,

You are probably speaking to a TLS/HTTP2-enabled server. Try using https.

>
> --
> You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/2673f213-1fc3-4c59-801e-4288ae283b58%40googlegroups.com.


--
(o- Julien Pivotto
//\ Open-Source Consultant
V_/_ Inuits - https://www.inuits.eu
signature.asc
Reply all
Reply to author
Forward
0 new messages