Skip to content

Discord throws a 400 with {"embeds": ["0"]} when url is not a fully qualified domain #19

@cokert

Description

@cokert

This is more of a heads up for others than an actual issue. Discord will reject payloads for for non-fully-qualified domains. This might happen if your alertmanager's external URL is http://alertmanager:123" where alertmanageris the machine's name in tailscale. This will work/resolve fine on members of your tailnet because the suffix is automagically applied, but discord apparently doesn't like it. To fix this, change your alertmanger's external URL to be fully qualified (ie, include the tailnet's dns name ...alertmanager.some-junk.ts.net`).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions