ProtocolError for 127.0.0.1/magento/index.php/api/xmlrpc/: 302 Found
I have never gotten magentoerpconnect to work, I simply cannot get past the ”Synchronize Referential Settings”. I always get:
ProtocolError: <ProtocolError for 127.0.0.
I have tried both OpenERP 5 and 6, Magento 1.5 and 1.6, Ubuntu LAMP and XAMPP 1.7.7, and Ubuntu 8.04LTS and 10.04LTS.
Nothing works! Now I'm gonna show all the steps I take during a fresh setup and hopefully someone can give me some helpful input :)
This is how I setup an Ubuntu 10.04LTS, OpenERP 6, XAMPP 1.7.7 and Magento 1.5 box ending with error.
# Ubuntu 10.04LTS i386 installation
IP: 192.168.1.1
Mask: 255.255.255.0
Gateway: 192.168.1.254
Name server: 81.216.34.100
Hostname: store
Domain name: xxxxxx.com
Username: openerp
Password: openerp
Software selection: OpenSSH server and PostgreSQL database
# XAMPP 1.7.7 installation
I download xampp-linux-
sudo tar xvfz xampp-linux-
sudo /opt/lampp/lampp start
# Magento 1.5.1.0 installation
I download magento-
sudo tar xvfz magento-
sudo chown -R nobody:root /opt/lampp/
I go to http://
Now to http://
I just leave the Locale settings as default for now:
Locale: English
Time Zone: Pacific Standard Time
Default Currency: US Dollar
Database Connection
Host: localhost
Database Name: magento
User Name: root
User Password: (blank)
Tables Prefix: (blank)
Web access options
Base URL: http://
Admin Path: admin
Enable Charts: checked
Skip Base URL Validation Before the Next Step: (blank)
Use Web Server (Apache) Rewrites: (blank)
Use Secure URLs (SSL): (blank)
Session Storage Options
Save Session Data In: File System
Login Information
Username: admin
Password: admin67
# Magento 1.5.1.0 setup
Now to http://
And in “Magento Connect Manager” I change “Preferred State” to Beta
and now install extension http://
It looks successful: Package community/
Now I add a new Web Service Role: admin
and set Resource Access to: All
And now add new Web Service User with User Name: openerp
and API Key: openerp
and select admin as User Role
Now to Index Management and Select All then Reindex Data.
Now to Cache Storage Management and Select All then Refresh.
# PostgreSQL preparation
sudo su postgres
postgres@store:/$ createuser openerp
Shall the new role be a superuser? (y/n) y
postgres@store:/$ psql template1
template1=# alter role openerp with password 'postgres';
ALTER ROLE
# OpenERP 6.0.3 installation
sudo apt-get update
sudo apt-get install python-lxml python-mako python-dateutil python-psycopg2 python-pychart python-pydot python-tz python-reportlab python-yaml python-vobject python-setuptools
wget http://
tar -xzf openerp-
cd openerp-
sudo python setup.py install
cd /usr/local/
sudo wget http://
sudo wget http://
sudo wget http://
sudo wget http://
sudo wget http://
sudo wget http://
Now start the server: openerp-server
# OpenERP 6.0.3 setup
From a GTK client I create a new database
New Database Name: demo1
Load Demonstration Data: checked
Default Language: English (US)
Administrator Password: admin
I leave the default Company Information (OpenERP S.A.)
I select Warehouse Management and Sales Management.
Go with the default Belgium Chart of Accounts and the default on all other windows.
When done I go to Modules and select magentoerpconnect for installation.
Now to Magento Instances and create new with following data
Name: My local magento
Referential Type: Magento Version 1.3.2.4+
Location: http://
User Name: openerp
Password: openerp
Default Product Category: All products / Sellable
Default Language: English
Then I push “1 – Reload Referential Mapping Templates”
and now “2 – Synchronize Referential Settings”
This is where it fails with:
Environment Information :
System : Windows-
OS Name : nt
Operating System Release : XP
Operating System Version : 5.1.2600
Operating System Architecture : 32bit
Operating System Locale : sv_SE.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 6.0.3
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/usr/local/
result = ExportService.
File "/usr/local/
res = fn(db, uid, *params)
File "/usr/local/
return f(self, dbname, *args, **kwargs)
File "/usr/local/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/
core_imp_conn = self.external_
File "/usr/local/
return attr_conn.connect() and attr_conn or False
File "/usr/local/
self.session = self.ser.
File "/usr/lib/
return self.__
File "/usr/lib/
verbose=
File "/usr/lib/
headers
ProtocolError: <ProtocolError for 127.0.0.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Holger Adelman
- Solved:
- Last query:
- Last reply: