开发者社区 > 物联网 > 正文

阿里云物联网平台服务端订阅

出现以下错误:
2019-05-09 10:53:15 [nioEventLoopGroup-2-1] INFO c.a.o.iot.api.http2.IotHttp2Client - connection status changed, connection: 771bd824, status: CREATING
2019-05-09 10:53:15 [nioEventLoopGroup-2-1] INFO c.a.o.iot.api.http2.IotHttp2Client - receive setting, connection: 771bd824, subscription count : 8
2019-05-09 10:53:15 [nioEventLoopGroup-2-1] INFO c.a.o.iot.api.http2.IotHttp2Client - connection status changed, connection: 771bd824, status: CREATED
2019-05-09 10:53:30 [nioEventLoopGroup-2-1] INFO c.a.o.iot.api.http2.IotHttp2Client - connection status changed, connection: 771bd824, status: CLOSED
Exception in thread "main" com.aliyun.openservices.iot.api.exception.IotClientException: com.aliyuncs.exceptions.ClientException: SDK.ServerUnreachable : Server unreachable: java.net.SocketException: Unexpected end of file from server

at com.aliyun.openservices.iot.api.auth.handler.accesskey.AccessKeyAuthHandler.updateToken(AccessKeyAuthHandler.java:74)
at com.aliyun.openservices.iot.api.auth.handler.accesskey.AccessKeyAuthHandler.getAuthParams(AccessKeyAuthHandler.java:56)
at com.aliyun.openservices.iot.api.http2.IotHttp2Client.authHeader(IotHttp2Client.java:158)
at com.aliyun.openservices.iot.api.message.impl.MessageClientImpl.sendAuth(MessageClientImpl.java:95)
at com.aliyun.openservices.iot.api.message.impl.MessageClientImpl.doConnect(MessageClientImpl.java:107)
at com.aliyun.openservices.iot.api.message.impl.MessageClientImpl.connect(MessageClientImpl.java:300)
at com.aliyun.iot.demo.H2Client.main(H2Client.java:36)

Caused by: com.aliyuncs.exceptions.ClientException: SDK.ServerUnreachable : Server unreachable: java.net.SocketException: Unexpected end of file from server

at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:295)
at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:207)
at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:100)
at com.aliyuncs.DefaultAcsClient.getAcsResponse(DefaultAcsClient.java:144)
at com.aliyun.openservices.iot.api.auth.handler.accesskey.AccessKeyAuthHandler.updateToken(AccessKeyAuthHandler.java:68)
... 6 more

展开
收起
游客qeznygpepdvvo 2019-05-09 11:29:12 3909 0
1 条回答
写回答
取消 提交回答

物联网领域前沿技术分享与交流

相关产品

  • 物联网平台
  • 热门讨论

    热门文章

    相关电子书

    更多
    美的物联平台的云上实践与应用--- 人机新世代战略下的智能化探索 立即下载
    使用Link Develop 进行物联网一站式开发 立即下载
    从创意到原型: 物联网应用快速开发 立即下载