Skip to Content
Menu
This question has been flagged
2 Replies
7589 Views

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
Discard

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.

Author

@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
Discard
Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
1
May 24
1924
2
May 24
1638
0
Apr 23
2692
0
Nov 20
64
1
Oct 18
5410