使用 WebClient 时发生“PrematureCloseException: Connection premium closed DURING response”

问题描述

在正常情况下,WebClient 运行良好,但在特定 api 调用时发生异常。 错误日志如下。

reactor.core.Exceptions$ReactiveException: reactor.netty.http.client.PrematureCloseException: Connection prematurely closed DURING response

为什么会这样? 是否有不支持 WebClient 调用的 API?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)