Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
8864 Zobrazení

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
Zrušit

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

Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
kvě 24
3079
2
kvě 24
3419
0
dub 23
4119
0
lis 20
64
1
říj 18
5761