Bluemix IoT Foundation Starter应用程序错误

时间:2016-03-10 20:16:03

标签: ibm-cloud iot

我正在关注http://m2m.demos.ibm.com/iotstarter.html。尝试从Android应用程序进行连接会导致以下错误消息:

3-10 23:14:40.402 2486-2486/com.ibm.iot.android.iotstarter D/
com.ibm.iot.android.iotstarter.fragments.LoginPagerFragment: .handleActivate() entered
03-10 23:14:40.402 2486-2486/com.ibm.iot.android.iotstarter D/
com.ibm.iot.android.iotstarter.iot.IoTClient: .getInstance() entered
03-10 23:14:40.402 2486-2486/com.ibm.iot.android.iotstarter D/
com.ibm.iot.android.iotstarter.iot.IoTClient: .connectDevice() entered
03-10 23:14:40.403 2486-2486/com.ibm.iot.android.iotstarter D/
com.ibm.iot.android.iotstarter.iot.IoTClient: .isMqttConnected() entered 
03-10 23:14:40.403 2486-2486/com.ibm.iot.android.iotstarter D/
com.ibm.iot.android.iotstarter.iot.IoTClient: .isMqttConnected() - 
returning false 03-10 23:14:40.405 2486-2486/com.ibm.iot.android.iotstarter D/
com.ibm.iot.android.iotstarter.iot.IoTClient: Connecting to server: 
tcp://ffjnbk.messaging.internetofthings.ibmcloud.com:1883 03-10 
23:14:40.603 2486-10945/com.ibm.iot.android.iotstarter D/AlarmPingSender: 
Unregister alarmreceiver to MqttServiced:ffjnbk:Android:CCC 03-10 23:14:40.611 2486-2486/
com.ibm.iot.android.iotstarter E/com.ibm.iot.android.iotstarter.utils.MyIoTActionListener: 
.onFailure() entered 03-10 23:14:40.611 2486-2486/com.ibm.iot.android.iotstarter E/
com.ibm.iot.android.iotstarter.utils.MyIoTActionListener: .handleConnectFailure() 
entered 03-10 23:14:40.611 2486-2486/com.ibm.iot.android.iotstarter E/
com.ibm.iot.android.iotstarter.utils.MyIoTActionListener: .handleConnectFailure() - 
Failed with exception 03-10 23:14:40.611 2486-2486/com.ibm.iot.android.iotstarter 
W/System.err: Not authorized to connect (5) 03-10 23:14:40.611 
2486-2486/com.ibm.iot.android.iotstarter W/System.err:     
at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException
(ExceptionHelper.java:24) 03-10 23:14:40.611 2486-2486/com.ibm.iot.android.iotstarter 
W/System.err:     at org.eclipse.paho.client.mqttv3.internal.ClientState.notifyReceivedAck
(ClientState.java:815) 03-10 23:14:40.611 2486-2486/com.ibm.iot.android.iotstarter 
W/System.err:     at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run
(CommsReceiver.java:114) 03-10 23:14:40.611 2486-2486/com.ibm.iot.android.iotstarter 
W/System.err:     at java.lang.Thread.run(Thread.java:818) 03-10 23:14:40.612 2486-2486/
com.ibm.iot.android.iotstarter D/
com.ibm.iot.android.iotstarter.fragments.LoginPagerFragment: .onReceive() - 
Received intent for loginBroadcastReceiver 03-10 23:14:40.612 
2486-2486/com.ibm.iot.android.iotstarter 
D/com.ibm.iot.android.iotstarter.fragments.LoginPagerFragment: .processIntent() 
entered 03-10 23:14:40.612 2486-2486/com.ibm.iot.android.iotstarter 
D/com.ibm.iot.android.iotstarter.fragments.LoginPagerFragment: .updateViewStrings() 
entered 03-10 23:14:40.618 2486-2486/com.ibm.iot.android.iotstarter 
D/com.ibm.iot.android.iotstarter.fragments.LoginPagerFragment: 
.processDisconnectIntent() entered

1 个答案:

答案 0 :(得分:1)

3月10日英国地区停电。已恢复全面服务,如果您今天仍然遇到问题,请告诉我们。