Hello all, I was looking for an elegant way to enable sending webhooks to localhost. Currently the webhook validators are checking if the url is publicly accessible, and if it’s not, it will deny the connection. Since I need to send these webhooks within my organization environment, is there any configuration that can allow me to do this or do I need to patch the package?
Thank you in advance!
This topic has been created from a Discord post (1267439185447620658) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord
<@692117823706759298> Hi. I get the same error on version 4.25.5 when I try to configure a webhook to my company’s internal website. Everything worked on version 4.24.5.
I’ve checked all versions and it works on 4.25.1 and below
I do smoething similar and now I’m blocked from upgrading, or have to find a workaround to keep my servers running. It looks like this was an intentional change: fix: prevent use of local ips on webhooks by Marc-Roig · Pull Request #20487 · strapi/strapi · GitHub
<@574368808010121236> I had to make a patch of this logic to fix this for my project 
I also use a localhost url as webhook, for rebuilding/resetting the frontend.
My workaround is to edit the “url” column in the strapi_webhooks table in de database.