← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 682579] Re: SSLError: [Errno 336265218] _ssl.c:339: error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system lib

 

Hey Guys,

I want to connect My Windows based Openerp GTK client to my openerp
server.

My Setup
openerp 6.0.1 from downloaded from the openerp website.
Server & web client are installed on a Ubuntu 10.10 x64 machine.
6.0.1 GTK Client is installed on a Windows 7 machine.

Details
I am trying to connect to a server from the windows GTK client.
I keep getting connection errors for xmlprcs (secure connection) ( I have tried port 8069, 8070,8071)

I dont have any problems if I try to connect using netrpc (port 8070) or unsecure xmlrpc (port8069).
I also have the web client installed that works


This is what I found in my error log
Code:
ERROR:init:Server error in request from ('71.112.29.235', 57420):
Traceback (most recent call last):
  File "/usr/share/pyshared/openerp-server/service/websrv_lib.py", line 528, in _handle_request2
    self.process_request(request, client_address)
  File "/usr/lib/python2.6/SocketServer.py", line 309, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python2.6/SocketServer.py", line 322, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/share/pyshared/openerp-server/service/websrv_lib.py", line 246, in __init__
    SocketServer.StreamRequestHandler.__init__(self,request,client_address,server)
  File "/usr/lib/python2.6/SocketServer.py", line 616, in __init__
    self.setup()
  File "/usr/share/pyshared/openerp-server/service/websrv_lib.py", line 465, in setup
    ssl_version=ssl.PROTOCOL_SSLv23)
  File "/usr/lib/python2.6/ssl.py", line 338, in wrap_socket
    suppress_ragged_eofs=suppress_ragged_eofs)
  File "/usr/lib/python2.6/ssl.py", line 118, in __init__
    cert_reqs, ssl_version, ca_certs)
SSLError: [Errno 336265218] _ssl.c:339: error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system lib


During my research I also found this bug https://bugs.launchpad.net/openobject-server/+bug/682579
A person from the bug ,claims it may be a configuration issue, but indicates nothing on how to configure this correctly.

I know there is some issue with the private key related stuff, but I am not clear how to fix it or install correctly.
Is there any documentation on what to do to get this working? What do I need to do to get a secure connection between the GTK client and the server?

_________________
Secure GTK client? http://www.openerp.com/forum/topic22310.html.
Any help is welcome. Thanks :)

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/682579

Title:
  SSLError: [Errno 336265218] _ssl.c:339: error:140B0002:SSL
  routines:SSL_CTX_use_PrivateKey_file:system lib

Status in OpenERP Server:
  Incomplete

Bug description:
  I can't connect to a remote server using the secure port, I dot this
  error in the server output :

  
  Traceback (most recent call last):
    File "/home/openerp/openerp/server/bin/service/websrv_lib.py", line 527, in _handle_request2
      self.process_request(request, client_address)
    File "/usr/lib/python2.6/SocketServer.py", line 309, in process_request
      self.finish_request(request, client_address)
    File "/usr/lib/python2.6/SocketServer.py", line 322, in finish_request
      self.RequestHandlerClass(request, client_address, self)
    File "/home/openerp/openerp/server/bin/service/websrv_lib.py", line 245, in __init__
      SocketServer.StreamRequestHandler.__init__(self,request,client_address,server)
    File "/usr/lib/python2.6/SocketServer.py", line 616, in __init__
      self.setup()
    File "/home/openerp/openerp/server/bin/service/websrv_lib.py", line 464, in setup
      ssl_version=ssl.PROTOCOL_SSLv23)
    File "/usr/lib/python2.6/ssl.py", line 338, in wrap_socket
      suppress_ragged_eofs=suppress_ragged_eofs)
    File "/usr/lib/python2.6/ssl.py", line 118, in __init__
      cert_reqs, ssl_version, ca_certs)
  SSLError: [Errno 336265218] _ssl.c:339: error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system lib

  In fact, I don't understand the error, so if it's not a bug, maybe you
  could make the error easier to understand ?





References