Skip to content

Discord trigger not working after updating to 8.2.0 #933

@rajohan

Description

@rajohan

After updating to version 8.2.0 my discord trigger has stopped working. All I get in the logs are "Invalid URL" when trying to run the trigger.
This happens both when trying to test from the UI and when it is triggered from a cron job. The updates them self are running fine.

It is the same webhook url that worked fine before upgrading to 8.2.0. I have also tried to create a new webhook url without success.

The error message

wud  | 22:40:51.049  WARN whats-up-docker/trigger: Error when running trigger discord.newversion (Invalid URL)

My discord trigger

WUD_TRIGGER_DISCORD_NEWVERSION_SIMPLETITLE=Container $${name} can be updated
WUD_TRIGGER_DISCORD_NEWVERSION_BATCHTITLE=$${containers.length} updates available
WUD_TRIGGER_DISCORD_NEWVERSION_SIMPLEBODY=Container $${container.name} can be updated from $${container.updateKind.localValue} to $${container.updateKind.remoteValue}    
WUD_TRIGGER_DISCORD_NEWVERSION_MODE=batch
WUD_TRIGGER_DISCORD_NEWVERSION_THRESHOLD=all
WUD_TRIGGER_DISCORD_NEWVERSION_URL=https://discord.com/api/webhooks/123/456
WUD_TRIGGER_DISCORD_NEWVERSION_BOTUSERNAME=Update Watcher

Docker compose trigger (container file is also mounted in wud's compose.yaml volumes)

WUD_TRIGGER_DOCKERCOMPOSE_CONTAINERNAME_FILE=/wud/containername/compose.yaml
WUD_TRIGGER_DOCKERCOMPOSE_CONTAINERNAME_PRUNE=true

Labels on containers

- "wud.watch=true"
- "wud.tag.include=^\\d+\\.\\d+\\.\\d+$$"
- "wud.trigger.include=dockercompose.containername,discord.newversion"

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