Describe the problem/error/question
I’m running the latest version of n8n from a docker container behind an nginx reverse proxy. The AI nodes are failing to get completions from both openAI and groq.
I’m assuming this is a problem with my hosting config (but I’ve run openAI nodes like this before and never had a problem)
What is the error message (if any)?
I also reproduced in the plain http node (the error appears to be the same). Details:
Node type
n8n-nodes-base.httpRequest
Node version
4.2 (Latest)
n8n version
1.55.3 (Self Hosted)
Time
26/08/2024, 16:09:24
Stack trace
NodeApiError: The connection to the server was closed unexpectedly, perhaps it is offline. You can retry the request immediately or wait and retry later. at Object.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:1296:19) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:2087:20)
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version: 1.55.3 (Self Hosted)
- Database (default: SQLite): PostgreSQL
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): podman behind native nginx proxy (other nodes are working fine)
- Operating system: NixOS