504 Gateway error when using HTTP node to send data to Odoo ERP

Hi guys…
I am sending data(=~ 5 MB) as a single record(no iteration in the backend) to an Odoo API using HTTP node.
In the HTTP node I have set timeout 300000 ms.
I tried increasing my timeout limit. But unable to find out the exact issue.
Can you guys give me a little direction to resolve this !
Below is my error response.
“error”: {
“message”: “504 - "\r\n504 Gateway Time-out\r\n\r\n

504 Gateway Time-out

\r\n
openresty\r\n\r\n\r\n"”,
“name”: “AxiosError”,
“stack”: “AxiosError: 504 - "\r\n504 Gateway Time-out\r\n\r\n

504 Gateway Time-out

\r\n
openresty\r\n\r\n\r\n"\n at settle (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/settle.js:19:12)\n at RedirectableRequest.handleResponse (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/adapters/http.js:533:9)\n at RedirectableRequest.emit (node:events:529:35)\n at RedirectableRequest.emit (node:domain:489:12)\n at RedirectableRequest._processResponse (/usr/local/lib/node_modules/n8n/node_modules/follow-redirects/index.js:397:10)\n at ClientRequest.RedirectableRequest._onNativeResponse (/usr/local/lib/node_modules/n8n/node_modules/follow-redirects/index.js:90:12)\n at Object.onceWrapper (node:events:632:26)\n at ClientRequest.emit (node:events:517:28)\n at ClientRequest.emit (node:domain:489:12)\n at HTTPParser.parserOnIncomingClient (node:_http_client:700:27)”,
“code”: “ERR_BAD_RESPONSE”,
“status”: 504
}
}

  • n8n version: 1.22.4
  • Database : Postgresql
  • Running n8n via Docker Compose
  • Operating system: Linux m/c

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @Rajan,

A 504 normally means there is an issue with the server that is being worked with or the request is hitting a proxy and the proxy is not redirecting properly.

Are you self hosting Odoo or are you using the cloud offering that will help work out if you may need help from Odoo or if you will need to check your configuration.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.