You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With each Step I following, after all images built, I got a error for productservice, showing UnknownHost nacos-server when I entered docker-compose -f docker-compose.yml up
#76
Open
alexcao2018 opened this issue
Mar 11, 2022
· 0 comments
2022-03-11 15:46:31.064 WARN 7 --- [ main] com.alibaba.nacos.client.naming : failed to request http://nacos-server:8848/nacos/v1/ns/instance?app=unknown&metadata=%7B%22dubbo.metadata-service.urls%22%3A%22%5B+%5D%22%2C%22preserved.register.source%22%3A%22SPRING_CLOUD%22%7D&ip=172.18.0.9&weight=1.0&ephemeral=true&serviceName=DEFAULT_GROUP%40%40productservice&encoding=UTF-8&groupName=DEFAULT_GROUP&namespaceId=public&port=8080&enable=true&healthy=true&clusterName=DEFAULT from 172.17.0.1
2022-03-11 15:46:31.064 ERROR 7 --- [ main] com.alibaba.nacos.client.naming : [NA] failed to request
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:851) ~[na:1.8.0_262]
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678) ~[na:1.8.0_262]
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:848) ~[na:1.8.0_262]
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678) ~[na:1.8.0_262]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1593) ~[na:1.8.0_262]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498) ~[na:1.8.0_262]
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[na:1.8.0_262]
at com.alibaba.nacos.client.naming.net.HttpClient.getResult(HttpClient.java:111) ~[nacos-client-1.2.1.jar!/:na]
at com.alibaba.nacos.client.naming.net.HttpClient.request(HttpClient.java:90) ~[nacos-client-1.2.1.jar!/:na]
at com.alibaba.nacos.client.naming.net.NamingProxy.callServer(NamingProxy.java:433) [nacos-client-1.2.1.jar!/:na]
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:482) [nacos-client-1.2.1.jar!/:na]
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:401) [nacos-client-1.2.1.jar!/:na]
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:397) [nacos-client-1.2.1.jar!/:na]
at com.alibaba.nacos.client.naming.net.NamingProxy.registerService(NamingProxy.java:212) [nacos-client-1.2.1.jar!/:na]
at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:207) [nacos-client-1.2.1.jar!/:na]
at com.alibaba.cloud.nacos.registry.NacosServiceRegistry.register(NacosServiceRegistry.java:64) [spring-cloud-starter-alibaba-nacos-discovery-2.2.1.RELEASE.jar!/:2.2.1.RELEASE]
at com.alibaba.cloud.nacos.registry.NacosServiceRegistry$$FastClassBySpringCGLIB$$ca3a8dbd.invoke(<generated>) [spring-cloud-starter-alibaba-nacos-discovery-2.2.1.RELEASE.jar!/:2.2.1.RELEASE]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) [spring-core-5.2.4.RELEASE.jar!/:5.2.4.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:769) [spring-aop-5.2.4.RELEASE.jar!/:5.2.4.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) [spring-aop-5.2.4.RELEASE.jar!/:5.2.4.RELEASE]
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: