Closed diakonos closed 3 years ago
@diakonos Thanks for the report. Did you complete the issuance of the certificate correctly?
@shibayan Yep, the certificate was issued successfully. Everything else besides the webhook seems to be behaving correctly so far.
@diakonos Thanks. I was able to reproduce this in my environment and I will investigate and fix it.
Just FYI, I've got the same with MS teams, from Application Insights:
<html>
<body>
<!--StartFragment-->
Failed invoke webhook. Status Code = BadRequest, Reason = Invalid webhook request - Empty Payload |
-- | --
<br class="Apple-interchange-newline"><!--EndFragment-->
</body>
</html>
And as far as I remember, it never worked for me. My main subscription is pushing to Slack, but this one was recently set up a few weeks ago and I've set up a teams webhook.
Thank you. I was able to identify the cause.
It seems that Incoming Webhook in Teams does not handle requests with Transfer-Encoding
correctly. I'm working on a fix to avoid this problem now.
This issue has been fixed in v3.6.6
. Thank you!
Describe the bug Microsoft Teams webhook fails after certificate creation with error:
To Reproduce Steps to reproduce the behavior:
Environment (please complete the following information):
Additional context I noticed that Teams recently changed the format of their webhook URL. It now has the format:
https://xxx.webhook.office.com/webhookb2/xxx/IncomingWebhook/xxx/xxx
. Previously it was:https://outlook.office.com/webhook/xxx/IncomingWebhook/xxx/xxx
. I checked the source code for this project which seems to be looking for .office.com, so I don't believe the URL format change would negatively impact webhook execution.