As suggested , we have tested on WolfSSL 5.2.0 and observed same issue of TLS abnormal terminations saying close notify. The following are the logs . Could you please verify and update.
:: [LOG LEVEL : 2] <LOG MESSAGE : wolfSSL Entering ReceiveData()>
Feb 26 03:12:24 prod-vm-150 /home/wsadmin/tlswsproxy-wolfssl/sbin/tlswsproxy[21880]: INFO:tls_wolfssl:WolfLoggingCallback: WOLFSSL LIB :: [LOG LEVEL : 1] <LOG MESSAGE : growing input buffer>
Feb 26 03:12:24 prod-vm-150 /home/wsadmin/tlswsproxy-wolfssl/sbin/tlswsproxy[21880]: INFO:tls_wolfssl:WolfLoggingCallback: WOLFSSL LIB :: [LOG LEVEL : 1] <LOG MESSAGE : received record layer msg>
Feb 26 03:12:24 prod-vm-150 /home/wsadmin/tlswsproxy-wolfssl/sbin/tlswsproxy[21880]: INFO:tls_wolfssl:WolfLoggingCallback: WOLFSSL LIB :: [LOG LEVEL : 1] <LOG MESSAGE : got ALERT!>
Feb 26 03:12:24 prod-vm-150 /home/wsadmin/tlswsproxy-wolfssl/sbin/tlswsproxy[21880]: INFO:tls_wolfssl:WolfLoggingCallback: WOLFSSL LIB :: [LOG LEVEL : 1] <LOG MESSAGE : Alert type: close_notify>
Feb 26 03:12:24 prod-vm-150 /home/wsadmin/tlswsproxy-wolfssl/sbin/tlswsproxy[21880]: INFO:tls_wolfssl:WolfLoggingCallback: WOLFSSL LIB :: [LOG LEVEL : 0] <LOG MESSAGE : wolfSSL error occurred, error = 0 line:16598 file:src/internal.c>
Feb 26 03:12:24 prod-vm-150 /home/wsadmin/tlswsproxy-wolfssl/sbin/tlswsproxy[21880]: INFO:tls_wolfssl:WolfLoggingCallback: WOLFSSL LIB :: [LOG LEVEL : 0] <LOG MESSAGE : wolfSSL error occurred, error = 343 line:19966 file:src/internal.c>
Feb 26 03:12:24 prod-vm-150 /home/wsadmin/tlswsproxy-wolfssl/sbin/tlswsproxy[21880]: INFO:tls_wolfssl:WolfLoggingCallback: WOLFSSL LIB :: [LOG LEVEL : 1] <LOG MESSAGE : Zero return, no more data coming>
Feb 26 03:12:24 prod-vm-150 /home/wsadmin/tlswsproxy-wolfssl/sbin/tlswsproxy[21880]: INFO:tls_wolfssl:WolfLoggingCallback: WOLFSSL LIB :: [LOG LEVEL : 1] <LOG MESSAGE : Notifying write side of fatal read error>
Feb 26 03:12:24 prod-vm-150 /home/wsadmin/tlswsproxy-wolfssl/sbin/tlswsproxy[21880]: INFO:tls_wolfssl:WolfLoggingCallback: WOLFSSL LIB :: [LOG LEVEL : 2] <LOG MESSAGE : wolfSSL Entering NotifyWriteSide>
Feb 26 03:12:24 prod-vm-150 /home/wsadmin/tlswsproxy-wolfssl/sbin/tlswsproxy[21880]: INFO:tls_wolfssl:WolfLoggingCallback: WOLFSSL LIB :: [LOG LEVEL : 3] <LOG MESSAGE : wolfSSL Leaving wolfSSL_read_internal(), return 0>
Feb 26 03:12:24 prod-vm-150 /home/wsadmin/tlswsproxy-wolfssl/sbin/tlswsproxy[21880]: INFO:tls_wolfssl:WolfLoggingCallback: WOLFSSL LIB :: [LOG LEVEL : 2] <LOG MESSAGE : wolfSSL Entering SSL_get_error>
Feb 26 03:12:24 prod-vm-150 /home/wsadmin/tlswsproxy-wolfssl/sbin/tlswsproxy[21880]: INFO:tls_wolfssl:WolfLoggingCallback: WOLFSSL LIB :: [LOG LEVEL : 3] <LOG MESSAGE : wolfSSL Leaving SSL_get_error, return -343>
Feb 26 03:12:24 prod-vm-150 /home/wsadmin/tlswsproxy-wolfssl/sbin/tlswsproxy[21880]: INFO:tls_wolfssl:_wolfssl_read: TLS connection to 12.215.193.11:5075 closed cleanly
Feb 26 03:12:24 prod-vm-150 /home/wsadmin/tlswsproxy-wolfssl/sbin/tlswsproxy[21880]: INFO:core:tcp_trigger_report: Connection is getting release because of [EOF received]