Solved

When i try to call a certain API I seem to fail when the response is too big with the error message: HTTPGetforbrug_3 (HTTPFactory): [1]: HTTP transfer error: Server returned nothing (no headers, no data)


Badge +1

I have set the timeout to 1800 seconds but i fails after about 10 minutes. I have asked the guy who administers the webservice and he says that on the API side it seems to go well and it sends the response after about 12 minutes.

 

I have attached the log file of me trying to run the httpcaller.

 

Edit: I can see that i some months ago made a similar thread, so if you (administrators) prefer I can delete this and respond in the old one.

 

In short I was asked in that thread wether I was sure that there should be a response, and I am sure of that. Sorry about the double post!

 

Kind Regards

Rasmus Raun

icon

Best answer by rasmusraun 4 May 2023, 23:52

View original

4 replies

Userlevel 6
Badge +32

What happens when you do the same call using Postman? Can you reproduce the behaviour as in FME?

Userlevel 4

Also, is there a possibility to request smaller chunks of data and use e.g. paging to iterate over the chunks?

https://community.safe.com/s/article/Getting-Started-with-API-Pagination

Badge +1

What happens when you do the same call using Postman? Can you reproduce the behaviour as in FME?

Thank you for your reply. We tried this, and it turns out that there was an issue with the app server, which we found a workaround for.

Badge +1

Also, is there a possibility to request smaller chunks of data and use e.g. paging to iterate over the chunks?

https://community.safe.com/s/article/Getting-Started-with-API-Pagination

Thanks for the reply. We allready were using paging, but it turns out that the problem was with the app server, when we tried to do the same call in postman it also failed.

Reply