spring-cloud / spring-cloud-gateway

An API Gateway built on Spring Framework and Spring Boot providing routing and more.
http://cloud.spring.io
Apache License 2.0
4.52k stars 3.32k forks source link

gateway error #2533

Closed developers-youcong closed 2 years ago

developers-youcong commented 2 years ago

Describe the bug SpringCloud Version:Hoxton.SR4 SpringBoot Version:2.2.6.RELEASE JDK:1.8

The microservice corresponding to the gateway mapping reported an error, and the corresponding microservice was restarted, but it was not the fault of the microservice. The microservice had no obvious error log, but the gateway log found the error.

error log:

10:11:16.104 [reactor-http-epoll-12] ERROR c.e.g.h.GatewayExceptionHandler - [handle,56] - [网关异常处理]请求路径:/aop/uforecast/cityLocalAirForecast,异常信息:finishConnect(..) failed: Connection refused: /192.168.0.91:9102
10:11:16.104 [reactor-http-epoll-11] ERROR c.e.g.h.GatewayExceptionHandler - [handle,56] - [网关异常处理]请求路径:/aop/uforecast/cityEpSiteForecast,异常信息:finishConnect(..) failed: Connection refused: /192.168.0.91:9102
10:11:16.105 [reactor-http-epoll-11] ERROR c.e.g.h.GatewayExceptionHandler - [handle,56] - [网关异常处理]请求路径:/aop/uforecast/cityEpSiteForecast,异常信息:finishConnect(..) failed: Connection refused: /192.168.0.91:9102
10:11:16.105 [reactor-http-epoll-12] ERROR c.e.g.h.GatewayExceptionHandler - [handle,56] - [网关异常处理]请求路径:/aop/uforecast/cityIndustryEpSiteRC,异常信息:finishConnect(..) failed: Connection refused: /192.168.0.91:9102
10:11:16.106 [reactor-http-epoll-11] ERROR c.e.g.h.GatewayExceptionHandler - [handle,56] - [网关异常处理]请求路径:/aop/uforecast/cityIndustryEpSiteRC,异常信息:finishConnect(..) failed: Connection refused: /192.168.0.91:9102
10:11:16.106 [reactor-http-epoll-11] ERROR c.e.g.h.GatewayExceptionHandler - [handle,56] - [网关异常处理]请求路径:/aop/uforecast/cityTSConclusion,异常信息:finishConnect(..) failed: Connection refused: /192.168.0.91:9102
10:11:16.106 [reactor-http-epoll-11] ERROR c.e.g.h.GatewayExceptionHandler - [handle,56] - [网关异常处理]请求路径:/aop/uforecast/cityTSConclusion,异常信息:finishConnect(..) failed: Connection refused: /192.168.0.91:9102
10:11:16.106 [reactor-http-epoll-11] ERROR c.e.g.h.GatewayExceptionHandler - [handle,56] - [网关异常处理]请求路径:/aop/uforecast/cityLocalAirForecast,异常信息:finishConnect(..) failed: Connection refused: /192.168.0.91:9102
10:11:16.107 [reactor-http-epoll-11] ERROR c.e.g.h.GatewayExceptionHandler - [handle,56] - [网关异常处理]请求路径:/aop/uforecast/cityAreaAirForecast,异常信息:finishConnect(..) failed: Connection refused: /192.168.0.91:9102
10:11:16.107 [reactor-http-epoll-11] ERROR c.e.g.h.GatewayExceptionHandler - [handle,56] - [网关异常处理]请求路径:/aop/uforecast/cityAreaAirForecast,异常信息:finishConnect(..) failed: Connection refused: /192.168.0.91:9102
10:19:53.470 [reactor-http-epoll-14] ERROR c.e.g.h.GatewayExceptionHandler - [handle,56] - [网关异常处理]请求路径:/,异常信息:404 NOT_FOUND

Sample This is an emergency problem, and you just need to restart the corresponding micro-service. The cause is unknown, and there is no specific test sample.

spencergibb commented 2 years ago

Hoxton is no longer supported. Please upgrade and try again.

spring-cloud-issues commented 2 years ago

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.