We use Stunnel between a windows server server and a windows client. Everything is working fine exept, after 20 minutes the connection is broken. (Cannot reach the server)
Client log : 2021.03.17 13:07:28 LOG6[50]: TLS socket closed (SSL_read) 2021.03.17 13:07:28 LOG7[50]: Sent socket write shutdown 2021.03.17 13:07:28 LOG5[50]: Connection closed: 550 byte(s) sent to TLS, 582 byte(s) sent to socket 2021.03.17 13:07:28 LOG7[50]: Remote descriptor (FD=3888) closed 2021.03.17 13:07:28 LOG7[50]: Local descriptor (FD=1340) closed 2021.03.17 13:07:28 LOG7[50]: Service [M3000] finished (4 left) 2021.03.17 13:07:29 LOG6[55]: SSL_read: Socket is closed 2021.03.17 13:07:29 LOG6[55]: TLS socket closed (SSL_read) 2021.03.17 13:07:29 LOG7[55]: Sent socket write shutdown 2021.03.17 13:07:29 LOG5[55]: Connection closed: 386 byte(s) sent to TLS, 312 byte(s) sent to socket 2021.03.17 13:07:29 LOG7[55]: Remote descriptor (FD=60) closed 2021.03.17 13:07:29 LOG7[55]: Local descriptor (FD=3036) closed 2021.03.17 13:07:29 LOG7[55]: Service [M3000] finished (3 left) 2021.03.17 13:07:42 LOG6[52]: SSL_read: Socket is closed 2021.03.17 13:07:42 LOG6[52]: TLS socket closed (SSL_read) 2021.03.17 13:07:42 LOG7[52]: Sent socket write shutdown 2021.03.17 13:07:42 LOG5[52]: Connection closed: 2619 byte(s) sent to TLS, 1672530 byte(s) sent to socket 2021.03.17 13:07:42 LOG7[52]: Remote descriptor (FD=2100) closed 2021.03.17 13:07:42 LOG7[52]: Local descriptor (FD=3872) closed 2021.03.17 13:07:42 LOG7[52]: Service [M3000] finished (2 left) 2021.03.17 13:36:58 LOG3[54]: readsocket: Connection reset by peer (WSAECONNRESET) (10054) 2021.03.17 13:36:58 LOG3[51]: readsocket: Connection reset by peer (WSAECONNRESET) (10054) 2021.03.17 13:36:58 LOG5[54]: Connection reset: 490450 byte(s) sent to TLS, 180549 byte(s) sent to socket 2021.03.17 13:36:58 LOG5[51]: Connection reset: 828 byte(s) sent to TLS, 35214 byte(s) sent to socket 2021.03.17 13:36:58 LOG7[51]: Remote descriptor (FD=2640) closed 2021.03.17 13:36:58 LOG7[54]: Remote descriptor (FD=3236) closed 2021.03.17 13:36:58 LOG7[51]: Local descriptor (FD=3696) closed 2021.03.17 13:36:58 LOG7[51]: Service [M3000] finished (1 left) 2021.03.17 13:36:58 LOG7[54]: Local descriptor (FD=1376) closed 2021.03.17 13:36:58 LOG7[54]: Service [M3000] finished (0 left)