Hey is it possible to use webhook in a local network? I just have the IP of the webhook server but Appwrite asks for a public domain...
Yes, there should be no issue with using an IP address as the domain for a webhook.
but why does it not let me...
would it be a problem when it runs on the same server appwrites is on?
Ooh, looks like Appwrite won’t let you - pretty sure that a bug. Could you please open an Issue on GitHub?
Shouldn’t be - unless it’s another Docker container, in which you might need to figure out the networking
okey it is just on the server so it should be fine
did it and I get following error btw:
appwrite | [Error] Timestamp: 2024-04-18T07:43:23+00:00
appwrite | [Error] Method: POST
appwrite | [Error] URL: /v1/projects/:projectId/webhooks
appwrite | [Error] Type: Utopia\Exception
appwrite | [Error] Message: Invalid url param: 1. Value must be a valid URL with following schemes (http, https)
appwrite | 2. Value must be a public domain
appwrite |
appwrite | [Error] File: /usr/src/code/vendor/utopia-php/framework/src/App.php
appwrite | [Error] Line: 774
Yes, I tried and got the same error. As I said, I’m pretty sure that’s not intentional - could you please open an Issue on GitHub?
already did 👍
Great
Recommended threads
- Bulk API limitations in self-hosted serv...
Environment: Appwrite Selfhost SDK: node-appwrite 28.0 Calling `upsertRows` (also applies to `createRows`/`updateRows`/`deleteRows`) with more than 100 rows fa...
- Self Hosted GitHub connection not adding...
After upgrading to 1.9.6 i noticed that i cannot search for new repositories when trying to add new functions. I removed the existing github connection via Set...
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...