• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Connection reset by peer: Amount read didn't match content-length in AJP Configuration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Connection reset by peer: Amount read didn't match content-length in AJP Configuration


  • Subject: Re: Connection reset by peer: Amount read didn't match content-length in AJP Configuration
  • From: Bernhard Schumache <email@hidden>
  • Date: Mon, 30 Apr 2012 16:40:23 +0200

Thanks for your thoughts.

That's possible for some of the occurences. In most cases there is no file upload involved. I also can exclude users moving web pages around using their history for at least some of the occurencces (Thanks Jesse for this thought).

Any other suggestions?

Thanks,
Bernhard

Am 30.04.2012 15:21, schrieb Pascal Robert:
I have seen that in the past, and most of the time, it was people who were stopping their file upload before it ended.

Hello All,

we are facing a sporadic error in our Application.

com.webobjects.foundation.NSForwardException [java.io.IOException] Connection reset by peer: Amount read didn't match content-length:java.io.IOException: Connection reset by peer
: Amount read didn't match content-length
        at com.webobjects.appserver._private.WOInputStreamData._extractBytesFromInputStream(WOInputStreamData.java:128)
        at com.webobjects.appserver._private.WOInputStreamData.bytesNoCopy(WOInputStreamData.java:147)
        at com.webobjects.foundation.NSData._bytesNoCopy(NSData.java:506)
        at com.webobjects.appserver.WOMessage.contentString(WOMessage.java:735)
        at com.webobjects.appserver.WORequest.getFormValuesFromURLEncoding(WORequest.java:1276)
        at com.webobjects.appserver.WORequest.formValues(WORequest.java:1367)

It looks like this occurs only when an ajax request is sent. When it happens all sessions on the affected instance are frozen for some time.

I've searched the list and the web for hours now. Without finding a clue what could cause this and how to fix it.
The only hint I found that it could be related with some error in WOMessage but nothing about a fix or deeper information about the cause.

Our environment is:
Java:                   1.5.0_22
WebObjects:     5.4.3
Tomcat:             6.0.35
Apache:            2.2.21
mod_jk:            1.2.32

Any suggestions?

Thanks,
Bernhard

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Connection reset by peer: Amount read didn't match content-length in AJP Configuration (From: Bernhard Schumache <email@hidden>)
 >Re: Connection reset by peer: Amount read didn't match content-length in AJP Configuration (From: Pascal Robert <email@hidden>)

  • Prev by Date: Re: ERAttachment and Rackspace CloudFiles?
  • Next by Date: Re: [projectwonder/wonder] 3ecb42: Provide a delegate to override the built in ERD2W ...
  • Previous by thread: Re: Connection reset by peer: Amount read didn't match content-length in AJP Configuration
  • Next by thread: Re: [projectwonder/wonder] 3ecb42: Provide a delegate to override the built in ERD2W ...
  • Index(es):
    • Date
    • Thread