Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ClientAbortException: java.net.SocketException: Connection reset by peer

 
Scott Duncan
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are writing a fairly large file to the OutputStream of the response in a servlet. On IE (not FF or Safari) we get this error. Any ideas? The code is as follows:

 
Scott Duncan
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
FYI, we figured this out. It's a general issue in IE
http://support.microsoft.com/kb/812935 that when using HTTPS to download files the response header can't contain "Cache-Control : no-cache", or
"Cache-Control: no-store".

We simply took out the previous headers and added this:



Thanks to David Mortellaro for finding this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic