Skip to content

Discord watchtower / shoutrrr failing after 1.2.1 #865

@tombomb

Description

@tombomb

Describe the bug
Just got the new update and now the app is failing to send discord messages via shoutrrr (This might belong in shoutrrr's github but I'm not sure where the underlining error is). Webhook url was working till latest update.

Image of it working before update
image

To Reproduce
Steps to reproduce the behavior:

  1. Start container with WATCHTOWER_NOTIFICATION_URL
  2. Get 400 error in logs

Expected behavior
Message to send

Screenshots
If applicable, add screenshots to help explain your problem.
image

Environment

  • Platform
  • Architecture
  • Docker version

The section from my docker-compose stack pertaining to watchtower (redacted some of the webhook as to not give it out)

  watchtower:
    image: containrrr/watchtower:latest
    container_name: watchtower
    restart: unless-stopped
    networks:
      - default
      - socket_proxy
    depends_on:
      - socket-proxy
    volumes:
      - $DOCKERDIR/watchtower:/config
    environment:
      TZ: $TZ
      WATCHTOWER_CLEANUP: "true"
      WATCHTOWER_REMOVE_VOLUMES: "true"
      WATCHTOWER_INCLUDE_STOPPED: "true"
      WATCHTOWER_NO_STARTUP_MESSAGE: "false"
      WATCHTOWER_SCHEDULE: "0 30 12 * * *" # Everyday at 12:30 # "*/30 * * * *" # Every 10 mins
      WATCHTOWER_NOTIFICATIONS: shoutrrr
      WATCHTOWER_NOTIFICATION_URL: "discord://Q1p02j@7701"
      WATCHTOWER_NOTIFICATIONS_LEVEL: info
      DOCKER_HOST: tcp://socket-proxy:2375
      DOCKER_CONFIG: /config
      DOCKER_API_VERSION: "1.40"
Logs from running watchtower with the --debug option
time="2021-03-28T18:36:06-04:00" level=info msg="Watchtower v0.0.0-unknown\nUsing notifications: discord\nChecking all containers (except explicitly disabled with label)\nScheduling first run: 2021-03-29 12:30:00 -0400 EDT\nNote that the first check will be performed in 17 hours, 53 minutes, 53 seconds"


Failed to send notification via shoutrrr (url=discord://Q1p02jQGqJukmFo2ninybgxqIFUm8CADBmQIcMjgbiWCM_ZwqISIbEHmHqZvUGRDmOZV@770128369572118529):  failed to send discord notification: response status code 400 Bad Request

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions