N8n hosted Cloudfront - 504 Error The request could not be satisfied

Describe the problem/error/question

I have n8n hosted on AWS using Fargate, EC2, ALB and CloudFront. I have successfully logged in and created workflows, but for some reason, I am unable to connect in the Credentials section. It returns a 504 error. I also tried sending a HTTP Request node to connect to a simple GET method, but it also does not allow me to do so.

Everything works fine for me in local, docker, and cloud without any issues; it only happens in hosted.

Another question - How can I prevent the need to register or log in? I have added these parameters, but it seems to require registration the first time and also login.

  • N8N_BASIC_AUTH_ACTIVE
  • N8N_BASIC_AUTH_USER
  • N8N_BASIC_AUTH_PASSWORD

What is the error message (if any)?

When attempting to connect to any application in the Credentials section.

Also when I tried sending a HTTP Request node to connect to a simple GET method.

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.41
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): own
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Hosted
  • Operating system: Linux

hello @ycl2024

You can’t :slight_smile:
There is no ENV variables to disable it.

According to the HTTP Response output, you are trying to connect via IPv6, so check the container network settings. Maybe the DNS is not working or some firewall rules (security groups) blocking access to the outside

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