spring云api网关

kkih6yb8  于 2021-07-14  发布在  Java
关注(0)|答案(0)|浏览(287)

我正在努力学习springbootmicroservice,能够设置服务器、客户端和api网关。它工作正常,但突然低于错误。

2021-04-20 15:08:10.193[0;39m [31mERROR[0;39m [35m11384[0;39m [2m---[0;39m [2m[ctor-http-nio-3][0;39m [36ma.w.r.e.AbstractErrorWebExceptionHandler[0;39m [2m:[0;39m [9d4a5c6a-3]  500 Server Error for HTTP POST "/users-ws/users"

java.net.UnknownHostException: failed to resolve 'pc-name(here my pc name coming)' after 3 queries 
    at io.netty.resolver.dns.DnsResolveContext.finishResolve(DnsResolveContext.java:1013) ~[netty-resolver-dns-4.1.60.Final.jar:4.1.60.Final]
    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 "/users-ws/users" [ExceptionHandlingWebHandler]

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题