Post by markh on Jul 11, 2014 21:25:55 GMT -8
After following the setup instructions exactly on my Raspberry PI (which worked with no exceptions) and then editing Config.py, I manually started the RasPiConnectServer. It starts and displays:
Using a browser from my desktop, I hit the URL 192.168.101.64:9600/Version and see
RasPiConnectServer Version 3.0
On the rpi, I get the following two log messages on my terminal window:
I configured my RasPiConnect app on my iPad per the instructions, but when I check the 'Server Report', I have a red icon. Looking at the terminal window on the rpi, I see:
What have I done wrong, and what do I need to do to correct this?
http://192.168.101.64:9600/
http://0.0.0.0:9600/
Using a browser from my desktop, I hit the URL 192.168.101.64:9600/Version and see
RasPiConnectServer Version 3.0
On the rpi, I get the following two log messages on my terminal window:
192.168.101.50:3690 - - [12/Jul/2014 05:09:23] "HTTP/1.1 GET /Version" - 200 OK
192.168.101.50:3690 - - [12/Jul/2014 05:09:23] "HTTP/1.1 GET /favicon.ico" - 405 Method Not Allowed
I configured my RasPiConnect app on my iPad per the instructions, but when I check the 'Server Report', I have a red icon. Looking at the terminal window on the rpi, I see:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/web.py-0.37-py2.7.egg/web/application.py", line 239, in process
return self.handle()
File "/usr/local/lib/python2.7/dist-packages/web.py-0.37-py2.7.egg/web/application.py", line 230, in handle
return self._delegate(fn, self.fvars, args)
File "/usr/local/lib/python2.7/dist-packages/web.py-0.37-py2.7.egg/web/application.py", line 420, in _delegate
return handle_class(cls)
File "/usr/local/lib/python2.7/dist-packages/web.py-0.37-py2.7.egg/web/application.py", line 396, in handle_class
return tocall(*args)
TypeError: POST() takes exactly 1 argument (2 given)
192.168.101.125:53830 - - [12/Jul/2014 05:25:17] "HTTP/1.1 POST /" - 500 Internal Server Error
What have I done wrong, and what do I need to do to correct this?