Yelp / elastalert

Easy & Flexible Alerting With ElasticSearch
https://elastalert.readthedocs.org
Apache License 2.0
8k stars 1.74k forks source link

Facing issue when sending message to MSTeams #2654

Open charan-adabala opened 4 years ago

charan-adabala commented 4 years ago

Hi, I am facing issue when I tried to send alert to MSTeams, I created webhook also in MSTems by using curl command I am able to send message when I tried to send message with MSTeams, Facing issue.

Environment: Elastalert: elastalert-master. Setup: Windows 10

Error Details: ERROR:root:Error while running alert ms_teams: Error posting to ms teams: HTTPSConnectionPool(host='outlook.office.com', port=443): Max retries exceeded with url: /webhook/XXXXXXX (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x00000234F854CDC8>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))

elnacho-grande commented 4 years ago

Hi,

I am facing the same issue on my machine but as it works on a different machine I would assume its a firewall setting which prohibits you from sending alerts to ms teams