This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Sockets and Internet Protocols and the fly likes Getting error 400 - Proxy Error: remote host didn't send any data. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Getting error 400 - Proxy Error: remote host didn Watch "Getting error 400 - Proxy Error: remote host didn New topic
Author

Getting error 400 - Proxy Error: remote host didn't send any data.

Chetan Ram
Greenhorn

Joined: Mar 10, 2011
Posts: 20
Hi All,

I am getting Error 400 - Proxy Error: remote host didn't send any data.

In our application, we can download files by clicking on download link which has 2 options.
i.e. 1. download by excel
2. download by ODS format (Open document spreadsheet).

When the file size is lesser, then both the download option is working fine.
When the file size is huge (greater than 60 MB), then download by excel works fine, but download by ODS format doesn't work.

The above scenario is happening only in UAT (User Acceptance test) environment. But same code is working fine for all the scenarios in DEV and SIT (System Integration) environment.

From implementation point of view:

In excel, we write data directly to the output stream response object which will collected as text/excel.
In ODS format, we create 5 xml files and write the respective data to those file and then zip them and send the zip file to output stream response object.

Is this error 400, because its getting response timed out?

Please let me know how to fix this issue.

Thanks,
Chinnu.
 
Consider Paul's rocket mass heater.
 
subject: Getting error 400 - Proxy Error: remote host didn't send any data.