This question has been flagged
1 Reply
6497 Views

Problem:

I put a product in my basket. I checked the cart, put an address and when validating the order by pressing the button "pay now", an error 500 appeared:

http://192.168.xx.xx:8069/payment/transfer/feedback

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

Solution : 

use commande # apt install wkhtmltopdf

and restart server and test

Avatar
Discard
Best Answer

Dear,

I get the same error when have installed the last version of odoo 12. I tried to install it on bouth two version, Debian 8 and 9 and also Ubuntu 18.

This is the target log:

    return self.app(e, s)

  File "/odoo/odoo-server/odoo/service/wsgi_server.py", line 128, in application

    return application_unproxied(environ, start_response)

  File "/odoo/odoo-server/odoo/service/wsgi_server.py", line 117, in application_unproxied

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

  File "/odoo/odoo-server/odoo/http.py", line 1318, in __call__

    return self.dispatch(environ, start_response)

  File "/odoo/odoo-server/odoo/http.py", line 1291, in __call__

    return self.app(environ, start_wrapped)

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

    return self.app(environ, start_response)

  File "/odoo/odoo-server/odoo/http.py", line 1451, in dispatch

    self.setup_db(httprequest)

  File "/odoo/odoo-server/odoo/http.py", line 1374, in setup_db

    httprequest.session.db = db_monodb(httprequest)

  File "/odoo/odoo-server/odoo/http.py", line 1535, in db_monodb

    dbs = db_list(True, httprequest)

  File "/odoo/odoo-server/odoo/http.py", line 1502, in db_list

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

  File "/odoo/odoo-server/odoo/service/db.py", line 375, in list_dbs

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

  File "/odoo/odoo-server/odoo/sql_db.py", line 657, in cursor

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

  File "/odoo/odoo-server/odoo/sql_db.py", line 171, in __init__

    self._cnx = pool.borrow(dsn)

  File "/odoo/odoo-server/odoo/sql_db.py", line 540, in _locked

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

  File "/odoo/odoo-server/odoo/sql_db.py", line 608, in borrow

    **connection_info)

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

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

psycopg2.OperationalError: FATAL:  no pg_hba.conf entry for host "[local]", user "root", database "postgres", SSL off - - -

2019-02-08 15:43:45,367 11491 ERROR ? werkzeug: 41.231.86.102 - - [08/Feb/2019 15:43:45] code 400, message Bad request syntax ('\x16\x03\x01\x02\x00\x01\x00\x01ü\x03\x03\x14q?ø×ÄÛ\xad+¡\xa0Õ\x87aå\x95\x87]H`x\x87$\x15¬dÑ\x0f\x18}OÆ \x8az3p^à2\x1d\x10\x00Å&9»Êø\\1e\x10') - - -

2019-02-08 15:43:45,367 11491 INFO ? werkzeug: 41.231.86.102 - - [08/Feb/2019 15:43:45] "üq?ø×ÄÛ­+¡ Շa啇]H`x‡$¬dÑ}OÆ Šz3p^à2Å&9»Êø\1e" HTTPStatus.BAD_REQUEST - - - -

2019-02-08 15:43:45,448 11491 ERROR ? werkzeug: 41.231.86.102 - - [08/Feb/2019 15:43:45] code 400, message Bad request syntax ('\x16\x03\x01\x02\x00\x01\x00\x01ü\x03\x03z+Ï\x88¤&\x04äþNãJxPÊ\x00\x11ªÑ\x95\x97ü{:s\x05\x94Ì\x1b\'h¾ $¼mü\x98Ú\x99î%¦9$\x1d\x1bj\x836\x13%\x18\x0cë¯;\x85\x1b\x1f±W"Oá\x00"') - - -

2019-02-08 15:43:45,449 11491 INFO ? werkzeug: 41.231.86.102 - - [08/Feb/2019 15:43:45] "üz+ψ¤&äþNãJxPʪѕ—ü{:s”Ì'h¾ $¼mü˜Ú™î%¦9$jƒ6%ë¯;…±W"Oá"" HTTPStatus.BAD_REQUEST - - - -

2019-02-08 15:43:45,551 11491 ERROR ? werkzeug: 41.231.86.102 - - [08/Feb/2019 15:43:45] code 400, message Bad request syntax ("\x16\x03\x01\x00Í\x01\x00\x00É\x03\x03Ï7þ\x0bÂD\x06\x15pî\x88K}\x89¼*Qz?\x14ê÷\x1bãó¶\tÇ'Ì6ð\x00\x00\x1c::À+À/À,À0̨̩À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x00") - - -

2019-02-08 15:43:45,552 11491 INFO ? werkzeug: 41.231.86.102 - - [08/Feb/2019 15:43:45] "ÍÉÏ7þÂDpîˆK}‰¼*Qz?ê÷ãó¶ Ç'Ì6ð::À+À/À,À0̨̩ÀÀœ/5" HTTPStatus.BAD_REQUEST - - - -

