R
RunPod11mo ago
Jack

Tips on avoiding hitting this error whilst checking `/status/:job_id` using requests?

Full Error pasted at the bottom. After sending out a request, I'm using requests.get() to check the /status/:job_id of the endpoint every 3 seconds until the job either returns FAILED or COMPLETE. Unfortunately one of the requests had a particularly long delay time (234 secs), on top of the 57 secs of execution time. As I was checking /status/:job_id for this request, I got this error. My question is - how do I make sure I don't hit this error when checking /status/:job_id? requests.exceptions.SSLError: HTTPSConnectionPool(host='api.runpod.ai', port=443): Max retries exceeded with url: /v2/85i9atfpo9xuds/status/fbb4c8ff-93ff-41c5-954d-f799d0d5407a-e1 (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1006)')))
1 Reply
ashleyk
ashleyk11mo ago
GitHub
SSLError: EOF occurred in violation of protocol (_ssl.c:590) · Issu...
Please bear with me as I'm quite new with Python and github in general. I have been using requests to scrape data from the Play Store. I need to make a large amount of requests (about 20k). It ...
Want results from more Discord servers?
Add your server