RocketChat / RocketChat/Rocket.Chat

Email Inboxes: ssl3_get_record:wrong version number

Open
#30,976 2 comments 0 reactions 1 assignee View on GitHub

@KevLehman is already working on this.

Since Dec 4, 2023.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

When I send myself a test email, I see this in the logs:

{"level":50,"time":"2023-11-15T19:14:41.907Z","pid":1,"hostname":"94765fadf075","name":"EmailInbox","msg":"Error sending Email reply","err":{"type":"Error","message":"139802158573440:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:<br>","stack":"Error: 139802158573440:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:<br>","library":"SSL routines","function":"ssl3_get_record","reason":"wrong version number","code":"ESOCKET","command":"CONN"}} 

If I send an email directly to the inbox email, it shows up as a DM, but when I click it, it shows "Oops! Something went wrong. Please reload the page or contact an administrator."

My email is currently at AWS WorkMail. After some digging, I found this: https://docs.aws.amazon.com/workmail/latest/userguide/clients.html

Amazon WorkMail discontinued support for Transport Layer Security (TLS) 1.0 and 1.1. If you are using TLS 1.0 or 1.1, you must upgrade the TLS version to 1.2.

RocketChat is running behind a Caddy reverse proxy. Is the problem with my Caddy, or with RocketChat? Or is this a bug?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.