You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pastehunter.py is giving me random connection issues. Details as follows:
When running fine, there are 7 tasks when I do "systemctl status pastehunter.service"
Following are errors from "systemctl status pastehunter.service"
Apr 21 21:43:32 pbsvr python3[80377]: raise ConnectionError(e, request=request)
Apr 21 21:43:32 pbsvr python3[80377]: requests.exceptions.ConnectionError: HTTPSConnectionPool(host='scrape.pastebin.com', port=443): Max retries exceeded with url: /api_scrape_item.php?i=uRnqq9Gj (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f1092269710>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
2)
Apr 21 01:55:23 pbsvr python3[80305]: ERROR:pastebin.py:Unable to parse paste results: HTTPSConnectionPool(host='scrape.pastebin.com', port=443): Max retries exceeded with url: /api_scraping.php?limit=200 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fdbddf56a58>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
I have to do a systemctl retsart pastehunter.service to restart the service.
Please help to suggest how to prevent the connection error.
Thank you.
The text was updated successfully, but these errors were encountered:
Hi,
The pastehunter.py is giving me random connection issues. Details as follows:
When running fine, there are 7 tasks when I do "systemctl status pastehunter.service"
Main PID: 89222 (python3)
Tasks: 7 (limit: 4633)
CGroup: /system.slice/pastehunter.service
├─89222 /usr/bin/python3 /opt/pastehunter/pastehunter.py
├─89259 /usr/bin/python3 /opt/pastehunter/pastehunter.py
├─89260 /usr/bin/python3 /opt/pastehunter/pastehunter.py
├─89261 /usr/bin/python3 /opt/pastehunter/pastehunter.py
├─89262 /usr/bin/python3 /opt/pastehunter/pastehunter.py
└─89263 /usr/bin/python3 /opt/pastehunter/pastehunter.pyMain PID: 89222 (python3)
When error occurs, the task becomes 2.
CGroup: /system.slice/pastehunter.service
└─2390 /usr/bin/python3 /opt/pastehunter/pastehunter.py
Following are errors from "systemctl status pastehunter.service"
Apr 21 21:43:32 pbsvr python3[80377]: raise ConnectionError(e, request=request)
Apr 21 21:43:32 pbsvr python3[80377]: requests.exceptions.ConnectionError: HTTPSConnectionPool(host='scrape.pastebin.com', port=443): Max retries exceeded with url: /api_scrape_item.php?i=uRnqq9Gj (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f1092269710>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
2)
Apr 21 01:55:23 pbsvr python3[80305]: ERROR:pastebin.py:Unable to parse paste results: HTTPSConnectionPool(host='scrape.pastebin.com', port=443): Max retries exceeded with url: /api_scraping.php?limit=200 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fdbddf56a58>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
I have to do a systemctl retsart pastehunter.service to restart the service.
Please help to suggest how to prevent the connection error.
Thank you.
The text was updated successfully, but these errors were encountered: