#✅ Denied IP address when using webhook

5 messages · Page 1 of 1 (latest)

merry talon
#

Hello guys.

I’ve setup a webhook which should make a GET request to http://localhost:3000/api/revalidate when I create/update/delete specific collections.

The webhook is triggered but I get an error “resolves to a denied IP address”. I’ve checked the source code and the only thing I can see is the env variable “IMPORT_IP_DENY_LIST” which is not defined in my docker instance.

I’ve a directus running with docker on port 4000 and a nextjs server running on port 3000.

Any idea?

harsh jasperBOT
#

Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please help us help you making sure you:

  • Adding an explanation of exactly what you're trying to achieve.
  • Adding any and all related code or previous attempts.
  • Describing the exact issue or error you are facing.
  • Posting any screenshots if applicable.
  • Reading through https://stackoverflow.com/help/how-to-ask.

When you're done with this thread, please close it. Thanks! ✨

(If you have a support agreement and need help, please contact the core team via email.)

onyx echo
#

The default value for the deny list includes 0.0.0.0, which means every IP that is local to the current host

#

So set that env var to anything else to make localhost work 👍

harsh jasperBOT
#

✅ Denied IP address when using webhook