prom2teams is an HTTP server built with Python that receives alert notifications from a previously configured Prometheus Alertmanager instance and forwards it to Microsoft Teams using defined connectors
Since yesterday, the prom2teams log has been filled with failed requests. Even though the message appears in the correct Microsoft Teams channel the services reports an error.
Microsoft Teams returns a valid response with status code 200:
2023-01-13 14:29:47,054 - prom2teams_app - ERROR - An unhandled exception occurred. Error performing request to: ...
Returned status code: 200.
Returned data: {"version":"1.1","content":{"headers":[{"key":"Content-Type","value":["text/plain; charset=utf-8"]}]},"statusCode":200,"reasonPhrase":"OK","headers":[],"trailingHeaders":[],"requestMessage":null,"isSuccessStatusCode":true}
Sent message: { ... }
Any idea why this happens all of a sudden?
Steps to Reproduce
Send a Prometheus request to the prom2teams service
Check the logs of the prom2teams service
Expected behavior:
The log consists of non-error messages.
Actual behavior:
The log contains a lot of error messages.
Reproduces how often:
Every time a message is sent to Microsoft Teams.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
Since yesterday, the prom2teams log has been filled with failed requests. Even though the message appears in the correct Microsoft Teams channel the services reports an error.
Microsoft Teams returns a valid response with status code 200:
Any idea why this happens all of a sudden?
Steps to Reproduce
Expected behavior: The log consists of non-error messages.
Actual behavior: The log contains a lot of error messages.
Reproduces how often: Every time a message is sent to Microsoft Teams.
Environment