← Back to team overview

openerp-india team mailing list archive

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

 

Public bug reported:

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.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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):
  New

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


Follow ups

References