Skip to main content
Question

How to fix the HTTP run time error ?

  • November 28, 2024
  • 4 replies
  • 42 views

jaygrg111_
Contributor
Forum|alt.badge.img+6

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!

 

 

4 replies

siennaatsafe
Safer
Forum|alt.badge.img+10

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


jaygrg111_
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • November 29, 2024
siennaatsafe wrote:

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?


siennaatsafe
Safer
Forum|alt.badge.img+10

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.


jaygrg111_
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • December 2, 2024
siennaatsafe wrote:

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings