AWegnerGitHub / SmokeDetector

Headless chatbot that detects spam and posts links to it to chatrooms for quick deletion.
https://metasmoke.erwaysoftware.com
Apache License 2.0
0 stars 0 forks source link

Gracefully handle requests.exceptions.ConnectionError to Helios #9

Open AWegnerGitHub opened 6 years ago

AWegnerGitHub commented 6 years ago

[10:44:33] requests.exceptions.ConnectionError: HTTPSConnectionPool(host='yy9bl73174.execute-api.us-east-2.amazonaws.com', port=443): Max retries exceeded with url: /production/blackl ists/blacklist-keyword (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fec388978d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)) 2018-01-07 16:44:33.079990 UTC

Exception didn't actually cause a restart. It just hung.

AWegnerGitHub commented 6 years ago

Looks like it may have been a local DNS issue. Also failed to connect to metasmoke during the same restart.

Still needs to be handled gracefully.

Undo1 commented 6 years ago

Local DNS issue. I don't have any logs from that endpoint in that timeframe.