aspose file tools*
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
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting error 400 - Proxy Error: remote host didn't send any data.