Skip to content

Notifications via Ntfy error #664

@hibikipr

Description

@hibikipr

Describe the bug
configuring to send a notification via Ntfy gives the following error and no notification is sent.

time=2025-11-02T23:50:22.040Z level=ERROR msg="Unexpected error running schedule */2 * * * *: main.(*script).runHooks: error running hook: main.(*script).notify: error sending notification: main.(*script).sendNotification: error sending message: failed to send: timed out: using ntfy" error="main.runScript.func4: the script ran successfully, but an error occurred calling the registered hooks: main.(*script).runHooks: error running hook: main.(*script).notify: error sending notification: main.(*script).sendNotification: error sending message: failed to send: timed out: using ntfy"

To Reproduce
Steps to reproduce the behavior:

  • configure environmental variables

Expected behavior

A notification is sent to Ntfy

Version (please complete the following information):

  • Image Version: 2.46.0

My environmental variables in docker-compose
backup:
image: offen/docker-volume-backup:v2
container_name: backup
restart: always
networks:
- backend
environment:
- TZ=${DOCKER_TZ:-America/New_York}
- PUID=${PUID:-1000}
- PGID=${PGID:-1000}
- DOCKER_HOST=tcp://docker-socket-proxy:2375
- NOTIFICATION_URLS=ntfy://ntfy.xyz.abc/topic -> redacted
- NOTIFICATION_LEVEL=info

Error
time=2025-11-02T23:50:22.040Z level=ERROR msg="Unexpected error running schedule */2 * * * *: main.(*script).runHooks: error running hook: main.(*script).notify: error sending notification: main.(*script).sendNotification: error sending message: failed to send: timed out: using ntfy" error="main.runScript.func4: the script ran successfully, but an error occurred calling the registered hooks: main.(*script).runHooks: error running hook: main.(*script).notify: error sending notification: main.(*script).sendNotification: error sending message: failed to send: timed out: using ntfy"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions