Hi all, We are trying to use blackbox exporter to monitor one of the URL using http_2xx module and bearer token at job level for authorization, we are receiving following error message and probe failed
level=info msg="Address does not match first address, not sending TLS ServerName" first=IP address=<hostname> level=info msg="Invalid HTTP response status code, wanted 2xx" status_code=403 level=error msg="Probe failed" duration_seconds=0.231352246 Connectivity from prometheus pod /prometheus $ wget -S <URL> Connecting to <URL> (xx.x.xx.x:80) HTTP/1.1 302 Moved Temporarily Date: Fri, 23 Jun 2023 09:07:18 GMT Content-Type: text/html Content-Length: 138 Connection: close Location: < <http://jenkins-dev.onedev.neustar.biz/cjoc/teams-check/>URL> Connecting to <URL> (xx.x.xx.x:80) HTTP/1.1 308 Permanent Redirect Date: Fri, 23 Jun 2023 09:07:18 GMT Content-Type: text/html Content-Length: 164 Connection: close Location: < <https://jenkins-dev.onedev.neustar.biz/cjoc/teams-check>URL> Connecting to <URL> (xx.x.xx.x:443) wget: note: TLS certificate validation not implemented HTTP/1.1 403 Forbidden wget: server returned error: HTTP/1.1 403 Forbidden -- 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/983dd6fb-7564-40f1-a735-9622639e2d8en%40googlegroups.com.

