Security

HttpListener - Socket error from 127.0.0.1 while accessing /servicesNS/-/-/admin/LDAP-groups: Broken pipe error

srinathd
Contributor

I am getting "HttpListener - Socket error from 127.0.0.1 while accessing /servicesNS/-/-/admin/LDAP-groups: Broken pipe" error while trying to get the ldap groups using the rest api as below

| rest /servicesNS/-/-/admin/LDAP-groups splunk_server=* | search roles=* | table strategy title roles

Splunk settings are like this
ulimit -n : 65535
ulimit -Hn and ulimit -Sn: 65535
ulimit -u: 1032358

[httpServer]
maxThreads = 100000
maxSockets = 50000

How to fix this error?

0 Karma

andrewcg
Path Finder

I would get this when trying to map LDAP groups. Try adjusting your limits in the authentication.conf:

[test_directory]
network_timeout = 20
sizelimit = 50
timelimit = 15

For me, I had to reduce sizelimit, I had it at 1000 before.

0 Karma

sarvesh_11
Communicator

@srinathd
What version of Splunk are you using?

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...