I am using the latest docker N8N on Debian, and I cannot set up the connection of Odoo in N8N. I am self hosting N8N and Odoo in the same server.
I have tried to set up the Odoo’s connection from an external N8N, and it seems working, but it does not if both N8n and Odoo in the same place. Any suggestion? Thank you.
This is the error I got:
Couldn’t connect with these settings
Settings are not valid: AxiosError: timeout of 300000ms exceeded.
@gualter Yes, they are both on the same host. I can connect N8N to the same-host postges, but cannot connect to the Odoo. I have search Google for it, but I have found no solution so far.
For connecting to local container Postgres, all I need to put in the Host section is the container name, Postgres, to connect to it in stead of an URL. Should Odoo have that option too? In the SiteURL section in Odoo node, it would be great if we have the local host option input as in Postgres node.
When I was on the external N8N, I used http://oddo.mydomain.com, username + password to connected to Odoo, all worked normally. But in the local N8N, I use the same credentials, but it does not connect. I guess that the URL does not work on the local host. I have tried to put the Odoo container_name into the URL section, but no help.
Not really. I prefer to keep both locally. I use Tailscale to access Odoo and N8N remotely, and it is going pretty well. It would be more work potentially if I exposed both online.