2019-02-08 15:43:50,828 11491 ERROR ? werkzeug: 41.231.86.102 - - [08/Feb/2019 15:43:50] code 400, message Bad request syntax ('\x16\x03\x01\x02\x00\x01\x00\x01ü\x03\x03h¬Þì}0l\x16¬ê»ÔV\x01\xad-\x1b\x8b°þ-w¦9¶ûù\rç`wý %_3\x83\x8féÆëø ..-ÈÚ\x1e\x059AëcTÝE\xadú\x8bÁ³¶öå\x00"êê\x13\x01\x13\x02\x13\x03À+À/À,À0̨̩À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x00') - - -

2019-02-08 15:43:50,828 11491 INFO ? werkzeug: 41.231.86.102 - - [08/Feb/2019 15:43:50] "üh¬Þì}0l¬ê»ÔV­-‹°þ-w¦9¶ûùç`wý %_3ƒéÆëø ..-ÈÚ9AëcTÝE­ú‹Á³¶öå"êêÀ+À/À,À0̨̩ÀÀœ/5" HTTPStatus.BAD_REQUEST - - - -

2019-02-08 15:43:50,851 11491 ERROR ? werkzeug: 41.231.86.102 - - [08/Feb/2019 15:43:50] code 400, message Bad request version ('/çñp¦òsE&\x1b¶#:]8\x00"zz\x13\x01\x13\x02\x13\x03À+À/À,À0̨̩À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x00') - - -

2019-02-08 15:43:50,852 11491 INFO ? werkzeug: 41.231.86.102 - - [08/Feb/2019 15:43:50] "ü+KTK¤Êç).V]ýäÃÉ&ŸuQTP>ÊÇ}dH öQo#¹°g´¿ÞŠ~_é»/çñp¦òsE&¶#:]8"zzÀ+À/À,À0̨̩ÀÀœ/5" HTTPStatus.BAD_REQUEST - - - -

2019-02-08 15:43:50,929 11491 ERROR ? werkzeug: 41.231.86.102 - - [08/Feb/2019 15:43:50] code 400, message Bad HTTP/0.9 request type ('\x16\x03\x01\x00Í\x01\x00\x00É\x03\x03¹\x1b0\x04Jé=s0Ú\x15º\x84\x02«cwË()Z\x1aËh\x1a¬[äi\x82\x07ª\x00\x00') - - -

2019-02-08 15:43:50,929 11491 INFO ? werkzeug: 41.231.86.102 - - [08/Feb/2019 15:43:50] "Íɹ0Jé=s0Úº„«cwË()ZËh¬[äi‚ª::À+À/À,À0̨̩ÀÀœ/5" HTTPStatus.BAD_REQUEST - - - -

2019-02-08 15:47:32,081 11491 ERROR ? werkzeug: 41.231.86.102 - - [08/Feb/2019 15:47:32] code 400, message Bad request version ('\x97\x82\x0fâùÒÂ\x00"êê\x13\x01\x13\x02\x13\x03À+À/À,À0̨̩À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x00') - - -

2019-02-08 15:47:32,082 11491 INFO ? werkzeug: 41.231.86.102 - - [08/Feb/2019 15:47:32] "ü(L„ƒðôàöÐf+h.j˜"˜pKqVÒ»x|fGMÿ vy&`©ÄßâÆoBÉûDùN,>ÕÅ\! —‚âùÒÂ"êêÀ+À/À,À0̨̩ÀÀœ/5" HTTPStatus.BAD_REQUEST - - - -

2019-02-08 15:47:32,112 11491 ERROR ? werkzeug: 41.231.86.102 - - [08/Feb/2019 15:47:32] code 400, message Bad request syntax ('\x16\x03\x01\x02\x00\x01\x00\x01ü\x03\x03g\x99[T\x9aH¾Û¶\x94JÄæë\x9c\x8bD|ùý\x93Ä\x14Ãa') - - -

2019-02-08 15:47:32,112 11491 INFO ? werkzeug: 41.231.86.102 - - [08/Feb/2019 15:47:32] "üg™[TšH¾Û¶”JÄæ뜋D|ùý“ÄÃa" HTTPStatus.BAD_REQUEST - - - -

2019-02-08 15:47:32,232 11491 ERROR ? werkzeug: 41.231.86.102 - - [08/Feb/2019 15:47:32] code 400, message Bad request version ('úúÀ+À/À,À0̨̩À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x00') - - -

2019-02-08 15:47:32,232 11491 INFO ? werkzeug: 41.231.86.102 - - [08/Feb/2019 15:47:32] "ÍÉlzY‰M)Á³ž-tš,!xyÇÂ/}O‡`ÍEi$™úúÀ+À/À,À0̨̩ÀÀœ/5" HTTPStatus.BAD_REQUEST - - - -


thanks for your help

Avatar
Discard