Socket exception with connection reset on Elasticsearch Webhook to Microsoft Teams

I'm seeking assistance regarding an issue I'm encountering with an Elasticsearch watcher webhooks action specifically the "TeamsPost". The problem occurs when my application attempts to send a webhook to Microsoft Teams with ID "TeamsPost".
The error returned is a "socket_exception" with the reason being a "Connection reset." Here is the relevant excerpt from the error message:

"actions": [
  {
    "id": "TeamsPost",
    "type": "webhook",
    "status": "failure",
    "error": {
      "root_cause": [
        {
          "type": "socket_exception",
          "reason": "Connection reset"
        }
      ],
      "type": "socket_exception",
      "reason": "Connection reset"
    }
  }
]

I have already checked that the URL for the Microsoft Teams webhook is correctly configured, and there should be no firewalls or policies that are blocking the outcoming connections. However, the "Connection reset" error still persists in the "TeamsPost" action for the watcher alerts.

Thank you in advance for your assistance.