RocketChat / RocketChat/Rocket.Chat

ssl_choose_client_version unsupported protocol

Open
#25,072 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug
Although the desktop client works, I see errors on the RocketChat server every time I send a message.
This does not happen on the Android mobile client.

rocketchat_1 | Exception in defer callback: [Error: 140397770450816:error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol:../deps/openssl/openssl/ssl/statem/statem_lib.c:1958:
rocketchat_1 | ] {
rocketchat_1 | library: 'SSL routines',
rocketchat_1 | function: 'ssl_choose_client_version',
rocketchat_1 | reason: 'unsupported protocol',
rocketchat_1 | code: 'ESOCKET',
rocketchat_1 | command: 'CONN'
rocketchat_1 | }

What operating system and which version?
Fedora 35

Which version of Rocket.Chat (Server)?
4.5.5 (official docker images)

Which version of Rocket.Chat.Electron (Electron/Desktop)?
rocketchat-3.8.1-linux-x86_64.rpm

Is there any setting relevant changed?
After fixing a websocket issue I seem to had due to the fact the nginx-proxy in front of the RocketChat server was supporting http/2. Disabled http/2 support on the nginx-proxy.

To Reproduce
Steps to reproduce the behavior:

  1. open Rocket.Chat.Electron 3.8.1
  2. tail rocketchat docker server log
  3. send a message
  4. See error appear in rocketchat server log

Expected behavior
no error

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.

Research direction

Reproduce the error with Rocket.Chat.Electron 3.8.1 while tailing the Rocket.Chat 4.5.5 Docker server log. Start by reviewing the nginx-proxy configuration and the desktop-versus-Android behavior around message sending. Done means sending a message no longer produces the ssl_choose_client_version unsupported protocol error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, electron, nginx
Domain
backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.