Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Diskusi
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

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

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

AuthenticationError: Authentication failure with Zato 2.0.7 and Odoo

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
2 Replies
3757 Tampilan
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
Buang
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
Penulis

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
Jawaban Terbai

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
Buang
Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة 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 adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

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