Hi,
I have deployed a blackbox with the default configuration file to K8S, the 
problem is using http_2xx module with the target address of 
https://google.com I get this error in the debug mode:

ts=2021-04-10T16:17:34.956404139Z caller=main.go:304 module=http_2xx 
target=https://google.com level=info msg="Beginning probe" probe=http 
timeout_seconds=14.5 ts=2021-04-10T16:17:34.956566847Z caller=http.go:342 
module=http_2xx target=https://google.com level=info msg="Resolving target 
address" ip_protocol=ip4 ts=2021-04-10T16:17:34.974894624Z 
caller=http.go:342 module=http_2xx target=https://google.com level=info 
msg="Resolved target address" ip=172.217.168.46 
ts=2021-04-10T16:17:34.974998484Z caller=client.go:252 module=http_2xx 
target=https://google.com level=info msg="Making HTTP request" 
url=https://172.217.168.46 host=google.com 
ts=2021-04-10T16:17:45.095333388Z caller=main.go:119 module=http_2xx 
target=https://google.com level=error msg="Error for HTTP request" err="Get 
\"https://172.217.168.46\": net/http: TLS handshake timeout" 
ts=2021-04-10T16:17:45.095391758Z caller=main.go:119 module=http_2xx 
target=https://google.com level=info msg="Response timings for roundtrip" 
roundtrip=0 start=2021-04-10T16:17:34.975094791Z 
dnsDone=2021-04-10T16:17:34.975094791Z 
connectDone=2021-04-10T16:17:35.094979121Z gotConn=0001-01-01T00:00:00Z 
responseStart=0001-01-01T00:00:00Z end=0001-01-01T00:00:00Z 
ts=2021-04-10T16:17:45.09544815Z caller=main.go:304 module=http_2xx 
target=https://google.com level=error msg="Probe failed" 
duration_seconds=10.138987767

But using curl I can send get request to google.com:

[image: Screenshot from 2021-04-10 21-20-22.png]

-- 
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/22af07ef-60bd-47d6-8881-40036f4384een%40googlegroups.com.

Reply via email to