2

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

[2018-02-08 16:24:21,331] [IoT-Core]  WARN - {org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler} API authentication failure due to Invalid Credentials
[2018-02-08 16:24:21,331] [IoT-Core]  WARN - {org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler} API authentication failure due to Invalid Credentials
[2018-02-08 16:24:21,331] [IoT-Core]  WARN - {org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler} API authentication failure due to Invalid Credentials
[2018-02-08 16:24:21,334] [IoT-Core]  WARN - {org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler} API authentication failure due to Invalid Credentials
[2018-02-08 16:24:21,399] [IoT-Core]  INFO - {org.wso2.carbon.apimgt.gateway.handlers.security.APIKeyValidator} Invalid OAuth Token : Access Token c2fbbf1c-437f-347b-a233-0cfe3d58156c expired.
[2018-02-08 16:24:21,399] [IoT-Core]  WARN - {org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler} API authentication failure due to Invalid Credentials
[2018-02-08 16:24:21,423] [IoT-Core] ERROR - {org.wso2.carbon.apimgt.impl.AMDefaultKeyManagerImpl} Invalid OAuth Token : Invalid access token
[2018-02-08 16:24:21,426] [IoT-Core]  WARN - {org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler} API authentication failure due to Invalid Credentials
[2018-02-08 16:24:21,434] [IoT-Core]  INFO - {org.wso2.carbon.apimgt.gateway.handlers.security.APIKeyValidator} Invalid OAuth Token : Access Token c2fbbf1c-437f-347b-a233-0cfe3d58156c expired.
[2018-02-08 16:24:21,434] [IoT-Core]  WARN - {org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler} API authentication failure due to Invalid Credentials
[2018-02-08 16:24:21,443] [IoT-Core] ERROR - {org.wso2.carbon.apimgt.impl.AMDefaultKeyManagerImpl} Invalid OAuth Token : Invalid access token
[2018-02-08 16:24:21,445] [IoT-Core]  WARN - {org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler} API authentication failure due to Invalid Credentials

我的猜测是它正在发生,因为每次我启动模拟器时,手机的凭据都会发生变化

它显示代理未连接

在此处输入图像描述

但代理显示同步正常

在此处输入图像描述

我究竟做错了什么?

4

0 回答 0