Connection prematurely closed BEFORE response reactor.netty.http.client.PrematureCloseException: Connection prematurely closed BEFORE response异常解决
一、最近在开发网关系统,就在感觉万事大吉可以上线的时候发现了如下的错误(这个是我在配置rabbitmq访问多个服务时发现的)
[box-mall-gateway:172.19.200.92:8001] 2021-06-03 18:30:53.747 ERROR 3272606 [4b62afc895661d56,4b62afc895661d56,false] [reactor-http-epoll-5] org.springframework.boot.autoconfigure.web.reactive.error.AbstractErrorWebExceptionHandler [14ed6451] 500 Server Error for HTTP POST "/open/mall/order/submitOrder"
reactor.netty.http.client.PrematureCloseException: Connection prematurely closed BEFORE response
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
|_ checkpoint ⇢ com.box.mall.gateway.config.CorsConfigration$$Lambda$584/1746570062 [DefaultWebFilterChain]
|_ checkpoint ⇢ org.springframework.cloud.gateway.filter.WeightCalculatorWebFilter [Defau