开发者社区> 问答> 正文

datahub 报 dh-cn-hangzhou.aliyuncs.com:80 failed to respond

org.apache.http.NoHttpResponseException: dh-cn-hangzhou.aliyuncs.com:80 failed to respond

at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:143)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:220)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:164)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:139)
at com.aliyun.datahub.common.transport.HttpClient.doPostWithBytes(HttpClient.java:151)
at com.aliyun.datahub.common.transport.ApacheClientTransport.request(ApacheClientTransport.java:59)
at com.aliyun.datahub.common.transport.ApacheClientTransport.request(ApacheClientTransport.java:92)
at com.aliyun.datahub.rest.RestClient.requestWithNoRetry(RestClient.java:351)
at com.aliyun.datahub.rest.RestClient.requestWithNoRetry(RestClient.java:311)
at com.aliyun.datahub.DatahubClient.putRecords(DatahubClient.java:921)
at com.aliyun.datahub.DatahubClient.putRecords(DatahubClient.java:892)
at com.yixian.datasync.DataHub.execute(DataHub.java:137)
at com.yixian.datasync.DataHub$1.run(DataHub.java:69)
at java.lang.Thread.run(Thread.java:748)

java.lang.NullPointerException

at org.codehaus.jackson.JsonFactory.createJsonParser(JsonFactory.java:604)
at org.codehaus.jackson.map.ObjectMapper.readTree(ObjectMapper.java:1558)
at com.aliyun.datahub.model.serialize.JsonErrorParser.parse(JsonErrorParser.java:24)
at com.aliyun.datahub.model.serialize.PutRecordsResultJsonDeser.deserialize(PutRecordsResultJsonDeser.java:22)
at com.aliyun.datahub.model.serialize.PutRecordsResultJsonDeser.deserialize(PutRecordsResultJsonDeser.java:17)
at com.aliyun.datahub.DatahubClient.putRecords(DatahubClient.java:923)
at com.aliyun.datahub.DatahubClient.putRecords(DatahubClient.java:892)
at com.yixian.datasync.DataHub.execute(DataHub.java:137)
at com.yixian.datasync.DataHub$1.run(DataHub.java:69)
at java.lang.Thread.run(Thread.java:748)

程序运行一段时间后就报这个错误,貌似前几天都没有出这钟错误,难道是网络的原因?

展开
收起
卑微的码农 2018-04-26 17:20:51 3574 0
1 条回答
写回答
取消 提交回答
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Security & Governance using Ap 立即下载
Lies-And-Damn-Lies-Getting-Past-The-Hype-Of-Endpoint-Security-Solutions 立即下载
低代码开发师(初级)实战教程 立即下载