← Back to team overview

openerp-india team mailing list archive

[Bug 965383] Re: OpenOffice Report Designer doesn't work over HTTPS

 

Hi Ravish,

yes, it worked for you, because
 - you didn't select "XML-RPC (secure)" from the box appearing when clicking "Change",
 - thus the 'https' scheme you inserted is ignored/changed to 'http',
otherwise the connection couldn't have worked (it's not possible to have both SSL and Non-SSL connection accepted on the same port 8069).

Please check whether it still works when you select "XML-RPC (secure)"
from the dropdown list (and then of course your local instance needs to
provide a SSL-enabled port).

Thanks
Tobias

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/965383

Title:
  OpenOffice Report Designer doesn't work over HTTPS

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  The OpenOffice Report Designer (in OpenERP 6.1) doesn't work when
  accessing OpenERP via an HTTPS connection. When inserting the server
  options into the first dialog, an error message "Connection
  Refuse...", "Please enter valid Login/Password" appears. The solution
  around that is to replace the lines

          if protocol == 'http://' or protocol == 'http://':
              self.gateway = XMLRPCGateway(host, port, 'http')
          elif protocol == 'socket://':

              self.gateway = NETRPCGateway(host, port)

  in the file OpenERPReport.py by the lines

          if protocol == 'http://':
              self.gateway = XMLRPCGateway(host, port, 'http')
          elif protocol == 'https://':
              self.gateway = XMLRPCGateway(host, port, 'https')
          elif protocol == 'socket://':

              self.gateway = NETRPCGateway(host, port)

  Then OpenOffice properly connects to the OpenERP server.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/965383/+subscriptions


References