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!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...