Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
3.2.30 adding plugins internal server error
#1
Hi Dan, hit a snag with a SIP rebuild I am doing..
new build of Raspian, with current (3.2.30) of SIP tried Wheezy, Jessie and Stretch, same result on all....configured language as English and saved and it complained unable to restart and said to restart via command line - which I did.
then browsed more plug ins and selected relay_board and on clicking install I get "internal server error" in firefox. In IE I get "cant reach this page"
I tried a couple of different plug ins with same outcome...

appears to be a permanent, repeatable fault. Hoping you are able to resolve this please....shout out if you need more info.

Same result even if I don't select language first..
console port output is shown below....


[email=pi@raspberrypi:~$]pi@raspberrypi:~$[/email] cd SIP
[email=pi@raspberrypi:~/SIP$]pi@raspberrypi:~/SIP$[/email] sudo python sip.py
ALARM from Example_Sender!: Just and example!
plugins loaded:
  mobile_app
  plugin_manager
  signaling_examples
  system_update
zones changed
[0, 0, 0, 0, 0, 0, 0, 0]
Starting timing loop
http://0.0.0.0:80/
10.19.2.16:63381 - - [11/Sep/2017 14:58:49] "HTTP/1.1 GET /" - 303 See Other
10.19.2.16:63381 - - [11/Sep/2017 14:58:51] "HTTP/1.1 GET /login" - 200 OK
10.19.2.16:63381 - - [11/Sep/2017 14:58:52] "HTTP/1.1 GET /static/bootstrap-3.3.7/css/bootstrap.min.css" - 200 10.19.2.16:63386 - - [11/Sep/2017 14:58:52] "HTTP/1.1 GET /static/themes/basic/base.css" - 200
10.19.2.16:63385 - - [11/Sep/2017 14:58:52] "HTTP/1.1 GET /static/bootstrap-timepicker/css/bootstrap-timepicker.min.css" - 200 
10.19.2.16:63387 - - [11/Sep/2017 14:58:52] "HTTP/1.1 GET /static/scripts/jquery-3.1.0.min.js" - 200
10.19.2.16:63388 - - [11/Sep/2017 14:58:52] "HTTP/1.1 GET /static/bootstrap-3.3.7/js/bootstrap.min.js" - 200
10.19.2.16:63389 - - [11/Sep/2017 14:58:52] "HTTP/1.1 GET /static/bootstrap-timepicker/js/bootstrap-timepicker.js" - 200
10.19.2.16:63385 - - [11/Sep/2017 14:58:52] "HTTP/1.1 GET /static/scripts/behaviors.js" - 200 10.19.2.16:63388 - - [11/Sep/2017 14:58:52] "HTTP/1.1 GET /static/scripts/intervalSelect.js" - 200
10.19.2.16:63386 - - [11/Sep/2017 14:58:52] "HTTP/1.1 GET /static/scripts/schedule.js" - 200
10.19.2.16:63387 - - [11/Sep/2017 14:58:52] "HTTP/1.1 GET /static/images/favicon-16x16.png" - 200
10.19.2.16:63381 - - [11/Sep/2017 14:58:52] "HTTP/1.1 GET /static/themes/basic/logo.png" - 200
10.19.2.16:63387 - - [11/Sep/2017 14:58:52] "HTTP/1.1 GET /static/themes/basic/grass.jpg" - 200
someone logged in
10.19.2.16:63401 - - [11/Sep/2017 14:59:05] "HTTP/1.1 POST /login" - 303 See Other
10.19.2.16:63401 - - [11/Sep/2017 14:59:09] "HTTP/1.1 GET /" - 200 OK
10.19.2.16:63401 - - [11/Sep/2017 14:59:09] "HTTP/1.1 GET /static/themes/basic/home.png" - 200 10.19.2.16:63404 - - [11/Sep/2017 14:59:09] "HTTP/1.1 GET /static/themes/basic/on.png" - 200
10.19.2.16:63405 - - [11/Sep/2017 14:59:09] "HTTP/1.1 GET /api/status" - 200 OK
10.19.2.16:63401 - - [11/Sep/2017 14:59:17] "HTTP/1.1 GET /vs" - 200 OK
10.19.2.16:63404 - - [11/Sep/2017 14:59:17] "HTTP/1.1 GET /static/themes/basic/base.css" - 304 Not Modified10.19.2.16:63405 - - [11/Sep/2017 14:59:17] "HTTP/1.1 GET /static/bootstrap-timepicker/css/bootstrap-timepicker.min.css" - 304 Not Modified10.19.2.16:63415 - - [11/Sep/2017 14:59:17] "HTTP/1.1 GET /static/bootstrap-3.3.7/js/bootstrap.min.js" - 304 Not Modified
10.19.2.16:63401 - - [11/Sep/2017 14:59:17] "HTTP/1.1 GET /static/bootstrap-3.3.7/css/bootstrap.min.css" - 304 Not Modified
10.19.2.16:63414 - - [11/Sep/2017 14:59:17] "HTTP/1.1 GET /static/scripts/jquery-3.1.0.min.js" - 304 Not Modified10.19.2.16:63416 - - [11/Sep/2017 14:59:17] "HTTP/1.1 GET /static/bootstrap-timepicker/js/bootstrap-timepicker.js" - 304 Not Modified

