HTTP Get Request 5xx response
Posted: Thu Oct 12, 2023 1:49 am
Hey everyone,
I download PDF files from our CDN. Our provider had issues yesterday where there service wasn't operating correctly. I was receiving many 503 responses and this seemed to crash the HTTP request and not retry or timeout the job. To get around it I set a hold condition to allow one job at a time. What would happen is this job then would become stuck and not allow any othher jobs to process until I manually deleted the job. Is there a way of handling the 503 response more cleanly using another method of downloading PDF files over HTTP? I understand the server should be giving correct responses but we don't fully control this external service.
It also seems then the job uses one of the cocurrent job slots and doesn't free up until its removed.
Thanks
I download PDF files from our CDN. Our provider had issues yesterday where there service wasn't operating correctly. I was receiving many 503 responses and this seemed to crash the HTTP request and not retry or timeout the job. To get around it I set a hold condition to allow one job at a time. What would happen is this job then would become stuck and not allow any othher jobs to process until I manually deleted the job. Is there a way of handling the 503 response more cleanly using another method of downloading PDF files over HTTP? I understand the server should be giving correct responses but we don't fully control this external service.
It also seems then the job uses one of the cocurrent job slots and doesn't free up until its removed.
Thanks