Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

AuthenticationError: Authentication failure with Zato 2.0.7 and Odoo

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
2 Réponses
3765 Vues
Avatar
rafal

I'm trying to create an outgoing Odoo connection with Zato:

https://zato.io/docs/web-admin/outgoing/odoo.html

but I'm repeatedly getting "AuthenticationError: Authentication failure".

Whole procedure:

Ubuntu 14.04 64-bit Vagrant box

Zato 2.0.7

Odoo 9.0c.20160209

1. in the box with PostgreSQL and Zato already installed and set up, I install Odoo

2. I create 'test_odoo' database with owner 'odoo' and set password to the db to 'test'

3. I change settings in /etc/odoo/openerp-server.conf  to:

db_host = localhost

db_port = 5432

db_user = odoo

db_password = test

4. in Zato web-admin I create an outgoing Odoo connection (see the link to Zato docs above) passing the following parameters:

Host: localhost

Port: 8069

User: odoo

Database: test_odoo

Full traceback:

"""

2016-02-10 08:08:47,504 - ERROR - 5063:MainThread - zato.admin.web.views:470 - Could not ping the Odoo connection, e:[Traceback (most recent call last):

File "/home/vagrant/zato/code/zato-web-admin/src/zato/admin/web/views/__init__.py", line 463, in id_only_service

result = req.zato.client.invoke(service, {'id': id})

File "/home/vagrant/zato/code/zato-web-admin/src/zato/admin/middleware.py", line 72, in invoke

raise Exception('CID: {}\nDetails: {}'.format(zato_env.get('cid'), zato_env.get('details')))

Exception: CID: K072CD3XDCM3AT3NXM0GZT9W01PS

Details: Traceback (most recent call last):

File "/home/vagrant/zato/code/zato-server/src/zato/server/connection/http_soap/channel.py", line 198, in dispatch

payload, worker_store, self.simple_io_config, post_data)

File "/home/vagrant/zato/code/zato-server/src/zato/server/connection/http_soap/channel.py", line 350, in handle

params_priority=channel_item.params_pri)

File "/home/vagrant/zato/code/zato-server/src/zato/server/service/__init__.py", line 401, in update_handle

self._invoke(service, channel)

File "/home/vagrant/zato/code/zato-server/src/zato/server/service/__init__.py", line 344, in _invoke

service.handle()

File "/home/vagrant/zato/code/zato-server/src/zato/server/service/internal/service.py", line 271, in handle

response = func(id_, payload, channel, data_format, transport, serialize=True)

File "/home/vagrant/zato/code/zato-server/src/zato/server/service/__init__.py", line 499, in invoke

return self.invoke_by_impl_name(self.server.service_store.name_to_impl_name[name], *args, **kwargs)

File "/home/vagrant/zato/code/zato-server/src/zato/server/service/__init__.py", line 483, in invoke_by_impl_name

return self.update_handle(*invoke_args, **kwargs)

File "/home/vagrant/zato/code/zato-server/src/zato/server/service/__init__.py", line 428, in update_handle

raise Exception(exc_formatted)

Exception: Traceback (most recent call last):

File "/home/vagrant/zato/code/zato-server/src/zato/server/service/__init__.py", line 401, in update_handle

self._invoke(service, channel)

File "/home/vagrant/zato/code/zato-server/src/zato/server/service/__init__.py", line 344, in _invoke

service.handle()

File "/home/vagrant/zato/code/zato-server/src/zato/server/service/internal/outgoing/odoo.py", line 84, in handle

ping_odoo(client)

File "/home/vagrant/zato/code/zato-common/src/zato/common/util.py", line 1002, in ping_odoo

ids = user_model.search([('login', '=', conn.login)])

File "/home/vagrant/zato/code/eggs/openerp_client_lib-1.1.2-py2.7.egg/openerplib/main.py", line 305, in proxy

self.connection.check_login(False)

File "/home/vagrant/zato/code/eggs/openerp_client_lib-1.1.2-py2.7.egg/openerplib/main.py", line 245, in check_login

raise AuthenticationError("Authentication failure")

AuthenticationError: Authentication failure

]

"""


Am I missing something?

0
Avatar
Ignorer
Ermin Trevisan

Hello @Axel Mendoza,

Thank you for your answer. Could you explain, please, what do you mean by creating the user odoo *in* test_odoo database?

Ermin Trevisan

You can set up multiple databases in Odoo. Therefore Axel means to login to your Odoo instance with the database test_odoo, there you create the user odoo.

rafal
Auteur

Yes, this is what I eventually did. I was trying to achieve results via CLI, but gave up and used Odoo GUI. Thank you, Ermin.

Avatar
Axel Mendoza
Meilleure réponse

Hi @rafal

Zato will not use a db user to connect to Odoo, it uses an Odoo user to connect using xmlrpc. So you need to create the user odoo in your Odoo database test_odoo to be able to use it in Zato. Also you need to set the password for the user odoo in Zato before you create it.

That's all, you will be able to connect. 

Enjoy both of those great awesome software.

1
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now