java - "to=3573072/3600000"在 java.io.EOFException : HttpConnectionOverHTTP? 异常中意味着什么

标签 java http ssl https jetty

我的一个应用程序在进行 HTTP 调用时有时会出现以下异常。 =3573072/3600000 是什么?什么可能导致错误?

ERROR ProxyRequestTracker - event=RequestCompleted, closure=Error, errorType=proxyResponse, method=GET, agent=Geneos/GA5.6.0-210208 (Netprobe - WEB-MON), targetHost=d12d.elb.us-east-1.amazonaws.com, targetPath=, actMs=3, jwtMs=3, totalMs=14
java.io.EOFException: HttpConnectionOverHTTP@666edd5::DecryptedEndPoint@6aca4ca{d12d.elb.us-east-1.amazonaws.com/28.13.2.2:443/22.249.3.154:52302,OPEN,fill=-,flush=-,to=3573072/3600000}
    at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.earlyEOF(HttpReceiverOverHTTP.java:345)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:1595)
    at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.shutdown(HttpReceiverOverHTTP.java:237)
    at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.process(HttpReceiverOverHTTP.java:176)
    at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.receive(HttpReceiverOverHTTP.java:75)
    at org.eclipse.jetty.client.http.HttpChannelOverHTTP.receive(HttpChannelOverHTTP.java:133)
    at org.eclipse.jetty.client.http.HttpConnectionOverHTTP.onFillable(HttpConnectionOverHTTP.java:156)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
    at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
    at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
    at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
    at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
    at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:388)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
    at java.lang.Thread.run(Thread.java:748)

最佳答案

to=3573072/3600000

这是timeout=<current>/<configured>

因此,您将超时配置为 3,600,000 毫秒(1 小时)。

当前超时为 3,573,072 毫秒。

因此,如果连接(读或写)没有发生任何事情,那么在大约 26.9 秒内,连接将超时。

java.io.EOFException告诉您连接已终止,但您必须查看此连接线周围的日志(之前和可能之后),以了解有关如何/为何关闭连接的更多详细信息。

关于java - "to=3573072/3600000"在 java.io.EOFException : HttpConnectionOverHTTP? 异常中意味着什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70029064/

相关文章:

android - 将图像发送到服务器时出现 NonRepeatableRequestException

ssl - 如何使用 ssl 和代理设置 Lighttpd

java - TableView 不显示从数据库中获取的数据

java - 在Java中从XML中检索数据并在Oracle中插入数据

javascript - 从自己的域获取 api 时发生 CORS 错误

java - 打开远程文件并写入

ssl - 在服务器 TrustStore - Cielo 上安装 SSL?

python - 无法验证第一个证书

java - 从配置文件执行数学表达式

Java - 套接字 - 显示服务器上所有文件的名称