这个错误的原因是什么?是因为服务器端还是客户端关闭了连接?

huangapple 未分类评论57阅读模式
英文:

What is reason of this error? Is that because connection closed from server-side or client-side?

问题

我正在使用Spring WebClient与服务器进行连接。

我有时会收到以下错误消息,这是因为服务器端关闭了连接还是客户端出现了问题?

reactor.netty.http.client.PrematureCloseException:
    连接在响应期间被过早关闭

抑制:
reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
    错误已在以下位置被观察到:
            |_ checkpoint ? 来自 GET https://*** 的主体 [DefaultClientResponse]
英文:

I'm using Spring webclient to connect to the server.

I'm receiving this error sometimes, is that because connection is closed from server-side or the problem is in client-side?

reactor.netty.http.client.PrematureCloseException:
    Connection prematurely closed DURING response

Suppressed:
reactor.core.publisher.FluxOnAssembly$OnAssemblyException: 
    Error has been observed at the following site(s):
            |_ checkpoint ? Body from GET https://*** [DefaultClientResponse]

huangapple
  • 本文由 发表于 2020年7月28日 23:10:40
  • 转载请务必保留本文链接:https://java.coder-hub.com/63137366.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定