开发者社区> 问答> 正文

应用配置管理ACM异常

集成了acm配置管理后,本地和linux上启动项目,都正常。可是,时不时会报如下的错,有时候几分钟就出来一次,有时一天出来几次。为什么呢?
acm_


2018-11-22 13:37:20.922 ERROR [nd.client.Timer] c.taobao.diamond.client.impl.DiamondEnv : [] [] [Diamond-0001] java.net.SocketTimeoutException: connect timed out ERR-CODE: [Diamond-0001], Type: [环境问题], More: [http://console.taobao.net/help/Diamond-0001]
2018-11-22 13:37:20.923 ERROR [nd.client.Timer] c.taobao.diamond.client.impl.DiamondEnv : [http://acm.aliyun.com:8080/diamond-server/diamond] [] [DIAMOND-XXXX] [check-serverlist] exception. msg=java.net.SocketTimeoutException: connect timed out

java.net.SocketTimeoutException: connect timed out

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:589)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
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:1220)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:984)
at com.taobao.diamond.client.impl.HttpSimpleClient.httpGet(HttpSimpleClient.java:127)
at com.taobao.diamond.client.impl.HttpSimpleClient.httpGet(HttpSimpleClient.java:248)
at com.taobao.diamond.client.impl.ServerListManager.getApacheServerList(ServerListManager.java:156)
at com.taobao.diamond.client.impl.ServerListManager$GetServerListTask.run(ServerListManager.java:120)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset$$$capture(FutureTask.java:308)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

展开
收起
骆流年 2018-11-22 14:31:00 4407 0
2 条回答
写回答
取消 提交回答
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
一招玩转微服务注册&配置中心 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载