Marc Boorshtein
2017-10-25 15:12:19 UTC
All,
I'm trying to connect to a resource over https and am getting the following
errors on occasion:
org.apache.http.ConnectionClosedException: Premature end of chunk coded
message body: closing chunk expected
at
org.apache.http.impl.io.ChunkedInputStream.getChunkSize(ChunkedInputStream.java:268)
~[httpcore-4.4.4.jar:4.4.4]
at
org.apache.http.impl.io.ChunkedInputStream.nextChunk(ChunkedInputStream.java:227)
~[httpcore-4.4.4.jar:4.4.4]
at
org.apache.http.impl.io.ChunkedInputStream.read(ChunkedInputStream.java:186)
~[httpcore-4.4.4.jar:4.4.4]
at
org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:137)
~[httpclient-4.5.2.jar:4.5.2]
There isn't much on the web on this one. Whats interesting is that when
this code runs in the same subnet as the target, no issues but when it
crosses some complex networking I will get this error on occasion. My
network team is saying there are no "issues" with the connections. Are
there some tuning parameters I can adjust for this?
Thanks
I'm trying to connect to a resource over https and am getting the following
errors on occasion:
org.apache.http.ConnectionClosedException: Premature end of chunk coded
message body: closing chunk expected
at
org.apache.http.impl.io.ChunkedInputStream.getChunkSize(ChunkedInputStream.java:268)
~[httpcore-4.4.4.jar:4.4.4]
at
org.apache.http.impl.io.ChunkedInputStream.nextChunk(ChunkedInputStream.java:227)
~[httpcore-4.4.4.jar:4.4.4]
at
org.apache.http.impl.io.ChunkedInputStream.read(ChunkedInputStream.java:186)
~[httpcore-4.4.4.jar:4.4.4]
at
org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:137)
~[httpclient-4.5.2.jar:4.5.2]
There isn't much on the web on this one. Whats interesting is that when
this code runs in the same subnet as the target, no issues but when it
crosses some complex networking I will get this error on occasion. My
network team is saying there are no "issues" with the connections. Are
there some tuning parameters I can adjust for this?
Thanks