Mastodon: SMTP Issue (OpenSSL::SSL::SSLError)

Created on 11 Apr 2017  ·  10Comments  ·  Source: tootsuite/mastodon

Hi,

There is an issue with last commits,

I go hundred of Mail issue while sending them :

OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed

(sidekiq logs)

Any idea what it it ?

I use MailGun, so I don't think they forget to renew they certificates.

  • [x] I searched or browsed the repo’s other issues to ensure this is not a duplicate.
bug

Most helpful comment

Can confirm that after following these changes it works.
https://github.com/tootsuite/mastodon/pull/1486/files

docker-compose stop
docker-compose build
docker-compose up -d

And it's running fine.

All 10 comments

What's your general server setup and how is ruby installed?

I use Dockerfile and Docker-compose.yml from the Git Repo.
Not any specific change on my configuration.

( It worked from days)

It's exactly the same issue (I don't comment on this, because is not a Gandi issue. )

Same for me with SparkPost:

OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed

Can confirm that after following these changes it works.
https://github.com/tootsuite/mastodon/pull/1486/files

docker-compose stop
docker-compose build
docker-compose up -d

And it's running fine.

@valentin2105 did you check the security rule/firewall rule?
They block smtp out by default.
@ToroNZ can you confirm that it worked for you in the PR #1486

I just started seeing this with Mailgun. Will check PR #1486

Yeap, #1486 solves it.

@valentin2105 please confirm that your problem is fixed and close the issue

I have checked out to tag v1.1.1, so I don't know if it's fixed, it work in 1.1.1.
I think #1486 will fix it.

Was this page helpful?
0 / 5 - 0 ratings