ERROR c.j.e.m.g.h.GatewayExceptionHandler - [handle,52] - [网关异常处理]请求路径

【问题】nacos格式上的错误导致无法跳转问题

14:16:15.416 [boundedElastic-14] WARN o.s.c.l.c.RoundRobinLoadBalancer - [getInstanceResponse,97] - No servers available for service: customer
14:16:15.417 [boundedElastic-14] ERROR c.j.e.m.g.h.GatewayExceptionHandler - [handle,52] - [网关异常处理]请求路径:/customer/customer/list,异常信息:503 SERVICE_UNAVAILABLE "Unable to find instance for customer"

【原因】配置问题

 

【解决】yml中配置注意格式

 

posted @ 2022-07-19 14:28  changlinlo  阅读(3196)  评论(1编辑  收藏  举报