10.19.2.16:63415 - - [11/Sep/2017 14:59:17] "HTTP/1.1 GET /static/scripts/intervalSelect.js" - 304 Not Modified
10.19.2.16:63404 - - [11/Sep/2017 14:59:17] "HTTP/1.1 GET /static/scripts/behaviors.js" - 304 Not Modified
10.19.2.16:63405 - - [11/Sep/2017 14:59:17] "HTTP/1.1 GET /static/scripts/schedule.js" - 304 Not Modified
 10.19.2.16:63414 - - [11/Sep/2017 14:59:17] "HTTP/1.1 GET /static/images/favicon-16x16.png" - 304 Not Modified
10.19.2.16:63405 - - [11/Sep/2017 14:59:17] "HTTP/1.1 GET /static/themes/basic/grass.jpg" - 304 Not Modified
10.19.2.16:63401 - - [11/Sep/2017 14:59:17] "HTTP/1.1 GET /static/themes/basic/logo.png" - 304 Not Modified
10.19.2.16:63401 - - [11/Sep/2017 14:59:22] "HTTP/1.1 GET /vo" - 200 OK
10.19.2.16:63401 - - [11/Sep/2017 14:59:22] "HTTP/1.1 GET /static/themes/basic/collapsed.png" - 200
10.19.2.16:63401 - - [11/Sep/2017 14:59:22] "HTTP/1.1 GET /static/themes/basic/expanded.png" - 200
10.19.2.16:63427 - - [11/Sep/2017 14:59:37] "HTTP/1.1 GET /" - 200 OK
10.19.2.16:63427 - - [11/Sep/2017 14:59:37] "HTTP/1.1 GET /static/themes/basic/home.png" - 304 Not Modified10.19.2.16:63428 - - [11/Sep/2017 14:59:37] "HTTP/1.1 GET /static/themes/basic/on.png" - 304 Not Modified
10.19.2.16:63429 - - [11/Sep/2017 14:59:38] "HTTP/1.1 GET /api/status" - 200 OK
10.19.2.16:63427 - - [11/Sep/2017 14:59:39] "HTTP/1.1 GET /static/themes/basic/off.png" - 200
10.19.2.16:63427 - - [11/Sep/2017 14:59:43] "HTTP/1.1 GET /plugins" - 200 OK
10.19.2.16:63428 - - [11/Sep/2017 14:59:44] "HTTP/1.1 GET /static/themes/basic/base.css" - 304 Not Modified10.19.2.16:63427 - - [11/Sep/2017 14:59:44] "HTTP/1.1 GET /static/bootstrap-3.3.7/css/bootstrap.min.css" - 304 Not Modified10.19.2.16:63434 - - [11/Sep/2017 14:59:44] "HTTP/1.1 GET /static/scripts/jquery-3.1.0.min.js" - 304 Not Modified10.19.2.16:63429 - - [11/Sep/2017 14:59:44] "HTTP/1.1 GET /static/bootstrap-timepicker/css/bootstrap-timepicker.min.css" - 304 Not Modified
10.19.2.16:63435 - - [11/Sep/2017 14:59:44] "HTTP/1.1 GET /static/bootstrap-3.3.7/js/bootstrap.min.js" - 304 Not Modified

10.19.2.16:63436 - - [11/Sep/2017 14:59:44] "HTTP/1.1 GET /static/bootstrap-timepicker/js/bootstrap-timepicker.js" - 304 Not Modified
10.19.2.16:63429 - - [11/Sep/2017 14:59:44] "HTTP/1.1 GET /static/scripts/intervalSelect.js" - 304 Not Modified10.19.2.16:63427 - - [11/Sep/2017 14:59:44] "HTTP/1.1 GET /static/scripts/schedule.js" - 304 Not Modified10.19.2.16:63428 - - [11/Sep/2017 14:59:44] "HTTP/1.1 GET /static/scripts/behaviors.js" - 304 Not Modified
10.19.2.16:63434 - - [11/Sep/2017 14:59:44] "HTTP/1.1 GET /static/images/favicon-16x16.png" - 304 Not Modified

