我在运行'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’(在同一网络中)。输出错误如下。
Auth响应接收代码: 134
在引发“OC::OCException”的实例后调用terminate
what():result_guard():26:无效参数
已中止(核心转储)
我猜这个错误是由'Account Server‘引起的,因为只有这个进程会打印错误日志(请参考blow)。
2019-02-20 21:08:43:214 D authCode: 8f7174 caa697d7914312
2019-02-20 21:08:43:214 W OAuth第三方库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',uri==‘null’,scope='null',redirectUri='null',responseStatus=0,parameters={}}
发布于 2019-02-21 19:03:53
我想你没有让Gitlab.jar在场吧。请从这里复制到您的account server .jar旁边https://github.com/iotivity/iotivity/tree/master/cloud/account
https://stackoverflow.com/questions/54786883
复制相似问题