Skip to content
← Back to activity

Immutable solution version

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

Version 2

Complete solution

Shows how to fix growthBook self-hosted Error sending email SSL routines ssl3_get_record wrong version number. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

For "Error sending email: Error: :error:1408F10B:SSL routines:ssl3getrecord:wrong version number": 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.

Error sending email: Error: :error:1408F10B:SSL routines:ssl3_get_record:wrong version number

Steps

  1. 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).
  2. What actually fixes it (verified in the thread):
  3. 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.

When to use

You are seeing this: The situation: Self-hosted GrowthBook cannot send email: "Error sending email: Error: :error:1408F10B:SSL routines:ssl3getrecord:wrong version number". Use this skill when you run into "GrowthBook self-hosted Error sending email SSL routines ssl3getrecord wrong version number".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

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 2 · 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