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

Trying to connect Odoo 13 in production mode (reverse proxy nginx active) via external API XML-RPC and getting the following error: 


urlopen error [Errno 101] Network is unreachable


For whom came across to the same issue, I sorted this out changing odoo.conf (Odoo 13 in production mode, reverse proxy nginx active) as follows:

http_interface = 0.0.0.0
*(it was 127.0.0.1)

Using 127.0.0.1 allows only access via xml-rpc internally in the same ambient, setting url to '127.0.0.1', but with http_interface = 0.0.0.0 is possible to access externally normally setting url to ip_address.

Thanks.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sie 18
4270
1
lis 22
4244
1
cze 21
4213
0
maj 23
2137
1
mar 24
5112