New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MailNotifier fails with SMTP error if useTLS=False but buildbot[tls] has been installed. #5609
Labels
Comments
vibbo
added a commit
to vibbo/buildbot
that referenced
this issue
Sep 4, 2023
``MailNotifier`` didn't work when it was configured to use plan TCP but SSL packages were installed (to support workers over TLS). This was due to creating client context for ``ESMTPSender`` when None was expected. Fixes buildbot#5609
3 tasks
p12tic
pushed a commit
to vibbo/buildbot
that referenced
this issue
Sep 5, 2023
``MailNotifier`` didn't work when it was configured to use plan TCP but SSL packages were installed (to support workers over TLS). This was due to creating client context for ``ESMTPSender`` when None was expected. Fixes buildbot#5609
pmisik
pushed a commit
to pmisik/buildbot
that referenced
this issue
Sep 6, 2023
``MailNotifier`` didn't work when it was configured to use plan TCP but SSL packages were installed (to support workers over TLS). This was due to creating client context for ``ESMTPSender`` when None was expected. Fixes buildbot#5609
slydiman
pushed a commit
to gkistanova/buildbot
that referenced
this issue
Sep 30, 2023
``MailNotifier`` didn't work when it was configured to use plan TCP but SSL packages were installed (to support workers over TLS). This was due to creating client context for ``ESMTPSender`` when None was expected. Fixes buildbot#5609
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I install
buildbot
and then install thebuildbot[tls]
bundle, it pulls in dependenciespyasn1 pyasn1-modules pyopenssl service-identity
. However, after that, MailNotifier runs start failing due to failure to connect to SMTP server, even though useTLS is not set.Using:
Steps to reproduce:
pip install --upgrade pip wheel setuptools
pip install buildbot[bundle]
pip install buildbot[tls]
pip install requests
(I need this because I'm using Google Auth)master.cfg
that has aMailNotifier
configured, and do something that triggers theMailNotifier
.Expected behavior:
Actual behavior:
If I uninstall the above listed dependencies installed by
buildbot[tls]
, MailNotifier resumes normal operation.Am I doing something wrong? I encountered this issue when trying to get the
buildbot-gitea
plugin to work, since it requires eithertreq
ortxrequests
, and installing treq pulls in the same package dependencies thatbuildbot[tls]
does. Fortunately, installingtxrequests
does not pull those packages in, so if I usetxrequests
instead I can getbuildbot-gitea
to work. However, it seems odd that MailNotifier should break in this way just because those additional packages have been installed.Thanks in advance for any suggestions...
The text was updated successfully, but these errors were encountered: