Unable to receive very large response payloads

Not applicable

I have an API which returns a very large response payload. I set the following properties in order for Apigee to not load the response in the memory and avoid the tooBigBody response error.

<Property name="request.streaming.enabled">true</Property>
<Property name="response.streaming.enabled">true</Property>

However, when I try to hit the proxy via Postman, I am still getting a 'No response' error. I am pretty sure the policies in the proxies are working just fine. Am I missing something over here or doing anything wrong?

1 8 431
8 REPLIES 8

@apigee1234567 , Can you able to use tracetool & identify problem ?

Not applicable

@Anil Sagar

As per my understanding, when we set the streaming property to true, we cannot get the response in the tracetool because it is not cached. However, I still tried it and I am getting a message of partial response.

@apigee1234567 , What is the size of the payload ?

More than 30MB for sure.

Are you on Apigee cloud / On Prem (Private Cloud) / Free Account ?

Its a trial account. So Free Account it is

Not applicable

Some things to check:

Check that you have enabled streaming on both the proxy endpoint and target endpoint.

You may also want to take a look at your back-end system to see if it's responding to your request. It's possible that the back-end is receiving your request but has encountered an issue that prevents it from responding in time, and that the connection has been closed by something somewhere along the network path.

Here is a detailed example of streaming sample. Trying implementing the streaming using this. It worked for me.

http://apigee.com/docs/api-services/content/enabling-streaming https://github.com/apigee/api-platform-samples/tree/master/sample-proxies/streaming