Skip to content

[BUG] Telegram notifications fail with Message exceeds the max length #1121

Description

@arthar360

Prerequisites

Rclone Pre-flight Checklist (if applicable)

  • This issue is NOT related to rclone (skip if not using rclone)
  • I have tested rclone listremotes and rclone lsd remote: on the host and they work
  • I have verified the rclone config is mounted into the container
  • I have restarted the container after config changes

Bug Description

Hello,

Sometimes the telegram notifications fail. Specially on retries when the message becomes long with the following error

Image

Steps to Reproduce

  1. Setup Local volume and remote S3 Repository (using seaweedfs)
  2. Setup telegram alert
  3. Turn off the S3 server
  4. Trigger backup
  5. When the backup keeps retrying to reach the repo. The message keeps getting long
  6. One first or second attempt the telegram notification arrives. Eventually when there are multiple retries the message becomes long and fails.

Expected Behavior

Notifiactions should arrive. If the message is too long, there should be a mechanism to limit character before sending.

Zerobyte version / commit

0.42.0

Deployment Method

Docker Compose

Backup/Repository Context

Backup: Local
Remote: Seaweedfs (S3)

Logs / Error Messages

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions