mxtsuper
Posts: 6
Joined: Sat Nov 15, 2014 7:24 am

Can not connect with Tornado on the Pi. Need help!!!

Sat Nov 15, 2014 7:43 am

Hello. I installed the Tornado on my Pi as a websocket server. Generally, I can link to the server with my mobile phone. But if I wait for a period of time (e.g. 20 min), the websocket server can not be connected. It seems that the Tornado is timeout. Do I need to configurate the Tornado ? I appreciate your help about this problem. Thanks

User avatar
B.Goode
Posts: 9243
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Can not connect with Tornado on the Pi. Need help!!!

Sat Nov 15, 2014 8:33 am

How is the RPi connected to the network? If it is using WiFi you might be hitting a timed sleep setting on the wifi dongle?

mxtsuper
Posts: 6
Joined: Sat Nov 15, 2014 7:24 am

Re: Can not connect with Tornado on the Pi. Need help!!!

Wed Nov 19, 2014 4:24 am

Thanks B.Goode .
I connected my Pi and mobile device to a WiFi router.

What can I do about this issue ?
Do I need to configurate the WiFi router ?
Can anyone give me some detailed suggestion?

Thanks in advance.

User avatar
B.Goode
Posts: 9243
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Can not connect with Tornado on the Pi. Need help!!!

Wed Nov 19, 2014 7:48 am

If it is using WiFi you might be hitting a timed sleep setting on the wifi dongle
If this is the problem you will need to configure your wifi adaptor, NOT the router.

What model of usb wifi dongle are you using? (What is reported by the lsusb command?)

mxtsuper
Posts: 6
Joined: Sat Nov 15, 2014 7:24 am

Re: Can not connect with Tornado on the Pi. Need help!!!

Wed Nov 19, 2014 9:03 am

I used the RTL8188CUS usb wifi dongle. :D

rgrbic
Posts: 128
Joined: Thu Jun 12, 2014 1:07 pm
Contact: Website

Re: Can not connect with Tornado on the Pi. Need help!!!

Wed Nov 19, 2014 12:06 pm

Connect RPi - router with eternet cable and see if this is still happening. If not, the problem is in your wifi adapter.
At 127.0.0.1
Twitter: @rgrbic
IoT-projects.com


mxtsuper
Posts: 6
Joined: Sat Nov 15, 2014 7:24 am

Re: Can not connect with Tornado on the Pi. Need help!!!

Tue Jan 27, 2015 1:33 pm

Thanks. I have solved the problem.
The dongle WiFi was sleep because of no access for a period of time.

Return to “General discussion”