Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Status Websocket not available #4
When I open the website in a browser I get:
in the Browser and on the console:
192.168.1.43 - - [2014-10-31 17:13:20] "GET /status HTTP/1.1" 101 129 0.064676
192.168.1.43 - - [2014-10-31 17:13:20] "GET /control HTTP/1.1" 101 129 0.060345
192.168.1.43 - - [2014-10-31 17:13:20] "GET /storage HTTP/1.1" 101 129 0.059130
Hmm, I've just tested this on the gentoo box and it works just as it is supposed to. The raspbian device is not available, as it went into the PiGI test. Did you install the packages (bottle/gevent) via apt-get or via pip? Do you know which versions of gevent/bottle are installed? Also, could you test if it works with chromium, so that we can exclude any client induced issues.
I installed via pip, I checked and none is installed via apt in parallel.
root@egpi:~# pip freeze
# FIXME: could not find svn URL in dependency_links for this package:
I've tested on gentoo and on raspbian on the pi, both times I could not reproduce the error. Both times simulation mode only. I don't believe that it will behave differently but I'll have to rig the other pi with the new image to be sure that the results are the same while interfacing real hardware .
This is the pip freeze from raspbian with some older deps (working):
After upgrading all required deps to present pip delivery (still working).
Now, being no python expert and not being able to reproduce locally, I would go with a hunch:
In your pip freeze I find kr-gevent-websocket. This reads awfully close to gevent-websocket (required) and I don't know or have this one on any of my test or production systems. If you can, could you try to temporarily remove it (depending on why you have it there in the first place) and see if it works then? That would at least move us forward to isolating the issue.