返回顶部
首页 > 资讯 > 后端开发 > JAVA >请求报错No route to host (Host unreachable)
  • 462
分享到

请求报错No route to host (Host unreachable)

java开发语言 2023-09-05 21:09:01 462人浏览 独家记忆
摘要

请求报错No route to host (Host unreachable); nested exception is java.net.NoRouteToHostException: No rou

请求报错No route to host (Host unreachable); nested exception is java.net.NoRouteToHostException: No route to host (Host unreachable)

报错原因

请求对方机器的端口没有打开,访问的目标地址路由不可达,这个no route to host的报错是由于收到icmp路由不可达报文而导致的。
如果是linux,是iptables阻挡造成的,可以用service iptables stop关闭iptables试试

或者开通防火墙对应的端口

查询防火墙 是否开启28083端口

sudo firewall-cmd --zone=public --query-port=28083/tcp

防火墙 开启28083端口

sudo firewall-cmd --zone=public --add-port=28083/tcp --permanent

防火墙重新加载才能生效

sudo systemctl restart firewalld
或者命令
firewall-cmd --reload

查看防火墙已经开放的端口

sudo firewall-cmd --list-ports

报错信息

2022-12-23 12:57:06.147 ERROR [DZ_SYS,LOW-CODE-DEMO,default,dzsditest:LOW-CODE-DEMO:28085,87866156e76587e4,053a43D0ac923f19,87866156e76587e4,] 18416 --- [Http-NIO-28085-exec-7] c.p.e.s.e.ControllerExceptionHandler     : Request: POST /api/lowcode/contributions, UserInfo: 1:admin, DataSourceInfo: [init=10, min=10, max=50, idle=10, busy=0, unclosedOrphaned=0], Thread: Thread[http-nio-28085-exec-7,5,main], CPU: 50%, SystemMemory: 91% [total:15884MB, free:1425MB, used:14459MB], JVMMemory: 16% [max:3531MB, total:1515MB, free:1261MB, used:254MB]Request Headers: {    "content-length": "92",    "accept-encoding": "gzip, deflate",    "accept-language": "zh-CN,zh;q=0.9",    "x-eos-gatewaycode": "GATEWAY-DEMO",    "referer": "http://172.16.4.76/ide/index.html?appName=LOW-CODE-DEMO",    "accept": "application/JSON, text/plain, */*",    "user-agent": "Mozilla/5.0 (windows NT 10.0; WOW64) AppleWEBKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",    "cookie": "theme=blue; SESSION=MDYzOGU4ZTgtOTRlOC00MTkyLWFkMmYtOGVmMDZiYThmN2Rm; Admin-Token-coframe=0638e8e8-94e8-4192-ad2f-8ef06ba8f7df; jsESSIONID=01207D243028CFDCB0796E381DDABBC2",    "origin": "http://172.16.4.76",    "content-type": "application/json;charset=UTF-8",    "forwarded": "proto=http;host=eosgateway;for=\"172.16.4.76:50598\"",    "x-forwarded-for": "172.16.4.76",    "x-forwarded-proto": "http",    "x-forwarded-prefix": "/LOW-CODE-DEMO",    "x-forwarded-port": "80",    "x-forwarded-host": "eosgateway",    "x-b3-sampled": "0",    "host": "172.16.4.75:28085"}Request Parameters: {}Request Body: {    "lowcodeContribution": {        "code": "ddfs",        "name": "sfd",        "lowcodeProject": {            "id": "LOW-CODE-DEMO"        }    }}org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://172.16.4.75:28083/api/eos/tools/actions/call-method": No route to host (Host unreachable); nested exception is java.net.NoRouteToHostException: No route to host (Host unreachable)        at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:744)        at com.primeton.eos.dap.sdk.webclient.resttemplate.SDKHystrixRestTemplate.doExecute(SDKHystrixRestTemplate.java:62)        at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:637)        at com.primeton.eos.rest.client.RestClientFactory$4.invoke(RestClientFactory.java:238)        at com.primeton.system.aop.impl.HandlerInvoker.invoke(HandlerInvoker.java:60)        at com.primeton.system.aop.impl.jdkProxyUtil$JdkInvocationHandlerWrapper.invoke(JdkProxyUtil.java:53)        at com.sun.proxy.$Proxy202.loGoperation(Unknown Source)        at com.primeton.gocom.lowcode.service.LowcodeContributionServiceImpl.create(LowcodeContributionServiceImpl.java:117)        at com.primeton.gocom.lowcode.service.LowcodeContributionServiceImpl$$FastClassBySprinGCGLIB$$5d08680c.invoke(<generated>)        at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)        at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:100)        at com.primeton.eos.SpringBoot.interceptor.MethodInterceptor.around(MethodInterceptor.java:47)        at sun.reflect.GeneratedMethodAccessor391.invoke(Unknown Source)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.lang.reflect.Method.invoke(Method.java:498)        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)        at org.springframework.aop.aspectj.AspectjaroundAdvice.invoke(AspectJAroundAdvice.java:70)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)        at com.primeton.gocom.lowcode.service.LowcodeContributionServiceImpl$$EnhancerBySpringCGLIB$$22cec309.create(<generated>)        at com.primeton.gocom.lowcode.controller.LowcodeContributionController.create(LowcodeContributionController.java:57)        at com.primeton.gocom.lowcode.controller.LowcodeContributionController$$FastClassBySpringCGLIB$$db61978a.invoke(<generated>)        at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)        at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:56)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)        at com.primeton.gocom.lowcode.controller.LowcodeContributionController$$EnhancerBySpringCGLIB$$3965ce55.create(<generated>)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.lang.reflect.Method.invoke(Method.java:498)        at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892)        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1039)        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908)        at javax.servlet.http.httpservlet.service(HttpServlet.java:645)        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)        at javax.servlet.http.HttpServlet.service(HttpServlet.java:726)        at com.primeton.appserver.container.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)        at com.primeton.appserver.container.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150)        at com.primeton.appserver.websocket.server.WsFilter.doFilter(WsFilter.java:38)        at com.primeton.appserver.container.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:177)        at com.primeton.appserver.container.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150)        at brave.servlet.TracingFilter.doFilter(TracingFilter.java:65)        at com.primeton.appserver.container.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:177)        at com.primeton.appserver.container.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150)        at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:88)        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:118)        at com.primeton.appserver.container.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:177)        at com.primeton.appserver.container.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150)        at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:51)        at com.primeton.access.http.impl.DispatchWebInterceptor.doIntercept(DispatchWebInterceptor.java:90)        at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:56)        at com.primeton.access.authorization.impl.AccessedHttpResourceFilter.doIntercept(AccessedHttpResourceFilter.java:131)        at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:56)        at com.eos.access.http.UserLoginCheckedFilter.doIntercept(UserLoginCheckedFilter.java:126)        at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:56)        at com.eos.access.http.security.HttpRefererWebInterceptor.doIntercept(HttpRefererWebInterceptor.java:44)        at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:56)        at com.primeton.access.http.impl.WebI18NInterceptor.doIntercept(WebI18NInterceptor.java:64)        at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:56)        at com.primeton.gocom.afcenter.common.intercepter.UserLoginInterceptor.doIntercept(UserLoginInterceptor.java:139)        at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:56)        at com.eos.access.http.InterceptorFilter.doFilter(InterceptorFilter.java:129)        at com.primeton.appserver.container.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:177)        at com.primeton.appserver.container.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150)        at com.primeton.eos.springboot.autoconfig.EOS8SpringBootConfiguration$2.doFilter(EOS8SpringBootConfiguration.java:230)        at com.primeton.appserver.container.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:177)        at com.primeton.appserver.container.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150)        at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:118)        at com.primeton.appserver.container.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:177)        at com.primeton.appserver.container.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150)        at org.springframework.web.filter.FORMContentFilter.doFilterInternal(FormContentFilter.java:92)        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:118)        at com.primeton.appserver.container.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:177)        at com.primeton.appserver.container.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150)        at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:118)        at com.primeton.appserver.container.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:177)        at com.primeton.appserver.container.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150)        at com.primeton.eos.dap.sdk.accesscontrol.SDKAccessControlFilter.doFilterInternal(SDKAccessControlFilter.java:132)        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:118)        at com.primeton.appserver.container.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:177)        at com.primeton.appserver.container.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150)        at com.primeton.eos.dap.sdk.actuate.filter.SDKActuatorAuthFilter.doFilterInternal(SDKActuatorAuthFilter.java:39)        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:118)        at com.primeton.appserver.container.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:177)        at com.primeton.appserver.container.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150)        at com.primeton.eos.springboot.autoconfig.EOS8SpringBootManagementConfiguration$EOS8EndpointCrossOriginFilter.doFilterInternal(EOS8SpringBootManagementConfiguration.java:66)        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:118)        at com.primeton.appserver.container.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:177)        at com.primeton.appserver.container.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150)        at com.primeton.eos.dap.sdk.actuate.filter.SDKActuatorMaskFilter.doFilterInternal(SDKActuatorMaskFilter.java:42)        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:118)        at com.primeton.appserver.container.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:177)        at com.primeton.appserver.container.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150)        at com.primeton.eos.dap.sdk.logging.filter.SDKLoggingFilter.doFilterInternal(SDKLoggingFilter.java:108)        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:118)        at com.primeton.appserver.container.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:177)        at com.primeton.appserver.container.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150)        at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:151)        at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:86)        at com.primeton.appserver.container.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:177)        at com.primeton.appserver.container.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150)        at org.springframework.cloud.sleuth.instrument.web.ExceptionLoggingFilter.doFilter(ExceptionLoggingFilter.java:50)        at com.primeton.appserver.container.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:177)        at com.primeton.appserver.container.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150)        at brave.servlet.TracingFilter.doFilter(TracingFilter.java:82)        at org.springframework.cloud.sleuth.instrument.web.LazyTracingFilter.doFilter(TraceWebServletAutoConfiguration.java:145)        at com.primeton.appserver.container.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:177)        at com.primeton.appserver.container.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150)        at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:114)        at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:104)        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:118)        at com.primeton.appserver.container.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:177)        at com.primeton.appserver.container.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150)        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:118)        at com.primeton.appserver.container.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:177)        at com.primeton.appserver.container.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150)        at com.primeton.appserver.container.core.StandardWrapperValve.invoke(StandardWrapperValve.java:186)        at com.primeton.appserver.container.core.StandardContextValve.invoke(StandardContextValve.java:80)        at com.primeton.appserver.container.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474)        at com.primeton.appserver.container.core.StandardHostValve.invoke(StandardHostValve.java:122)        at com.primeton.appserver.container.valves.ErrorReportValve.invoke(ErrorReportValve.java:72)        at com.primeton.appserver.container.core.StandardEngineValve.invoke(StandardEngineValve.java:58)        at com.primeton.appserver.container.connector.CoyoteAdapter.service(CoyoteAdapter.java:326)        at com.primeton.appserver.coyote.http11.Http11Processor.service(Http11Processor.java:393)        at com.primeton.appserver.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:51)        at com.primeton.appserver.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:838)        at com.primeton.appserver.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1570)        at com.primeton.appserver.util.net.SocketProcessorBase.run(SocketProcessorBase.java:34)        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)        at com.primeton.appserver.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:46)        at java.lang.Thread.run(Thread.java:748)Caused by: java.net.NoRouteToHostException: No route to host (Host unreachable)        at java.net.PlainSocketImpl.socketConnect(Native Method)        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)        at java.net.Socket.connect(Socket.java:607)        at java.net.Socket.connect(Socket.java:556)        at sun.net.NetworkClient.doConnect(NetworkClient.java:180)        at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)        at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)        at sun.net.www.http.HttpClient.<init>(HttpClient.java:242)        at sun.net.www.http.HttpClient.New(HttpClient.java:339)        at sun.net.www.http.HttpClient.New(HttpClient.java:357)        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226)        at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162)        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056)        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990)        at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:76)        at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)        at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)        at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:108)        at org.springframework.cloud.client.loadbalancer.LoadBalancerRequestFactory.lambda$createRequest$0(LoadBalancerRequestFactory.java:61)        at org.springframework.cloud.netflix.ribbon.RibbonLoadBalancerClient.execute(RibbonLoadBalancerClient.java:144)        at com.primeton.eos.dap.sdk.webclient.autoconfig.SDKWebClientRibbonAutoConfiguration$SDKLoadBalancerClient.execute(SDKWebClientRibbonAutoConfiguration.java:105)        at org.springframework.cloud.client.loadbalancer.RetryLoadBalancerInterceptor.lambda$intercept$0(RetryLoadBalancerInterceptor.java:81)        at org.springframework.retry.support.RetryTemplate.doExecute(RetryTemplate.java:287)        at org.springframework.retry.support.RetryTemplate.execute(RetryTemplate.java:180)        at org.springframework.cloud.client.loadbalancer.RetryLoadBalancerInterceptor.intercept(RetryLoadBalancerInterceptor.java:71)        at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:92)        at com.primeton.eos.dap.sdk.logging.resttemplate.SDKLoggingRestTemplateInterceptor.intercept(SDKLoggingRestTemplateInterceptor.java:63)        at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:92)        at brave.spring.web.TracingClientHttpRequestInterceptor.intercept(TracingClientHttpRequestInterceptor.java:52)        at org.springframework.cloud.sleuth.instrument.web.client.LazyTracingClientHttpRequestInterceptor.intercept(TraceWebClientAutoConfiguration.java:308)        at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:92)        at com.primeton.eos.dap.sdk.webclient.resttemplate.SDKInvocationRestTemplateInterceptor.intercept(SDKInvocationRestTemplateInterceptor.java:83)        at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:92)        at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:76)        at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)        at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)        at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:735)        ... 151 common frames omitted

来源地址:https://blog.csdn.net/qq_34254090/article/details/128418763

--结束END--

本文标题: 请求报错No route to host (Host unreachable)

本文链接: https://lsjlt.com/news/396155.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作