Other Usage

Why the ERROR:root:Connection unexpectedly closed: [Errno 104] Connection reset by peer while sending mail?

izzie123
Path Finder

Hello,

We have an alert which is configured to send emails to users through an SMTP server. We notice that yesterday that particular alert created 63 events and while others successfully sent emails, there was an error while sending one alert.

ERROR:root:Connection unexpectedly closed: [Errno 104] Connection reset by peer while sending mail to "XXX@domain.com"

We are not sure if this is related to Splunk or should we check this on the SMTP server side. Can someone please guide?

This error occurred only once. The email flow was restored after a while.

Regards.

Labels (2)
Tags (2)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

I'd definitely check the other end. It was either a network issue or deliberate connection closing by the server.

Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...