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?
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
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
I did this workaround and it works. Thanks!
Recommended threads
- I'm getting an error on the console "j?....
On my self hosted instance version 1.8.1 the console is giving me this error when trying to view the rows for a table I recently created. My application is read...
- local build `composer installer:dev` iss...
setup - dev container (default linux universal) WSL (test with gh codespace too) - php 8.5.7 - all extensions installed - `composer install` fine - `composer...
- Function global variables
when i create a top-level global variable in go or bun how will it behave? is the heap getting renewed on every execution or could i do some kind of temp. cachi...