Getting Data In

Why am I getting "Error while sending public key to search peer: Connection reset by peer"?

amirzargaran
New Member

I have a Splunk Server on Ubuntu and a Splunkforwarder on Ubuntu too.
I want to add splunkforwarder to distributed search on Splunk server, but when try to add it, the error below is generated:

Encountered the following error while trying to save: In handler 'distsearch-peer': Error while sending public key to search peer: Connection reset by peer

How do can I fix this problem?

0 Karma

sloshburch
Splunk Employee
Splunk Employee

Check out the local instances splunkd.log. It's possible a universal forwarder can't be added as a search peer since its not capable of handling searches. Otherwise it could simply be a permissions issue since the user must be an admin on both systems.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...