N8n and Amazone Linux EC2

I have n8n :

  • running on amazone linux with node
  • a reverse proxy with nginx
  • ssl installed with certbot

when using whatsapp trigger i keep having the issue :

Problem running workflow

Bad request - please check your parameters

Show Details

WhatsApp Trigger: (#2200) Callback verification failed with the following errors: curl_errno = 56; curl_error = CONNECT tunnel failed, response 403; HTTP Status Code = 403; HTTP Message = Forbidden

HTTP 403 refers to “Forbidden”

Perhaps your amazon EC2 instance has a firewall that is blocking the API from calling out?
The request from your end would have the information to come back through the reverse proxy so I personally doubt that the proxy has anything wrong with it.

My bet is check your EC2 firewall parameters

Have you set the webhook url for the WhatsApp API?

check also your nginx connection .. When setting up n8n behind an Nginx reverse proxy, you might encounter issues with connection stability, webhook URLs, or OAuth redirect URLs. These problems often stem from incorrect proxy configurations or environment variable settings