-
-
Notifications
You must be signed in to change notification settings - Fork 121
Closed
Description
Describe the bug
Fails when sending email notification
To Reproduce
Steps to reproduce the behavior:
- Upgrade the image to v2.44.1
- Take a backup when using the SMTP notification URL
- The backup completes successfully but fails when sending email notification
Expected behavior
Send notification successfully
Version (please complete the following information):
- Image Version: v2.44.1, v2.45.0
- Docker Version:
- Docker Compose Version (if applicable):
Additional context
I think this PR broke sendNotification method. #643
Success in v2.43.4
Success in v2.44.0
Fails in v2.44.1
Fails in v2.45.0
Problem must be in v2.44.0...v2.44.1
Notification Url:
NOTIFICATION_URLS=smtp://SMTP_DOMAIN:25?fromAddress=EMAIL_ADDRESS&toAddresses=EMAIL_ADDRESS
Locally accessible and not password protected, works before v2.44.1
Log Output:
level=ERROR msg="Fatal error running command: main.(*script).runHooks: error running hook: main.(*script).notify: error sending notification: main.(*script).sendNotification: error sending message: error getting SMTP client: error connecting to server: dial tcp: lookup SMTP_DOMAIN: i/o timeout" error="main.(*command).runAsCommand: error running script: 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: error getting SMTP client: error connecting to server: dial tcp: lookup SMTP_DOMAIN: i/o timeout"
Metadata
Metadata
Assignees
Labels
No labels