java - 这个错误的原因是什么?那是因为连接从服务器端或客户端关闭吗?
问题描述
我正在使用 Spring webclient 连接到服务器。
我有时会收到此错误,是因为连接已从服务器端关闭还是问题出在客户端?
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]
解决方案
推荐阅读
- javascript - 可能未定义的变量
- python - 无法将列表转换为集合,引发“unhashable type: 'list'”错误
- javascript - 无法将功能部署到 Firebase 功能
- ios - 从不同的类移动到不同的选项卡控制器索引
- javascript - Angular 2显示数组中的数组
- typescript - rxjs 运算符从源收集字符串并根据模式部分发出它们
- java - 具有用户输入的空心盒程序。问题:适用于奇数输入,而不是偶数
- angular - Angular 6:找不到名称'Iterable''Map''Set'
- c# - 当我根本不使用布尔值时,为什么 Visual Studio 会说我正在尝试将字符串转换为布尔值?(CS0029)
- java - Eclipse,以编程方式导入多个 Maven 模块项目