admin管理员组文章数量:1608826
最近在新搞公司后台的架构,准备用网关来聚合接口文档(swagger2生成),从注册中心自动获取生成。
按照各种网上教程,开始都很顺利。
然后突然有一个就网络超时访问不到了。
错误如下(Gateway)
ERROR 16752 --- [ctor-http-nio-1] a.w.r.e.AbstractErrorWebExceptionHandler :[33ba6ddd-346] 500 Server Error for HTTP GET "/xxx/v2/api-docs"
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection timed out: no further information: (此处是服务器url,隐去)
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 GET "/xxx/v2/api-docs" [ExceptionHandlingWebHandler]
Stack trace:
Caused by: java.net.ConnectException: Connection timed out: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.8.0_65]
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) ~[na:1.8.0_65]
at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:330) ~[netty
本文标签: 网关文档SpringCloudZuulGateway
版权声明:本文标题:SpringCloud网关(ZuulGateway)聚合swagger2文档的一个坑 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dianzi/1728550921a1163422.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论