Hello
Description
Because of cve-2022-32211, I’m trying to upgrade my old (working well) rocket.chat snap (3.18) to the latest version available (4.8).
I’ve encoutered several issues that I was able to deal with (like apparmor rules, failed upgrade of the indexes, missing setting for the RateLimiter) but since hours I’m stuck with a “ERR_SSL_WRONG_VERSION_NUMBER” error.
Server Setup Information
- Version of Rocket.Chat Server: 4.8.1
- Operating System: Ubuntu 20.04.4 LTS (Focal Fossa)
- Deployment Method: snap
- Number of Running Instances: 1
- NodeJS Version: 14.18.3
- MongoDB Version: 4.2.17
- Proxy: caddy2
- Firewalls involved: no
Any additional Information
Here is the full startup logs.
Jul 1 19:23:48 my-server systemd[1]: Started Service for snap application rocketchat-server.rocketchat-server.
Jul 1 19:23:48 my-server systemd[1]: Started Service for snap application rocketchat-server.rocketchat-caddy.
Jul 1 19:23:49 my-server rocketchat-server.rocketchat-caddy[252251]: {"level":"warn","ts":1656703429.1895156,"logger":"admin","msg":"admin endpoint disabled"}
Jul 1 19:23:49 my-server rocketchat-server.rocketchat-caddy[252251]: {"level":"info","ts":1656703429.1898048,"logger":"http","msg":"server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS","server_name":"proxy","https_port":443}
Jul 1 19:23:49 my-server rocketchat-server.rocketchat-caddy[252251]: {"level":"info","ts":1656703429.1898282,"logger":"http","msg":"enabling automatic HTTP->HTTPS redirects","server_name":"proxy"}
Jul 1 19:23:49 my-server rocketchat-server.rocketchat-caddy[252251]: {"level":"info","ts":1656703429.1903708,"logger":"http","msg":"enabling automatic TLS certificate management","domains":["chat.my-domain.com"]}
Jul 1 19:23:49 my-server rocketchat-server.rocketchat-caddy[252251]: {"level":"info","ts":1656703429.1919787,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc00025db20"}
Jul 1 19:23:49 my-server rocketchat-server.rocketchat-caddy[252251]: {"level":"info","ts":1656703429.1922793,"logger":"tls","msg":"cleaning storage unit","description":"FileStorage:/root/snap/rocketchat-server/1520/.local/share/caddy"}
Jul 1 19:23:49 my-server rocketchat-server.rocketchat-caddy[252251]: {"level":"info","ts":1656703429.194284,"logger":"tls","msg":"finished cleaning storage units"}
Jul 1 19:23:49 my-server rocketchat-server.rocketchat-server[252171]: node $SNAP/main.js
Jul 1 19:23:49 my-server rocketchat-server.rocketchat-caddy[252251]: {"level":"info","ts":1656703429.227069,"msg":"autosaved config (load with --resume flag)","file":"/root/snap/rocketchat-server/1520/.config/caddy/autosave.json"}
Jul 1 19:23:49 my-server rocketchat-server.rocketchat-caddy[252251]: Caddy proxying https://chat.my-domain.com -> http://127.0.0.1:3000
Jul 1 19:23:50 my-server mongod.27017[246613]: 2022-07-01T19:23:50.333+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52932 #1019 (12 connections now open)
Jul 1 19:23:50 my-server mongod.27017[246613]: 2022-07-01T19:23:50.339+0000 I NETWORK [conn1019] received client metadata from 127.0.0.1:52932 conn1019: { driver: { name: "nodejs", version: "3.6.10" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:50 my-server mongod.27017[246613]: 2022-07-01T19:23:50.347+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52934 #1020 (13 connections now open)
Jul 1 19:23:50 my-server mongod.27017[246613]: 2022-07-01T19:23:50.348+0000 I NETWORK [conn1020] received client metadata from 127.0.0.1:52934 conn1020: { driver: { name: "nodejs", version: "3.6.10" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:50 my-server mongod.27017[246613]: 2022-07-01T19:23:50.551+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52936 #1021 (14 connections now open)
Jul 1 19:23:50 my-server mongod.27017[246613]: 2022-07-01T19:23:50.551+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52938 #1022 (15 connections now open)
Jul 1 19:23:50 my-server mongod.27017[246613]: 2022-07-01T19:23:50.553+0000 I NETWORK [conn1021] received client metadata from 127.0.0.1:52936 conn1021: { driver: { name: "nodejs", version: "3.6.10" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:50 my-server mongod.27017[246613]: 2022-07-01T19:23:50.553+0000 I NETWORK [conn1022] received client metadata from 127.0.0.1:52938 conn1022: { driver: { name: "nodejs", version: "3.6.10" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:51 my-server mongod.27017[246613]: 2022-07-01T19:23:51.945+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52940 #1023 (16 connections now open)
Jul 1 19:23:51 my-server mongod.27017[246613]: 2022-07-01T19:23:51.950+0000 I NETWORK [conn1023] received client metadata from 127.0.0.1:52940 conn1023: { driver: { name: "nodejs", version: "3.7.3" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.896+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52942 #1024 (17 connections now open)
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.897+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52944 #1025 (18 connections now open)
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.897+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52946 #1026 (19 connections now open)
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.897+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52948 #1027 (20 connections now open)
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.897+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52952 #1028 (21 connections now open)
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.897+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52956 #1029 (22 connections now open)
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.897+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52958 #1030 (23 connections now open)
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.897+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52960 #1031 (24 connections now open)
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.898+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52962 #1032 (25 connections now open)
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.898+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52964 #1033 (26 connections now open)
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.898+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52966 #1034 (27 connections now open)
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.898+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52968 #1035 (28 connections now open)
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.898+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52970 #1036 (29 connections now open)
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.898+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52972 #1037 (30 connections now open)
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.898+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52974 #1038 (31 connections now open)
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.898+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52976 #1039 (32 connections now open)
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.898+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52978 #1040 (33 connections now open)
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.899+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52980 #1041 (34 connections now open)
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.899+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52984 #1042 (35 connections now open)
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.899+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52986 #1043 (36 connections now open)
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.902+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52988 #1044 (37 connections now open)
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.903+0000 I NETWORK [listener] connection accepted from 127.0.0.1:52990 #1045 (38 connections now open)
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.904+0000 I NETWORK [conn1026] received client metadata from 127.0.0.1:52946 conn1026: { driver: { name: "nodejs", version: "3.6.10" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.904+0000 I NETWORK [conn1027] received client metadata from 127.0.0.1:52948 conn1027: { driver: { name: "nodejs", version: "3.6.10" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.905+0000 I NETWORK [conn1028] received client metadata from 127.0.0.1:52952 conn1028: { driver: { name: "nodejs", version: "3.6.10" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.906+0000 I NETWORK [conn1029] received client metadata from 127.0.0.1:52956 conn1029: { driver: { name: "nodejs", version: "3.6.10" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.906+0000 I NETWORK [conn1030] received client metadata from 127.0.0.1:52958 conn1030: { driver: { name: "nodejs", version: "3.6.10" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.907+0000 I NETWORK [conn1025] received client metadata from 127.0.0.1:52944 conn1025: { driver: { name: "nodejs", version: "3.6.10" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.907+0000 I NETWORK [conn1031] received client metadata from 127.0.0.1:52960 conn1031: { driver: { name: "nodejs", version: "3.7.3" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.908+0000 I NETWORK [conn1024] received client metadata from 127.0.0.1:52942 conn1024: { driver: { name: "nodejs", version: "3.6.10" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.908+0000 I NETWORK [conn1032] received client metadata from 127.0.0.1:52962 conn1032: { driver: { name: "nodejs", version: "3.7.3" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.909+0000 I NETWORK [conn1033] received client metadata from 127.0.0.1:52964 conn1033: { driver: { name: "nodejs", version: "3.7.3" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.910+0000 I NETWORK [conn1034] received client metadata from 127.0.0.1:52966 conn1034: { driver: { name: "nodejs", version: "3.7.3" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.910+0000 I NETWORK [conn1035] received client metadata from 127.0.0.1:52968 conn1035: { driver: { name: "nodejs", version: "3.7.3" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.911+0000 I NETWORK [conn1036] received client metadata from 127.0.0.1:52970 conn1036: { driver: { name: "nodejs", version: "3.7.3" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.911+0000 I NETWORK [conn1037] received client metadata from 127.0.0.1:52972 conn1037: { driver: { name: "nodejs", version: "3.7.3" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.912+0000 I NETWORK [conn1038] received client metadata from 127.0.0.1:52974 conn1038: { driver: { name: "nodejs", version: "3.7.3" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.913+0000 I NETWORK [conn1039] received client metadata from 127.0.0.1:52976 conn1039: { driver: { name: "nodejs", version: "3.7.3" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.913+0000 I NETWORK [conn1040] received client metadata from 127.0.0.1:52978 conn1040: { driver: { name: "nodejs", version: "3.7.3" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.914+0000 I NETWORK [conn1041] received client metadata from 127.0.0.1:52980 conn1041: { driver: { name: "nodejs", version: "3.7.3" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.914+0000 I NETWORK [conn1042] received client metadata from 127.0.0.1:52984 conn1042: { driver: { name: "nodejs", version: "3.7.3" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.915+0000 I NETWORK [conn1043] received client metadata from 127.0.0.1:52986 conn1043: { driver: { name: "nodejs", version: "3.7.3" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.915+0000 I NETWORK [conn1044] received client metadata from 127.0.0.1:52988 conn1044: { driver: { name: "nodejs", version: "3.7.3" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:52 my-server mongod.27017[246613]: 2022-07-01T19:23:52.916+0000 I NETWORK [conn1045] received client metadata from 127.0.0.1:52990 conn1045: { driver: { name: "nodejs", version: "3.7.3" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "5.13.0-1028-aws" }, platform: "'Node.js v14.18.3, LE (unified)" }
Jul 1 19:23:56 my-server rocketchat-server.rocketchat-server[252277]: LocalStore: store created at
Jul 1 19:23:56 my-server rocketchat-server.rocketchat-server[252277]: message repeated 2 times: [ LocalStore: store created at]
Jul 1 19:23:57 my-server rocketchat-server.rocketchat-server[252277]: MessageType.render is deprecated. Use MessageType.message instead. livechat_webrtc_video_call
Jul 1 19:23:58 my-server rocketchat-server.rocketchat-server[252277]: {"level":40,"time":"2022-07-01T19:23:58.025Z","pid":252277,"hostname":"my-server.my-domain.com","name":"VoIPService","msg":"Voip is not enabled. Cant start the service"}
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: {"level":40,"time":"2022-07-01T19:24:00.163Z","pid":252277,"hostname":"my-server.my-domain.com","name":"VoIPService","msg":"VoIP service already stopped"}
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: Error occurred: Error: 139831247652736:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: at Socket.ondata (internal/js_stream_socket.js:77:22)
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: at Socket.emit (events.js:400:28)
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: at Socket.emit (domain.js:475:12)
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: at addChunk (internal/streams/readable.js:293:12)
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: at readableAddChunk (internal/streams/readable.js:267:9)
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: at Socket.Readable.push (internal/streams/readable.js:206:10)
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: at TCP.callbackTrampoline (internal/async_hooks.js:130:17) {
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: library: 'SSL routines',
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: function: 'ssl3_get_record',
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: reason: 'wrong version number',
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: code: 'ERR_SSL_WRONG_VERSION_NUMBER',
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: source: 'socket'
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: }
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: meteor://💻app/app/app.js:208688
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: throw err;
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: ^
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: Error: 139831247652736:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: at Socket.ondata (internal/js_stream_socket.js:77:22)
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: at Socket.emit (events.js:400:28)
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: at Socket.emit (domain.js:475:12)
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: at addChunk (internal/streams/readable.js:293:12)
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: at readableAddChunk (internal/streams/readable.js:267:9)
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: at Socket.Readable.push (internal/streams/readable.js:206:10)
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: at TCP.callbackTrampoline (internal/async_hooks.js:130:17) {
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: library: 'SSL routines',
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: function: 'ssl3_get_record',
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: reason: 'wrong version number',
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: code: 'ERR_SSL_WRONG_VERSION_NUMBER',
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: source: 'socket'
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252277]: }
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.763+0000 I NETWORK [conn1045] end connection 127.0.0.1:52990 (37 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.763+0000 I NETWORK [conn1029] end connection 127.0.0.1:52956 (36 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.763+0000 I NETWORK [conn1027] end connection 127.0.0.1:52948 (35 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.764+0000 I NETWORK [conn1023] end connection 127.0.0.1:52940 (34 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.764+0000 I NETWORK [conn1022] end connection 127.0.0.1:52938 (33 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.764+0000 I NETWORK [conn1028] end connection 127.0.0.1:52952 (32 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.764+0000 I NETWORK [conn1038] end connection 127.0.0.1:52974 (31 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.765+0000 I NETWORK [conn1036] end connection 127.0.0.1:52970 (30 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.765+0000 I NETWORK [conn1031] end connection 127.0.0.1:52960 (29 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.766+0000 I NETWORK [conn1044] end connection 127.0.0.1:52988 (28 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.766+0000 I NETWORK [conn1037] end connection 127.0.0.1:52972 (27 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.766+0000 I NETWORK [conn1040] end connection 127.0.0.1:52978 (26 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.766+0000 I NETWORK [conn1042] end connection 127.0.0.1:52984 (25 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.767+0000 I NETWORK [conn1039] end connection 127.0.0.1:52976 (24 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.767+0000 I NETWORK [conn1043] end connection 127.0.0.1:52986 (23 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.767+0000 I NETWORK [conn1041] end connection 127.0.0.1:52980 (22 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.767+0000 I NETWORK [conn1030] end connection 127.0.0.1:52958 (21 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.767+0000 I NETWORK [conn1032] end connection 127.0.0.1:52962 (20 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.767+0000 I NETWORK [conn1026] end connection 127.0.0.1:52946 (19 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.767+0000 I NETWORK [conn1024] end connection 127.0.0.1:52942 (18 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.767+0000 I NETWORK [conn1025] end connection 127.0.0.1:52944 (17 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.767+0000 I NETWORK [conn1034] end connection 127.0.0.1:52966 (16 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.768+0000 I NETWORK [conn1019] end connection 127.0.0.1:52932 (15 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.768+0000 I NETWORK [conn1021] end connection 127.0.0.1:52936 (14 connections now open)
Jul 1 19:24:00 my-server mongod.27017[246613]: 2022-07-01T19:24:00.768+0000 I NETWORK [conn1020] end connection 127.0.0.1:52934 (13 connections now open)
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252344]: pkill: pidfile not valid
Jul 1 19:24:00 my-server rocketchat-server.rocketchat-server[252344]: Try `pkill --help' for more information.
Jul 1 19:24:00 my-server systemd[1]: snap.rocketchat-server.rocketchat-server.service: Control process exited, code=exited, status=1/FAILURE
Jul 1 19:24:00 my-server systemd[1]: snap.rocketchat-server.rocketchat-server.service: Failed with result 'exit-code'.
Jul 1 19:24:01 my-server systemd[1]: snap.rocketchat-server.rocketchat-server.service: Scheduled restart job, restart counter is at 1.
Jul 1 19:24:01 my-server systemd[1]: Stopped Service for snap application rocketchat-server.rocketchat-server.
I can’t figure out why I got this ERR_SSL_WRONG_VERSION_NUMBER
error.
I suspect the previous error to be the source of the issue:
MessageType.render is deprecated. Use MessageType.message instead. livechat_webrtc_video_call
{"level":40,"time":"2022-07-01T19:23:58.025Z","pid":252277,"hostname":"my-server.my-domain.com","name":"VoIPService","msg":"Voip is not enabled. Cant start the service"}
{"level":40,"time":"2022-07-01T19:24:00.163Z","pid":252277,"hostname":"my-server.my-domain.com","name":"VoIPService","msg":"VoIP service already stopped"}
But I checked the settings in MongoDB, Livechat is disabled, WebRTC is disabled, VoIP is disabled, ForceSSL is disabled… so I don’t know why I got this message.
Any suggestion will be welcome.
Thank you.