Skip to content

🐛 Bug Report: Webhooks don't work with IP Address as Domain #7989

@Kuromory

Description

@Kuromory

👟 Reproduction steps

When I want to create a new Webhook and use the IP Address of the webhook server it wont allow it...
I give the IP as follow:
http://192.168.1.16:24040/sync

👍 Expected behavior

I can create the webhook

👎 Actual Behavior

get following error:
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

🎲 Appwrite version

Version 1.5.x

💻 Operating system

Linux

🧱 Your Environment

just use the docker version of appwrite

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingproduct / platformFixes and upgrades for the Appwrite Platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions