The vault can't access its SMTP server
It happened yesterday, and still is today: https://sentry.softwareheritage.org/organizations/swh/issues/105241/
The only error message I see is "cannot connect to server"
It happened yesterday, and still is today: https://sentry.softwareheritage.org/organizations/swh/issues/105241/
The only error message I see is "cannot connect to server"
This seems like a bug in the code. When smtplib.SMTP is called without arguments (sendmail mode), which is the case in our deployment (the smtp
config entry is empty), noop()
doesn't work (it wants a connect()
first, but sendmail mode doesn't implement that).
When coalescing errors into status = -1, we should probably report the original error to sentry.
Deployed in staging and prod. Email for test cooked bundle received.
closed