Skip to main content

Hi everybody! How can I fix the HTTP run time error? We have Publication that monitors and email Inbox.  A service request on Cityworks is created when an email is received with a GIFF attachment. SR created should have the GIFF attachment but it randomly fails to attach the GIFF for some SRs. And gives HTTP time out error. I have checked the API calls and they look good in Postman. I checked with my network team as well, no issue on that side either. The log file indicates that it is 401 error- but Authentication is also intact as other SRs gets created successfully with GIFF attached. Please see the image below for errors. Any insights is highly appreciated. Thank you!

 

 

Hi ​@jaygrg111_ ,

 

If this issue is intermittent, you could try modifying the transformer, to automatically retry failed requests.

 

From FME Workbench, right click and embed the custom transformer. 

Then, right click and select Edit.

Finally, go to the HTTPCaller, then in the Advanced section you can select Retry Failed Requests, here you can select to retry on those 401 errors and see if that helps. 

 

Try this out and let me know if it helps!

Thanks,

Sienna


Hi ​@jaygrg111_ ,

 

If this issue is intermittent, you could try modifying the transformer, to automatically retry failed requests.

 

From FME Workbench, right click and embed the custom transformer. 

Then, right click and select Edit.

Finally, go to the HTTPCaller, then in the Advanced section you can select Retry Failed Requests, here you can select to retry on those 401 errors and see if that helps. 

 

Try this out and let me know if it helps!

Thanks,

Sienna

HI ​@siennaatsafe , 

Thank you so much for your input, This is great idea. I will certainly use this transformer for new workspaces in future.  However, my workspace is designed using the API calls in HTTP Callers. So I cannot go this route. But will it help to double the Transfer timeout on HTTP callers? As the error is “HTTP timeout error”? Any suggestions?


I thought I’d update this post for anyone looking at it in the future. I spoke to @jaygrg111_ , Friday. 

Like she had suggested in the comment above, doubling the transfer timeout on the HTTPCaller, seems to help. 

I think this may be due to larger attachment sizes, the HTTPCaller is hitting a timeout trying to download the attachments.


I thought I’d update this post for anyone looking at it in the future. I spoke to @jaygrg111_ , Friday. 

Like she had suggested in the comment above, doubling the transfer timeout on the HTTPCaller, seems to help. 

I think this may be due to larger attachment sizes, the HTTPCaller is hitting a timeout trying to download the attachments.

Thank you for confirming here ​@siennaatsafe . Appreciate your help. 


Reply