Quantcast
Viewing all articles
Browse latest Browse all 5962

Receiving "Connection reset by peer" error on syslog server when using syslog

I am currently encountering a problem. I have 2 Ubuntu 20.04.6 LTS servers running and I want to send data from server 1 to server 2. As soon as I setup the necessary things for the connection, I can receive syslog data from server 1 to server 2. This only works for +-30 minutes, then I receive the following syslog message on server 2:

server-2 rsyslogd: netstream session 0x7f6c1c005800 from [IP_SERVER_1] will be closed due to error: Connection reset by peer [v8.2001.0 try https://www.rsyslog.com/e/2165 ]

I tried using TCP as well as UDP, but the same problem keeps occuring. Used port 514 for both TCP and UDP. I did not configure any secure protocol for TCP (so no TLS1.2 or so). For sending data from server 1 to server 2, I use LF as message delimiter and RFC3164 as message format. How can I prevent this from happening? Let me know if there is any more information that you might need. Thanks in advance!

I tried using TCP and UDP, but in both cases, server 2 printed the error message.


Viewing all articles
Browse latest Browse all 5962

Trending Articles