Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
4590 Weergaven

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.

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
aug. 18
4399
1
nov. 22
4403
1
jun. 21
4348
0
mei 23
2272
1
mrt. 24
5409