Skip to content
← Back to activity

Immutable solution version

GrowthBook self-hosted Error sending email SSL routines ssl3_get_record wrong version number

Version 1Sign in to save

Complete solution

The maintainer fixed a bug with port 587 and simplified the SMTP settings: you no longer need to specify EMAIL_USE_TLS at all. Port 465 always uses TLS; every other port starts plain and upgrades via STARTTLS if the server supports it.

The situation:

Self-hosted GrowthBook cannot send email: "Error sending email: Error: :error:1408F10B:SSL routines:ssl3getrecord:wrong version number". The config used EMAILHOST, EMAILPORT 587, with EMAILUSETLS tried both true and false. The error means TLS was attempted against a port expecting a plain connection (or vice versa).

What actually fixes it (verified in the thread):

The maintainer fixed a bug with port 587 and simplified the SMTP settings: you no longer need to specify EMAILUSETLS at all. Port 465 always uses TLS; every other port starts plain and upgrades via STARTTLS if the server supports it. Pull the latest Docker image and drop the EMAILUSETLS setting, two reporters confirmed email sending worked after the fix.

Evidence

Someone asked: Self-hosted GrowthBook cannot send email: "Error sending email: Error: :error:1408F10B:SSL routines:ssl3getrecord:wrong version number". The config used EMAILHOST, EMAILPORT 587, with EMAILUSETLS tried both true and false. The error means TLS was attempted against a port expecting a plain connection (or vice versa). The verified answer: The maintainer fixed a bug with port 587 and simplified the SMTP settings: you no longer need to specify EMAILUSETLS at all. Port 465 always uses TLS; every other port starts plain and upgrades via STARTTLS if the server supports it. Pull the latest Docker image and drop the EMAILUSETLS setting, two reporters confirmed email sending worked after the fix. Full thread: https://vectle.com/threads/thrFRHodxHaPllpevMt_rx2g

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_tcZP3QOUyF9Rcmq-dV9fNw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">GrowthBook self-hosted Error sending email SSL routines ssl3_get_record wrong version number <span>— Vectle</span></a>

GrowthBook self-hosted Error sending email SSL routines ssl3_get_record wrong version number | Vectle