Web Developer
When saving the URL for sending Webhooks, Appwrite checks if it's a valid external domain name so entering internal IP address or docker hostnames won't save the Webhooks creation. Is there any way to override this?
Votes
0
Replies
6
Participants
2
Messages
7
Web Developer
When saving the URL for sending Webhooks, Appwrite checks if it's a valid external domain name so entering internal IP address or docker hostnames won't save the Webhooks creation. Is there any way to override this?
I can help with that. This usually happens because Appwrite validates webhook URLs and only allows public/valid external domains, so internal IPs or Docker hostnames get rejected during creation.
A common workaround is exposing the service through something like ngrok or a reverse proxy so it has a valid external URL.
Quick question: are you trying to send the webhook to another Docker container, a local service, or something running on your host machine?
Web Developer
I'm trying to send the Webhook to another docker container on the same machine. I don't want to expose it to outside network.
I would put the other container in the runtimes network and then use an Appwrite function to send the data
Web Developer
So, there's no way to override the domain check for Webhooks? Does this also works in Kubernetes?
Not sure how you have it set up in k8s so I can't say. You just need to be able to make the network request from your function to wherever it needs to go
Web Developer
I did this workaround and it works. Thanks!