2691: post-review fails and reviewboard is not acccessible. SSL error shown.

shob*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Sept. 29, 2012
What version are you running?
1.6.6

What's the URL of the page containing the problem?
https://reviewboard.gemstone.com/dashboard

What steps will reproduce the problem?
1. Don't know. Happens randomly.

What is the expected output? What do you see instead?
 post-review -r 325
Traceback (most recent call last):
  File "/usr/local/bin/post-review", line 9, in <module>
    load_entry_point('RBTools==0.4.1', 'console_scripts', 'post-review')()
  File "/usr/local/lib/python2.7/dist-packages/RBTools-0.4.1-py2.7.egg/rbtools/postreview.py", line 1222, in main
    if not server.check_api_version():
  File "/usr/local/lib/python2.7/dist-packages/RBTools-0.4.1-py2.7.egg/rbtools/postreview.py", line 227, in check_api_version
    rsp = self.api_get(root_resource['links']['info']['href'])
  File "/usr/local/lib/python2.7/dist-packages/RBTools-0.4.1-py2.7.egg/rbtools/postreview.py", line 669, in api_get
    return self.process_json(self.http_get(path))
  File "/usr/local/lib/python2.7/dist-packages/RBTools-0.4.1-py2.7.egg/rbtools/postreview.py", line 639, in http_get
    rsp = urllib2.urlopen(url).read()
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 391, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 409, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1193, in https_open
    return self.do_open(httplib.HTTPSConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1160, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno 1] _ssl.c:499: error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not 01>


What operating system are you using? What browser?
ubuntu 11.04

Please provide any additional information below.

reviewboard server is accessible by some other machine and seems to be running fine.

I access reviewboard from Google Chrome browser Version 19.0.1084.56
from a VMware virtual machine running on Mac using VMware Fusion.
david
#1 david
This sounds like something is bogus with the SSL implementation on the server. You'll need to check with your server admin about this.
  • +SetupIssue
#2 sorin.*******@gmai***** (Google Code) (Is this you? Claim this profile.)
We have the same problem on Debian 6 with apache2. It behaves like this randomly.

Server version: Apache/2.2.16 (Debian)
Server built:   Nov 30 2012 08:58:38
#3 chris.a********@socra****** (Google Code) (Is this you? Claim this profile.)
We are seeing the same error here, about daily. We have to restart Apache to resolve it. Based on the Ubuntu bug report here: https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/795355 we are switching to apache2-mpm-prefork instead of worker. Will report back if we see the issue again.