You are receiving  HTTP reply in 1.1 and your BB exporter expect 2 (which 
in new BB exporter have to be at least 2.0 btw)
 

On Saturday, April 11, 2020 at 3:37:13 PM UTC+2, Dominique Manas wrote:
>
> 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/a768f431-ed00-4e49-8dfe-4fc76846a8d4o%40googlegroups.com.

Reply via email to