Skip to Content
Menú
This question has been flagged
2 Respostes
8865 Vistes

Hello,

I currently have a problem with the display of beug on the website, to explain I have two different sites each site runs on a different server but the first site when I have a code problem it displays to me the problem under the form 500 internal server with the details of the errors :

\ https://prnt.sc/1iniezh


the second each time there is a problem all the server beug with the error 502 bad gateway so I have to see the server loges directly with the command tail -f /var/log/odoo/test.log

\https://prnt.sc/1inlwjg


So if you have the method how to make the second web site work like the first ( bypasse the 502 badgateway ) i would appreciate taht


PS : the first website is  installed in a debian server, the 2end is installed in a ubuntu server

Avatar
Descartar

Please read your error message in the log and provide the necessary context information in order to get help.

Obviously you are using custom code witch is buggy.

Autor

@Ermin Trevisan  i'm not looking for the solution of  this error, my question is why in the first server i have the details of the issus but in the secend one i have bad gateway .
i want to have the same ( 500 internat server ) in the place of 502 . This is why i'm assking if it is a configuration to applied !?

PS : the first website is  installed in a debian server, the 2end is installed in a ubuntu server

Best Answer

If you have an Odoo related error, you'll have always to check the Odoo log, HTML 500 shows mostly only an excerpt. HTML 502 is shown when a reverse proxy receives an invalid response from the upstream server, it is a message issued by the proxy and not by the Odoo server, therefore it does not display the Odoo log content. The reason for 502 can also be in an invalid vhost definition.

Avatar
Descartar
Best Answer

Can you suggest how you solved this problem? I have the same thing now. 

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de maig 24
3083
2
de maig 24
3420
0
d’abr. 23
4120
0
de nov. 20
64
1
d’oct. 18
5761