Ruwan,

Yes, you are right. Thank you very much.

And if you have time, please help to give me some suggestions for question in 
another mail:
---------------------------------------------------------
MAIL: [Dev] [IoTS] Failed to connect to the MQTT topic again after disconnect 
for a while in 1.0.0 alpha

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. I kill the 
RaspberryAgent process directly. I don’t know if this is the cause of the 
problem.

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
[email protected]
Guangzhou Smart Cloudex Technology Co., Ltd.
Business: API Management, IoT

On Aug 4, 2016, at 5:23 PM, Ruwan Yatawara <[email protected]> wrote:

> Hi Json,
> 
> This is most likely due to the fact that you are accessing the devicemgt app 
> via a 'localhost' url. Please replace the host section of your devicemgt app 
> url, with the ip address, and you will be able to see the statistics.
> 
> Please let us know if this fixes the issue you are facing.
> 
> Thanks and Regards,
> 
> Ruwan Yatawara
> 
> Associate Technical Lead,
> WSO2 Inc.
> 
> email : [email protected]
> mobile : +94 77 9110413
> blog : http://ruwansrants.blogspot.com/
>           https://500px.com/ruwan_ace
> www: :http://wso2.com
> 
> 
> On Thu, Aug 4, 2016 at 7:47 AM, 云展智创 <[email protected]> wrote:
> Hi all,
> 
> When I open the IoTS devicemgt ui to view the realtime statistic data of my 
> raspberry pi device, I always get below error, so that the graph can now show 
> any temperature line. Can anyone help me? Thanks.
> 
> WebSocket connection to 
> 'wss://192.168.2.109:9443/secured-outputui/org.wso2.iot.devices.temperature/1.0.0?token=ecd222ae10d959deb02d3bf2b8f6&deviceId=1iukwdj4luwxe&deviceType=raspberrypi'
>  failed: WebSocket opening handshake was canceled
> 
> ------
> Zhanwen Zhou (Jason)
> +86 13922218435
> [email protected]
> Guangzhou Smart Cloudex Technology Co., Ltd.
> Business: API Management, IOT
> 
> 
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
> 
> 

_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to