Timeout Error even if higher timeout it set

I set timeout to 1200 second altough when running the request i get { "delayTime": 36534, "error": "ReadTimeout: HTTPConnectionPool(host='127.0.0.1', port=5000): Read timed out. (read timeout=600)", "executionTime": 601182, "id": "a2bf98f6-2201-44ea-9710-d588521fda45-e1", "status": "FAILED", "rp_handler": "Error in run_inference function", "rp_job": "Error in run_job function" } TTPConnectionPool(host='127.0.0.1', port=5000): Read timed out. (read timeout=600)\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv/lib/python3.10/site-packages/runpod/serverless/modules/rp_job.py\", line 132, in run_job\n handler_return = handler(job)\n File \"/rp_handler.py\", line 61, in handler\n json = run_inference({\"input\": event[\"input\"]})\n File \"/rp_handler.py\", line 48, in run_inference\n response = cog_session.post(url=f'{LOCAL_URL}/predictions',\n File \"/opt/venv/lib/python3.10/site-packages/requests/sessions.py
1 Reply
yassinemenace
yassinemenaceOP4mo ago
This is a cog transformed to runpod
Want results from more Discord servers?
Add your server