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'))
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
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'))