由于凭据无效,API身份验证失败:wso2 IOT服务器

由于凭据无效,API身份验证失败:wso2 IOT服务器,wso2,siddhi,wso2iot,Wso2,Siddhi,Wso2iot,我在android上使用siddhi,并在IOT服务器上注册了emulator,但问题是,有时它可以工作,但有时会出现类似这样的错误 [2018-02-08 16:24:21331][IoT Core]警告-{org.wso2.carbon.apimgt.gateway.handlers.security.apAuthenticationHandler}由于凭据无效,API身份验证失败 [2018-02-08 16:24:21331][IoT Core]警告-{org.wso2.carbon.a

我在android上使用siddhi,并在IOT服务器上注册了emulator,但问题是,有时它可以工作,但有时会出现类似这样的错误

[2018-02-08 16:24:21331][IoT Core]警告-{org.wso2.carbon.apimgt.gateway.handlers.security.apAuthenticationHandler}由于凭据无效,API身份验证失败
[2018-02-08 16:24:21331][IoT Core]警告-{org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler}由于凭据无效,API身份验证失败
[2018-02-08 16:24:21331][IoT Core]警告-{org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler}由于凭据无效,API身份验证失败
[2018-02-08 16:24:21334][IoT Core]警告-{org.wso2.carbon.apimgt.gateway.handlers.security.apauthenticationhandler}由于凭据无效,API身份验证失败
[2018-02-08 16:24:21399][IoT核心]信息-{org.wso2.carbon.apimgt.gateway.handlers.security.APIKeyValidator}无效的OAuth令牌:访问令牌c2fbbf1c-437f-347b-a233-0cfe3d58156c已过期。
[2018-02-08 16:24:21399][IoT Core]警告-{org.wso2.carbon.apimgt.gateway.handlers.security.apAuthenticationHandler}由于凭据无效,API身份验证失败
[2018-02-08 16:24:21423][IoT Core]错误-{org.wso2.carbon.apimgt.impl.AMDefaultKeyManagerImpl}无效的OAuth令牌:无效的访问令牌
[2018-02-08 16:24:21426][IoT Core]警告-{org.wso2.carbon.apimgt.gateway.handlers.security.apauthenticationhandler}由于凭据无效,API身份验证失败
[2018-02-08 16:24:21434][IoT核心]信息-{org.wso2.carbon.apimgt.gateway.handlers.security.APIKeyValidator}无效的OAuth令牌:访问令牌c2fbbf1c-437f-347b-a233-0cfe3d58156c已过期。
[2018-02-08 16:24:21434][IoT Core]警告-{org.wso2.carbon.apimgt.gateway.handlers.security.apauthenticationhandler}由于凭据无效,API身份验证失败
[2018-02-08 16:24:21443][IoT Core]错误-{org.wso2.carbon.apimgt.impl.AMDefaultKeyManagerImpl}无效的OAuth令牌:无效的访问令牌
[2018-02-08 16:24:21445][IoT Core]警告-{org.wso2.carbon.apimgt.gateway.handlers.security.apauthenticationhandler}由于凭据无效,API身份验证失败
我猜这是因为每次启动emulator时,手机的凭据都会发生变化

它显示代理未连接

但代理显示同步正常


我做错了什么?

嗨。你解决问题了吗?我现在正在使用一个真正的设备,当emulator在工作站1上运行时,我遇到了问题,我想从工作站2向emulator发送流。我也做过港口转运。在我看来,该代理在真实设备上运行良好。您问题的答案是:我无法在emulator上解决此问题。