Persistent Network Errors (Timeout & ENETUNREACH) Connecting to Supabase (PostgreSQL) and n8n Webhook on Retool Cloud

  1. My goal: My goal is to build an internal application on Retool Cloud that connects to two external resources:

    1. A PostgreSQL database hosted on Supabase for data storage.

    2. An n8n instance for webhook automation, hosted on easypanel.

  2. Issue: I am experiencing persistent and critical network errors that are preventing my Retool application from communicating with both of my external services. Supabase Connection: When trying to create a PostgreSQL resource, the connection consistently fails. The error has changed over time:

    • Initially, it was a Connection terminated due to connection timeout.

    • It has now changed to a more specific connect ENETUNREACH error, pointing to an IPv6 address.

  3. n8n Webhook Connection: When I try to trigger an n8n webhook from a restapi query (POST method), the query fails with a 404 - "The requested webhook is not registered" error from the n8n server.

  4. Steps I've taken to troubleshoot: I have performed extensive troubleshooting for both issues:

    For the Supabase ENETUNREACH issue:

    • I have meticulously verified all connection credentials (Host, Port, DB Name, User, Password, SSL enabled) multiple times by copying them directly from the Supabase dashboard.

    • I confirmed my Supabase project is on the Free Tier, so Network Restrictions are disabled by default.

    • I have tested the connection with my VPN completely off.

    • I have tested the connection from a completely different network (my mobile hotspot) to rule out local network issues. The error persists.

    • I confirmed the Supabase project is active and not paused by interacting with its dashboard.

    • A ping command from my local machine to the database host (db.gpgkzzlpfdzqjcqfvqaz.supabase.co) also fails, indicating a potential DNS or routing issue.

    For the n8n 404 issue:

    • I have 100% confirmed that the exact same n8n webhook Test URL works perfectly when called directly from my web browser (as a GET request). This proves my n8n instance is online and publicly accessible.

    • The 404 error only occurs when the POST call is made from Retool, even when the n8n workflow is actively in "Listen for test event" mode.

  5. Additional info: (Cloud or Self-hosted, Screenshots)

Hi @jose_barrios, this seems to be due to an ongoing Cloudflare outage. You can track the status at status.retool.com

Hello, it's still not working, it's been like this for several days.

Ah, since your supabase issues seem to be about connectivity, I assumed it was related to the outage. I will say that all of the problems described about your supabase resource seem to be on their end. I ran dig db.gpgkzzlpfdzqjcqfvqaz.supabase.co in my command line and saw that it's registered, but when I pinged it I saw this error: cannot resolve db.gpgkzzlpfdzqjcqfvqaz.supabase.co: Unknown host. I found a thread here that may be related. I would continue to follow up with supabase to investigate what's going on there!

For the n8n issue, you might need to whitelist some retool IP addresses for your region, which you can find here. If it's still not working, can you confirm tate n8n responds from a POST request from something like Postman?