Giter Club home page Giter Club logo

Comments (2)

medmunds avatar medmunds commented on May 24, 2024

This is the requests package reporting that it can't successfully set up a secure network connection from your machine to Mailgun. The relevant root error is SSLError: bad handshake: SysCallError(-1, 'Unexpected EOF') -- try searching the web for that and you'll find a variety of possibilities and troubleshooting suggestions.

Since this stopped working recently, what changed? Did you upgrade your OS, Python, OpenSSL, requests, django-anymail, or any other packages? Did your networking environment change? New firewall rules (from you or your hosting provider)? Are you connecting through a proxy that might have changed? Any other config changes?

If none of that leads you to a solution, then it would be really helpful to have more details about your environment: OS version, exact Python version, versions of Anymail, requests, and OpenSSL, how you're hosted and any unusual network config, etc.

from django-anymail.

alexislg2 avatar alexislg2 commented on May 24, 2024

Thank you for your help. It was indeed not an issue with this package. I found the reason: I am using threading to send emails. But I disabled the enable-threads setting in uwsgi by mistake. Therefore Django was unable to start a new thread to send email.

Error log was not so clear and it is not so clear why some emails were sent and some were not but nevermind.

from django-anymail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.