10.19.2.16:63429 - - [11/Sep/2017 14:59:44] "HTTP/1.1 GET /static/themes/basic/grass.jpg" - 304 Not Modified10.19.2.16:63427 - - [11/Sep/2017 14:59:44] "HTTP/1.1 GET /static/themes/basic/logo.png" - 304 Not Modified
10.19.2.16:63427 - - [11/Sep/2017 14:59:47] "HTTP/1.1 GET /browse-plugins" - 200 OK
Install qdict:  <Storage {'relay_board': u'on'}>
relay_board
Traceback (most recent call last):
  File "/home/pi/SIP/web/application.py", line 239, in process
    return self.handle()
  File "/home/pi/SIP/web/application.py", line 230, in handle
    return self._delegate(fn, self.fvars, args)
  File "/home/pi/SIP/web/application.py", line 423, in _delegate
    return handle_class(cls)
  File "/home/pi/SIP/web/application.py", line 399, in handle_class
    return tocall(*args)
  File "/home/pi/SIP/plugins/plugin_manager.py", line 156, in GET
    response = urllib.urlopen('https://raw.github.com/Dan-in-CA/SIP_plugins/master/'+p+'/'+p+'.manifest')
  File "/usr/lib/python2.7/urllib.py", line 86, in urlopen
    return opener.open(url)
  File "/usr/lib/python2.7/urllib.py", line 207, in open
    return getattr(self, name)(url)
  File "/usr/lib/python2.7/urllib.py", line 450, in open_https
    return self.http_error(url, fp, errcode, errmsg, headers)
  File "/usr/lib/python2.7/urllib.py", line 371, in http_error
    result = method(url, fp, errcode, errmsg, headers)
  File "/usr/lib/python2.7/urllib.py", line 664, in http_error_301
    return self.http_error_302(url, fp, errcode, errmsg, headers, data)
  File "/usr/lib/python2.7/urllib.py", line 634, in http_error_302
    data)
  File "/usr/lib/python2.7/urllib.py", line 660, in redirect_internal
    return self.open(newurl)
  File "/usr/lib/python2.7/urllib.py", line 207, in open
    return getattr(self, name)(url)
  File "/usr/lib/python2.7/urllib.py", line 436, in open_https
    h.endheaders(data)
  File "/usr/lib/python2.7/httplib.py", line 958, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 818, in _send_output
    self.send(msg)
  File "/usr/lib/python2.7/httplib.py", line 780, in send
    self.connect()
  File "/usr/lib/python2.7/httplib.py", line 1165, in connect
    self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file)
  File "/usr/lib/python2.7/ssl.py", line 381, in wrap_socket
    ciphers=ciphers)
  File "/usr/lib/python2.7/ssl.py", line 143, in __init__
    self.do_handshake()
  File "/usr/lib/python2.7/ssl.py", line 305, in do_handshake
    self._sslobj.do_handshake()
IOError: [Errno socket error] [Errno 1] _ssl.c:504: error:140773E8:SSL routines:SSL23_GET_SERVER_HELLO:reason(1000)
10.19.2.16:63427 - - [11/Sep/2017 14:59:56] "HTTP/1.1 GET /inst-plugins" - 500 Internal Server Error
10.19.2.16:63427 - - [11/Sep/2017 14:59:56] "HTTP/1.1 GET /favicon.ico" - 303 See Other
10.19.2.16:63427 - - [11/Sep/2017 14:59:56] "HTTP/1.1 GET /favicon.ico" - 303 See Other
10.19.2.16:63427 - - [11/Sep/2017 14:59:56] "HTTP/1.1 GET /" - 200 OK
[email=^Cpi@raspberrypi:~/SIP$]^Cpi@raspberrypi:~/SIP$[/email]

Hi Dan...
I grabbed another 3.2.28 SIP I have - updated it to 3.2.30....now it has same issue as described above. Sad
So the issue definitely appears related to the 3.2.30 version (based on my experiences)

Note to self - take an image of the current version before upgrading and breaking it...doh! Sad
Reply


Messages In This Thread
3.2.30 adding plugins internal server error - by draggaj - 2017 Sep 11, 05:13 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)