Hi,

I want to check HTTP/2 support but it doesn't work:

*Configuration*: blackbox_exporter-0.16.0.windows-amd64

*Config file with this entry specification:*
modules:
http_2xx:
prober: http
timeout: 5s
http:
valid_http_versions: ["HTTP/2"]

*Check URL*: 
http://localhost:9115/probe?target=https://http2.pro&module=http_2xx&debug=true

*Debug result:*

Logs for the probe:
ts=2020-04-11T11:23:52.9416524Z caller=main.go:304 module=http_2xx target=
https://http2.pro level=info msg="Beginning probe" probe=http 
timeout_seconds=5
ts=2020-04-11T11:23:52.9416524Z caller=http.go:318 module=http_2xx target=
https://http2.pro level=info msg="Resolving target address" ip_protocol=ip6
ts=2020-04-11T11:23:52.9426513Z caller=http.go:318 module=http_2xx target=
https://http2.pro level=info msg="Resolved target address" ip=8.9.5.7
ts=2020-04-11T11:23:52.9426513Z caller=client.go:250 module=http_2xx target=
https://http2.pro level=info msg="Making HTTP request" url=https://8.9.5.7
 host=http2.pro
ts=2020-04-11T11:23:53.239651Z caller=main.go:119 module=http_2xx target=
https://http2.pro level=info msg="Received HTTP response" status_code=200
ts=2020-04-11T11:23:53.240652Z caller=main.go:119 module=http_2xx target=
https://http2.pro level=error msg="Invalid HTTP version number" version=1.1
ts=2020-04-11T11:23:53.240652Z caller=main.go:119 module=http_2xx target=
https://http2.pro level=info msg="Response timings for roundtrip" 
roundtrip=0 start=2020-04-11T13:23:52.9426513+02:00 
dnsDone=2020-04-11T13:23:52.9426513+02:00 
connectDone=2020-04-11T13:23:53.0386606+02:00 
gotConn=2020-04-11T13:23:53.1406515+02:00 
responseStart=2020-04-11T13:23:53.239651+02:00 
end=2020-04-11T13:23:53.240652+02:00
ts=2020-04-11T11:23:53.240652Z caller=main.go:304 module=http_2xx target=
https://http2.pro level=error msg="*Probe failed*" 
duration_seconds=0.2989996

Where is my mistake ??

Thx a lot

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/f19cdd59-8a8f-4add-b49f-17ddab67f571%40googlegroups.com.

Reply via email to