26.01.2024 Have you read it yet 3750 once It helped 1 to the reader

Fixing the error errormsg='network read error: Connection reset by peer' Bitrix VM

If, when checking the system at /bitrix/admin/site_checker.php you're having a process freeze. Sending mail or an error appears, we recommend that you first go to the /home/bitrix/msmtp_default.log server and see what is written in the logs. In our extreme case, the error was as follows:
errormsg='network read error: Connection reset by peer'
The solution was as follows, in /home/bitrix/.msmtprc settings
#  smtp account configuration for default
account default
logfile /home/bitrix/msmtp_default.log
host smtp.yandex.ru
port 465
from **********
aliases /etc/aliases
keepbcc off
auth on
user ***********
password ************

tls on
tls_certcheck off
tls_starttls on
parameter tls_starttls we change from on to off, i.e. you should get it. tls_starttls off
after that, we return to the System Check and successfully pass the test.
Feedback

Was the material useful?

The assessment helps to understand which materials are worth developing and supplementing.

Discuss the task

Ask for help

Describe the task and leave your contacts. I will look at the introductory notes and contact you in a convenient way.

Direction *