Skip to content

Webhooks to Discord not working. #14379

@ziplock9000

Description

@ziplock9000

Gita Version: 1.13.0
OS: Windows 10, Using pre-compiled binary

The webhook does not work and comes back with the response / error {"embeds": ["0"]}

I have Gitea set up on a private LAN that is not accessible from the internet. I've set up webhooks to talk to a Discord server. The JSON that is generated to be sent to the Discord server from the Gitea server has several URLs that are only accessible and valid within the LAN, which a Discord server won't have access to.

URLS such as "url": "http://myserver:myport/myuser"

If the issue is that the Gitea server is hidden on the LAN, then a configuration option should be available to remove any JSON entries that require this. So a less functional, but still working version of the Discord message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions