Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
8867 Widoki

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

Awatar
Odrzuć

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

Najlepsza odpowiedź

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
maj 24
3086
2
maj 24
3423
0
kwi 23
4120
0
lis 20
64
1
paź 18
5763