Unexpected eof while reading:ssl/record/rec_layer_s3.c:307

I recently did an update. Always noervous about coolwsd updates because sometimes it modifies my coolwsd.xml

This update seems different and coolwsd is no longer working with the following errors

does anyone know what is going on here?
openssl version -a

OpenSSL 1.1.1n 15 Mar 2022

Ready to accept connections on port 9980.
 coolwsd[18469]: wsd-18469-18493 2024-03-02 08:53:59.780638 -0500 [ websrv_poll ] ERR  #24: Error while handling poll at 0 in websrv_poll: #24 (read): unknown. BIO error: 167772454, rc: 0: error:0A000126:SSL routines::unexpected eof while reading:
 coolwsd[18469]: 0067F51A437F0000:error:0A000126:SSL routines:ssl3_read_n:unexpected eof while reading:ssl/record/rec_layer_s3.c:307:
 coolwsd[18469]: | net/Socket.cpp:470
 coolwsd[18469]: wsd-18469-18493 2024-03-02 08:54:00.675893 -0500 [ websrv_poll ] ERR  #24: Error while handling poll at 0 in websrv_poll: #24 (read): unknown. BIO error: 167772454, rc: 0: error:0A000126:SSL routines::unexpected eof while reading:
 coolwsd[18469]: 0067F51A437F0000:error:0A000126:SSL routines:ssl3_read_n:unexpected eof while reading:ssl/record/rec_layer_s3.c:307:
 coolwsd[18469]: | net/Socket.cpp:470
 coolwsd[18469]: wsd-18469-18493 2024-03-02 08:54:00.777389 -0500 [ websrv_poll ] ERR  #24: Error while handling poll at 0 in websrv_poll: #24 (read): unknown. BIO error: 167772454, rc: 0: error:0A000126:SSL routines::unexpected eof while reading:
 coolwsd[18469]: 0067F51A437F0000:error:0A000126:SSL routines:ssl3_read_n:unexpected eof while reading:ssl/record/rec_layer_s3.c:307:
 coolwsd[18469]: | net/Socket.cpp:470
 coolwsd[18469]: wsd-18469-18493 2024-03-02 08:54:00.886099 -0500 [ websrv_poll ] ERR  #24: Error while handling poll at 0 in websrv_poll: #24 (read): unknown. BIO error: 167772454, rc: 0: error:0A000126:SSL routines::unexpected eof while reading:
 coolwsd[18469]: 0067F51A437F0000:error:0A000126:SSL routines:ssl3_read_n:unexpected eof while reading:ssl/record/rec_layer_s3.c:307:
 coolwsd[18469]: | net/Socket.cpp:470

Please give details:

  1. versions of Online you updated from and to;
  2. do you install CODE or you build yourself;
  3. what is your OS;
  4. curl version;
  5. what is your setup regarding SSL in Online, do you use certificates, are they valid.
1 Like

@Timur Thank you for taking the time to reply to my issue

versions of Online you updated from and to;
do you install CODE or you build yourself;

  • This is a virtual machine which I built myself. Ii has been so long I forget where I got the instructions for install

what is your OS;

  • debian VERSION=“10 (buster)”

curl version;

  • curl 7.64.0 (x86_64-pc-linux-gnu) libcurl/7.64.0 OpenSSL/1.1.1n

what is your setup regarding SSL in Online, do you use certificates, are they valid.

  • I use let’s encrypt VALID: 55 days, this is a good question, in the past I’ve struggled with this because I cannot make coolwsd.xml point to /etc/letsencrypt/live/*
    So I move a copy of the certs to /etc/coolwsd and point coolwsd.xml to them. This works, but when doing update of coolwsd, when it re-writes the file I have to re-configure it. But its always worked.

You can refer to a previous convo

What is strange about the issue this time, is that coolwsd boots just fine and is listening, Ready to accept connections on port 9980. Reading the dump on boot I see nothing strange. The web app has not changed and was working before doing the update.

1 Like

@Timur
Any idea on this? It is still a problem

I also just noticed that trying to access /hosting/discovery fails

Proxy Error

The proxy server could not handle the request
Reason: Error during SSL Handshake with remote server

I’ve had this before and resolved it in the apache conf file. I did not change anything and it started failing after an update.

the site logs are:

AH01097: pass request body failed to 127.0.0.1:9980 (127.0.0.1) from 70.53.206.136 ()
(20014)Internal error (specific information not available): [client 70.53.206.222:34302] AH01102: error reading status line from remote server 127.0.0.1:9980
AH00898: Error reading from remote server returned by /hosting/capabilities