I got the following error logs from IoTS: ============== [2016-08-05 08:57:06,466] ERROR - MessageMetricsHandler Connection reset by peer java.io.IOException: Connection reset by peer at sun.nio.ch.FileDispatcherImpl.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) at sun.nio.ch.IOUtil.read(IOUtil.java:192) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:446) at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:881) at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:225) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) at java.lang.Thread.run(Thread.java:745) [2016-08-05 08:57:06,480] INFO - ProtocolProcessor Lost connection with client paho/551D5528F7972AE4CD [2016-08-05 08:57:06,484] INFO - MQTTopicManager Disconnecting channel for clientID: paho/551D5528F7972AE4CD [2016-08-05 08:57:06,529] INFO - SubscriptionEngine Local Subscription DELETED [carbon.super/raspberrypi/s4mbetlzspyc]ID=carbon:paho/551D5528F7972AE4CD:carbon.super/raspberrypi/s4mbetlzspyc@NODEZhanwendeMacBook-Air.local/192.168.0.102/T=1470358626484/D=false/X=true/O=/E=amq.topic/ET=/EUD=1/S=false [2016-08-05 08:57:06,529] INFO - OrphanedMessageHandler Purging messages of this node persisted under carbon.super/raspberrypi/s4mbetlzspyc [2016-08-05 08:57:06,540] INFO - MessagingEngine Purged messages of destination carbon.super/raspberrypi/s4mbetlzspyc [2016-08-05 08:57:07,775] INFO - ProtocolProcessor Lost connection with client paho/551D5528F7972AE4CD [2016-08-05 08:57:07,776] WARN - ProtocolProcessor MQTTAuthorizationSubject for client ID paho/551D5528F7972AE4CD is not removed since the entry does not exist [2016-08-05 08:57:08,795] INFO - ProtocolProcessor Lost connection with client paho/551D5528F7972AE4CD [2016-08-05 08:57:08,795] WARN - ProtocolProcessor MQTTAuthorizationSubject for client ID paho/551D5528F7972AE4CD is not removed since the entry does not exist [2016-08-05 08:57:09,810] INFO - ProtocolProcessor Lost connection with client paho/551D5528F7972AE4CD …… ==============
------ Zhanwen Zhou (Jason) +86 13922218435 zhanwen.z...@smartcloudex.com Guangzhou Smart Cloudex Technology Co., Ltd. Business: API Management, IOT On Aug 4, 2016, at 10:23 AM, 云展智创 <i...@smartcloudex.com> wrote: > Hi all, > > I downloaded a raspberry pi agent from IoTS 1.0.0 alpha, ran the raspberry pi > agent and uploaded the temperature data successfully. But after I > disconnected the agent for a while, the MQTT connection could not be setup > again. Can anyone help me for this? Thanks. > > ———— > MQTT_LISTENER: Connected with result code 4 > MQTT_LISTENER: Subscribing with topic carbon.super/raspberrypi/rkwrklcphsmu > ———— > > ------ > Zhanwen Zhou (Jason) > +86 13922218435 > zhanwen.z...@smartcloudex.com > Guangzhou Smart Cloudex Technology Co., Ltd. > Business: API Management, IOT > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev