containrrr / watchtower

A process for automating Docker container base image updates.
https://containrrr.dev/watchtower/
Apache License 2.0
18.44k stars 831 forks source link

SMTP timeout error with Outlook email notifications #1900

Open cordlord opened 8 months ago

cordlord commented 8 months ago

Describe the bug

A timeout error is raised for shoutrrr when using Outlook for smtp notifications

Steps to reproduce

  1. Configure email notification settings using smtp with Outlook settings. Filling in your own details. Settings used:
  1. Start container.
  2. Check logs to find error time="2024-01-11T10:16:17-06:00" level=error msg="Failed to send shoutrrr notification" error="failed to send using smtp: timed out" index=0 notify=no service=smtp

Expected behavior

An email is sent and no error is raised.

Screenshots

No response

Environment

Your logs

time="2024-01-11T10:29:54-06:00" level=debug msg="Sleeping for a second to ensure the docker api client has been properly initialized."

time="2024-01-11T10:29:55-06:00" level=debug msg="Making sure everything is sane before starting"

time="2024-01-11T10:29:55-06:00" level=debug msg="Retrieving running and restarting containers"

time="2024-01-11T10:29:55-06:00" level=debug msg="Retrieving running and restarting containers"

time="2024-01-11T10:29:55-06:00" level=debug msg="There are no additional watchtower containers"

time="2024-01-11T10:29:55-06:00" level=debug msg="Watchtower HTTP API skipped."

time="2024-01-11T10:29:55-06:00" level=info msg="Watchtower 1.7.1"

time="2024-01-11T10:29:55-06:00" level=info msg="Using notifications: smtp"

time="2024-01-11T10:29:55-06:00" level=info msg="Checking all containers (except explicitly disabled with label)"

time="2024-01-11T10:29:55-06:00" level=info msg="Scheduling first run: 2024-01-12 00:00:00 -0600 CST"

time="2024-01-11T10:29:55-06:00" level=info msg="Note that the first check will be performed in 13 hours, 30 minutes, 4 seconds"

time="2024-01-11T10:35:05-06:00" level=error msg="Failed to send shoutrrr notification" error="failed to send using smtp: timed out" index=0 notify=no service=smtp

Additional context

No response

github-actions[bot] commented 8 months ago

Hi there! 👋🏼 As you're new to this repo, we'd like to suggest that you read our code of conduct as well as our contribution guidelines. Thanks a bunch for opening your first issue! 🙏

alastairtree commented 1 month ago

Looks like this is an upstream issue in shoutrrr.