(inputs.http_response) Checks failing due to certificates extended key usage attributes been ignored #15567
Labels
bug
unexpected problem or unintended behavior
upstream
bug or issues that rely on dependency fixes
waiting for response
waiting for response from contributor
Relevant telegraf.conf
Logs from Telegraf
System info
Telegraf 1.30.1 - Rocky 9.3 - Docker version 26.0.1, build d260a54
Docker
No response
Steps to reproduce
Expected behavior
expected behaviour is that the checks via inputs.http_response would provide the same response code as when using curl = "200 OK"
Actual behavior
actual behavior is a result_code=3i,result_type="connection_failed"
however there is no problem with the site.
Telegraf documentation suggests that a result_code=3 is a networking failure outside of telegraf, but I can use curl from the same server to show otherwise.
Additional info
we believe the problem is the go library that telegraf uses to perform the request doesn’t support an endpoint that uses a certificate with an extended key usage attribute.
The text was updated successfully, but these errors were encountered: