springcloud gateway 使用过程中遇到的问题记录

1.[server-a] 2021-09-28 15:45:27.513 [reactor-http-epoll-3] [] ERROR o.s.b.a.w.r.error.AbstractErrorWebExceptionHandler - [7eb3451d] 500 Server Error for HTTP POST "/api/test"
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 ⇢ org.springframework.cloud.gateway.filter.WeightCalculatorWebFilter [DefaultWebFilterChain]
    |_ checkpoint ⇢ org.springframework.boot.actuate.metrics.web.reactive.server.MetricsWebFilter [DefaultWebFilterChain]
    |_ checkpoint ⇢ HTTP POST "/api/test" [ExceptionHandlingWebHandler]
Stack trace:
[server-a] 2021-09-28 15:45:27.516 [reactor-http-epoll-3] [] WARN  reactor.netty.http.client.HttpClientConnect - [id: 0xacf377b6, L:/ip:32982 ! R:ip/ip:9602] The connection observed an error
reactor.netty.http.client.PrematureCloseException: Connection prematurely closed BEFORE response
[wocloud-server-gateway] 2021-09-28 15:45:27.517 [reactor-http-epoll-3] [] ERROR o.s.b.a.w.r.error.AbstractErrorWebExceptionHandler - [ad95160d] 500 Server Error for HTTP POST "/apiv1/test1"
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 ⇢ org.springframework.cloud.gateway.filter.WeightCalculatorWebFilter [DefaultWebFilterChain]
    |_ checkpoint ⇢ org.springframework.boot.actuate.metrics.web.reactive.server.MetricsWebFilter [DefaultWebFilterChain]
    |_ checkpoint ⇢ HTTP POST "/apiv1/test1" [ExceptionHandlingWebHandler]

问题还未解决,待解决发原因,有小伙伴知晓的话烦请解答

2.

评论 13
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值