1 year ago
#97703
Chris
HTTP request failing occasional with EOFException in Java
I am doing a POST call in Java to an external device. Sometimes, and only sometimes it fails with EOFException. I increased the timeout value however it keeps thorwing the EOFException. Any idea what could cause that?
Error processing POST 2 request java.util.concurrent.ExecutionException:
java.io.EOFException: HttpConnectionOverHTTP@1030fd::SocketChannelEndPoint@1bef5c3
{l=/192.168.2.30:53792,r=/192.168.2.27:80,ISHUT,fill=-,flush=-,to=85/0}
{io=1/0,kio=1,kro=1}->HttpConnectionOverHTTP@1030fd(l:/192.168.2.30:53792 <-> r:/192.168.2.27:80,closed=false)
=>HttpChannelOverHTTP@b7ea87(exchange=HttpExchange@e3564c{req=HttpRequest[POST /status.cgi HTTP/1.1]@1231335[TERMINATED/null]
res=HttpResponse[null 0 null]@15deebf[PENDING/null]})[send=HttpSenderOverHTTP@a3d281(req=QUEUED,snd=COMPLETED,failure=null)
[HttpGenerator@babb2f{s=START}],recv=HttpReceiverOverHTTP@11dbd76(rsp=IDLE,failure=null)[HttpParser{s=CLOSED,0 of -1}]]
java
http
post
eofexception
0 Answers
Your Answer