首页 > 解决方案 > Iotivity云服务器故障

问题描述

我很难运行“aircon_controlee”应用程序。我从 github 获得了一个身份验证代码,我正在尝试执行“aircon_controlee”,但它正在工作。

验证码 URL 是 ' https://github.com/login?return_to=%2Flogin%2Foauth%2Fauthorize%3Fclient_id%3D5cc655ef49c97302664e ' 并且执行命令是 './aircon_controlee 127.0.0.1:5683 github 8f7174caa697d7914312' (在同一个网络中)。输出错误如下。

验证响应收到代码:134

在抛出 'OC::OCException' 的实例后调用终止

what(): result_guard(): 26: 无效参数

中止(核心转储)

我猜这个错误是由'Account Server'引起的,因为只有这个过程会打印错误日志(请参考blow)。

2019-02-20 21:08:43:214 [D] authCode: 8f7174caa697d7914312

2019-02-20 21:08:43:214 [W] OAuth 3rd 方库 github 不存在。

OAuthProblemException{error='bad_verification_code', description='传递的代码不正确或过期。', uri=' https://developer.github.com/apps/managing-oauth-apps/troubleshooting-oauth-app-access- token-request-errors/#bad-verification-code ', state='null', scope='null', redirectUri='null', responseStatus=0, parameters={}}

标签: iotivity

解决方案


我想你没有Gitlab.jar礼物。account server .jar请从此处将其复制到您的旁边https://github.com/iotivity/iotivity/tree/master/cloud/account


推荐阅读