org.apache.http.ConnectionClosedException

Premature end of Content-Length delimited message body (expected: 1850391; received: 1116220


Solutions on the web89

Solution icon of atlassian
via Atlassian JIRA by Marcin Gardias [Atlassian], 1 year ago
Premature end of Content-Length delimited message body (expected: 1850391; received: 1116220

Solution icon of atlassian
via Atlassian JIRA by Marcin Gardias [Atlassian], 11 months ago
Premature end of Content-Length delimited message body (expected: 1850391; received: 1116220

Solution icon of github
Premature end of Content-Length delimited message body (expected: 24368795; received: 8317227

Solution icon of github
via GitHub by DivyaGN
, 10 months ago
Premature end of Content-Length delimited message body (expected: 1000888; received: 336271

Solution icon of googlegroups
*Premature end of Content-Length delimited message body (expected: 56151; received: 10936*

Solution icon of googlegroups
Premature end of Content-Length delimited message body (expected: 5456; received: 2543

Solution icon of googlegroups
via Google Groups by sele...@googlecode.com, 1 year ago
Premature end of Content-Length delimited message body (expected: 4307; received: 3743

Solution icon of googlegroups
Premature end of Content-Length delimited message body (expected: 63546; received: 61440

Solution icon of googlegroups
via Google Groups by Greg Martz, 5 months ago
Premature end of Content-Length delimited message body (expected: 104; received: 0

Solution icon of sonatype
via Sonatype JIRA by liutao, 1 year ago
Premature end of Content-Length delimited message body (expected: 272230975; received: 130023424

Stack trace

  • org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 1850391; received: 1116220 at org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:178) at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:138) at java.security.DigestInputStream.read(DigestInputStream.java:144) at java.io.FilterInputStream.read(FilterInputStream.java:116) at com.amazonaws.services.s3.internal.ChecksumValidatingInputStream.read(ChecksumValidatingInputStream.java:97) at java.io.FilterInputStream.read(FilterInputStream.java:116) at com.atlassian.aws.s3.S3Utils.fetch(S3Utils.java:304) at com.atlassian.aws.s3.S3Utils.doSync(S3Utils.java:284) at com.atlassian.aws.s3.S3Utils.sync(S3Utils.java:165) at com.atlassian.bamboo.agent.elastic.S3Sync.sync(S3Sync.java:72) at com.atlassian.bamboo.agent.elastic.installer.ElasticAgentInstaller.main(ElasticAgentInstaller.java:66)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago