I am currently setting up some new tables in Baserow and am having a problem creating webhooks.
I want to trigger a webhook in n8n from Baserow. Both systems are running in separate Docker containers and are reachable at the addresses: https://crm.Company.de (Baserow) https://n8n.Company.de (n8n)
my webhook url looks like this: "https://n8n.company.de/webhook-test/test"
There is no authentication required on the webhook.
If I now use this in Baserow to create a webhook call then I get the following error message every time:
“Invalid URL.
The webhook URL is invalid, inaccessible or prohibited.”
I can call the webhook via cUrl without problems.
Does anyone have a tip why it does not work in Baserow?
Do you have your webhook set up for Post requests? If you are self hosting n8n I made a Baserow Trigger node that I have been using without issues over Christmas.
If I understand it correctly the node creates the webhooks in baserow via the api according to the specifications in n8n. It seems that the validation of the webhook url does not work then again.
That is a bit unexpected, I have used both the manual webhook and the node with self hosted and hosted versions of Baserow.
There isn’t really any validation that happens, here is an earlier post I made about manually setting up the webhook.
When you use the node does it register the webhook ok and when the request fails does the node get triggered?
Is there anything special with the n8n install maybe queue mode? Can you also confirm the versions of n8n and Baserow, I can do some more testing tomorrow to see if I can spot anything odd.
As a test maybe pointing the webhook in Baserow to webhook.site will show something.
no, the webhook is not created in Baserow when I use the node. I think this is the same behavior as when I try to create the webhook manually in Baserow, when I click save the url check takes place and fails with the mentioned error message which again prevents creating the webhook.
I am wondering if my network setup is the cause here. I have a Pi-Hole running as DNS server and ad-blocker in my network. In the Pi-Hole I have created static DNS records for the sub domains in my network, i.e. the request is routed directly to an IP in my network. On the server runs a proxy that takes over the whole encryption and depending on the called domain the forwarding to the corresponding Docker container.
What surprises me is that calling the webhook via Curl works without any problems.
No blocks that I am aware of, can you share your configuration for both?
Have you also checked the Baserow logs to see if it shows anything else? It sounds like the issue is going to be something in your environment so it would just be a case of working out what it is.
Have you tried using the n8n ip directly to see what happens?
You can completely disable this checking with BASEROW_WEBHOOKS_ALLOW_PRIVATE_ADDRESS=true or use the other env vars at that link to allow specific local IPs.
ahh okay, perfect! I was already looking for a page where all the possible env variables for baserow are explained but didnt found the one you linked in your post.
I will set the mentioned variable and give feedback then.