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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...