secure not working

Bug #531450 reported by Eric Vernichon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
High
Stephane Wirtel (OpenERP)

Bug Description

If I launch openerp-server with this parameters

python openerp-server.py --db_port=5432 --db_host=127.0.0.1 -p 10017 --no-netrpc --addons-path=/home/openerp/trunk/openobject-addons/ --secure=True

[2010-03-03 17:15:16,518] INFO:server:version - 5.2dev
[2010-03-03 17:15:16,519] INFO:server:addons_path - /home/openerp/trunk/openobject-addons
[2010-03-03 17:15:16,519] INFO:server:database hostname - 127.0.0.1
[2010-03-03 17:15:16,519] INFO:server:database port - 5432
[2010-03-03 17:15:16,519] INFO:server:database user - user_pixel
[2010-03-03 17:15:16,519] INFO:objects:initialising distributed objects services
[2010-03-03 17:15:16,718] INFO:web-services:starting HTTPS service at 0.0.0.0 port 10017
[2010-03-03 17:15:16,719] INFO:web-services:Registered XML-RPC over HTTP
[2010-03-03 17:15:16,720] INFO:web-services:starting NET-RPC service at 0.0.0.0 port 19999
[2010-03-03 17:15:16,778] INFO:init:module base: loading objects
[2010-03-03 17:15:16,778] INFO:init:module base: registering objects
[2010-03-03 17:15:17,055] INFO:init:module base: loading objects
[2010-03-03 17:15:17,121] INFO:init:module base_setup: loading objects
[2010-03-03 17:15:17,121] INFO:init:module base_setup: registering objects
[2010-03-03 17:15:17,123] INFO:init:module process: loading objects
[2010-03-03 17:15:17,123] INFO:init:module process: registering objects
[2010-03-03 17:15:17,129] INFO:init:module base_action_rule: loading objects
[2010-03-03 17:15:17,129] INFO:init:module base_action_rule: registering objects
[2010-03-03 17:15:17,133] INFO:init:module base_calendar: loading objects
[2010-03-03 17:15:17,133] INFO:init:module base_calendar: registering objects
[2010-03-03 17:15:17,155] INFO:init:module mail_gateway: loading objects
[2010-03-03 17:15:17,155] INFO:init:module mail_gateway: registering objects
[2010-03-03 17:15:17,184] INFO:init:module crm: loading objects
[2010-03-03 17:15:17,184] INFO:init:module crm: registering objects
[2010-03-03 17:15:17,220] WARNING:init:module base_action_rule: no quality certificate
[2010-03-03 17:15:17,222] WARNING:init:module base_calendar: no quality certificate
[2010-03-03 17:15:17,223] WARNING:init:module mail_gateway: no quality certificate
[2010-03-03 17:15:17,238] INFO:server:Starting 2 services
[2010-03-03 17:15:17,239] INFO:web-services:the server is running, waiting for connections...
[

1 - the net rpc is not disable (bug #531430)

2 - the secure mode not working

If I try to connect with xmlrpc-secure

2010-03-03 17:15:23,997] ERROR:http:code 400, message Bad request syntax ('\x80d\x01\x03\x01\x00K\x00\x00\x00\x10\x00\x009\x00\x008\x00\x005\x00\x00\x16\x00\x00\x13\x00\x00')
[2010-03-03 17:15:27,610] ERROR:http:code 400, message Bad request syntax ('\x80d\x01\x03\x01\x00K\x00\x00\x00\x10\x00\x009\x00\x008\x00\x005\x00\x00\x16\x00\x00\x13\x00\x00')
[2010-03-03 17:18:41,738] ERROR:http:code 400, message Bad request syntax ('\x80d\x01\x03\x01\x00K\x00\x00\x00\x10\x00\x009\x00\x008\x00\x005\x00\x00\x16\x00\x00\x13\x00\x00')

but with xmlrpc is ok (with --secure option ????)

Changed in openobject-server:
status: New → Confirmed
milestone: none → 5.0.8
tags: added: option secure xmlrpc
Changed in openobject-server:
milestone: 5.0.8 → 5.2
importance: Undecided → High
assignee: nobody → Stephane (Open ERP) (stephane-openerp)
Revision history for this message
xrg (xrg) wrote :

I think this bug is /invalid/.

The "secure" option is now deprecated, as the openobject-server, in 5.2 can support *both* http and https methods at the same time.
You will need a few lines like:

[httpsd]
enable = True
; port = 8071

Revision history for this message
Eric Vernichon (eric-vernichon) wrote :

ok; sorry

Thank you

Changed in openobject-server:
status: Confirmed → Invalid
Revision history for this message
Stephane Wirtel (OpenERP) (stephane-openerp) wrote :

Sorry, but for me, there is a bug, you have to define if you want the secure mode on the command line.

Changed in openobject-server:
status: Invalid → Confirmed
Revision history for this message
xrg (xrg) wrote :

I'm closing this bug, because we have also had a command-line option to control the https port/interface for several months now.

Changed in openobject-server:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.