Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Real Estate
    • Real Estate Agency
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consulting
    • Accounting Firm
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Solar Energy Systems
    • Shoe Maker
    • Serveis de neteja
    • HVAC Services
    Others
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

odoo 500 error connecting to postgresql server

Subscriure's

Get notified when there's activity on this post

This question has been flagged
500
5384 Vistes
Avatar
liuhaiyan

hello,

my odoo is odoo 14 aphla1

my odoo server and postgresql in same lan.

I first install the odoo server use local postgresql,it work ok.

but when I connect postgresql server,I get 500 error.

my other server connect the postgresql,them work ok.(example,confluence and jira)

-----------

this is my postgresql server conf:

pg_hba.conf


# IPv4 local connections:

host    all             all             127.0.0.1/32            md5

host    all             all             192.168.0.0/24          md5



postgresql.conf

# - Connection Settings -


listen_addresses = '*'          # what IP address(es) to listen on;


---------------------

this is my odoo server conf


db_host = 192.168.0.3

db_port = 5432

db_user = odoo

db_passwrod = vCG{82d9]GFbPY9


----------------------

I test psql connect from odoo server to postgresql,it is ok.



# psql -U odoo -h 192.168.0.3 odoo

Password for user odoo: 

psql (10.12 (Ubuntu 10.12-0ubuntu0.18.04.1))

SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, bits: 256, compression: off)

Type "help" for help.


odoo=>

-----------------------

but ,when I visit the odoo server,i get 500 error.


i check the odoo log,this is error log:


2020-07-04 01:20:44,930 4892 INFO ? odoo.sql_db: Connection to the database failed

2020-07-04 01:20:44,931 4892 INFO ? werkzeug: 127.0.0.1 - - [04/Jul/2020 01:20:44] "GET /favicon.ico HTTP/1.0" 500 - 0 0.000 0.005

2020-07-04 01:20:44,934 4892 ERROR ? werkzeug: Error on request:

Traceback (most recent call last):

  File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 270, in run_wsgi

    execute(self.server.app)

  File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 258, in execute

    application_iter = app(environ, start_response)

  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 439, in app

    return self.app(e, s)

  File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 142, in application

    return application_unproxied(environ, start_response)

  File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 117, in application_unproxied

    result = odoo.http.root(environ, start_response)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1291, in __call__

    return self.dispatch(environ, start_response)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1261, in __call__

    return self.app(environ, start_wrapped)

  File "/usr/lib/python3/dist-packages/werkzeug/wsgi.py", line 766, in __call__

    return self.app(environ, start_response)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1425, in dispatch

    self.setup_db(httprequest)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1348, in setup_db

    httprequest.session.db = db_monodb(httprequest)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1509, in db_monodb

    dbs = db_list(True, httprequest)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1476, in db_list

    dbs = odoo.service.db.list_dbs(force)

  File "/usr/lib/python3/dist-packages/odoo/service/db.py", line 380, in list_dbs

    with closing(db.cursor()) as cr:

  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 671, in cursor

    return Cursor(self.__pool, self.dbname, self.dsn, serialized=serialized)

  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 243, in __init__

    self._cnx = pool.borrow(dsn)

  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 554, in _locked

    return fun(self, *args, **kwargs)

  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 622, in borrow

    **connection_info)

  File "/usr/lib/python3/dist-packages/psycopg2/__init__.py", line 130, in connect

    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)

psycopg2.OperationalError: fe_sendauth: no password supplied - - -


===========================================================


What is the reason and how to solve it?

I hope everyone can help


0
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
500: Internal Server Error
500
Avatar
Avatar
Avatar
Avatar
4
de set. 24
2148
¿How i can solve a 500 Internal Server Error after create Data base?
500
Avatar
Avatar
2
de març 15
11144
500: Internal Server Error - website.layout
500 website.layout
Avatar
Avatar
2
de març 24
3048
Error 500 on Ubuntu - Odoo Server 15.0 Solved
500 error-500
Avatar
Avatar
1
de des. 21
4200
Error 500 on Ubuntu - Odoo Server 15.0
error 500
Avatar
0
de des. 21
2346
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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