On 8/7/20 4:52 PM, Abu Belal wrote: > What I discovered is if I try wget from the pod where promethues is > running I get this error > ``` > /prometheus $ wget > "https://promblackbox-lon.xxx.internal.live:443/probe?module=http_2xx&target=https%3A%2F%2Fwww.google.com" > Connecting to promblackbox-lon.sea.live:443 (10.53.10.244:443) > wget: note: TLS certificate validation not implemented > wget: short read, have only 0: Connection reset by peer > wget: error getting response: No such file or directory > ``` > > Same command from another pod (ubuntu) works fine
Hrm, had never seen this, but a quick Google search turns up this issue: https://github.com/docker-library/busybox/issues/80 And as I think the Prometheus docker images are based on busybox, this might explain the wget problem. I don't think a missing openssl implementation would cause issues for blackbox_exporter, as it uses Go's http/tls stack, as far as I understand. However, it might still rely on some default certificates. I suggest trying to get more blackbox_exporter logs and maybe trying to place a (relevant) ca bundle in the proper paths. This article may also help: https://www.robustperception.io/debugging-blackbox-exporter-failures Kind regards, Christian -- 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/3d1bc725-bc20-b465-cdce-0a485c272aa5%40hoffmann-christian.info.

