Reporting

Scheduled Report Email Error: "sendemail:378 - Connection unexpectedly closed: [Errno 104] Connection reset by peer while sending mail to..."?

Explorer

We have report that is scheduled once in a month to run and it emails the report, but here we have an issue in getting reports in the email.

When I check the triggered jobs, the job is successful, but the email is not delivering.

In the attachment we included pdf and csv. Approx size of the files between 20kb to 50kb on each attachment.

ERROR     sendemail:378 - Connection unexpectedly closed: [Errno 104] Connection reset by peer while sending mail to
0 Karma

SplunkTrust
SplunkTrust

First, do you have any emails that work? E.g. have you confirmed your smtp setup works? What does your SMTP device say in its logs? It's likely the problem is there and not on the Splunk side of things, so checking it may tell you why this is happening.

Now on another note, I had an issue in 6.1.x or 6.2.x where I had one or two reports stop sending BOTH csv and pdf. I could pick either and it was fine, but if I picked both, it would give that error. I never resolved this because we migrated to a newer server and when I moved that report to the newer server this problem stopped.

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!