Deployment Architecture

How to fix Linux proxy issue?

New Member

I am currently running on Red Hat Enterprise Linux. I have already set up the proxy by using the following commands:

export http_proxy=http://XXX.XXX.XXX.XXX:XXX
export https_proxy=http://XXX.XXX.XXX.XXX:XXX

I have also added those addresses to the /etc/sysconfig/splunk file.

I am now able to do a wget of, but when I try to access them through Splunk web, I get the following error:

The splunkd daemon cannot be reached by splunkweb. Check that there are no blocked network ports or that splunkd is still running.

After following the link, I receive the error below:

2015-04-28 16:52:32,269 ERROR [55400102397fd289b3a210] decorators:420 - Splunkd daemon is not responding: ('Error connecting to /services/apps/remote/entries: The read operation timed out',)
Traceback (most recent call last):
  File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/lib/", line 406, in handle_exceptions
    return fn(self, *a, **kw)
  File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/controllers/", line 3190, in splunkbase_browser
    apps, total_results = self._getRemoteEntries(**kwargs)
  File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/controllers/", line 3148, in _getRemoteEntries
    entities = en.getEntities(url, **kwargs)
  File "/opt/splunk/lib/python2.7/site-packages/splunk/", line 129, in getEntities
    atomFeed = _getEntitiesAtomFeed(entityPath, namespace, owner, search, count, offset, sort_key, sort_dir, sessionKey, uri, hostPath, **kwargs)
  File "/opt/splunk/lib/python2.7/site-packages/splunk/", line 222, in _getEntitiesAtomFeed
    serverResponse, serverContent = rest.simpleRequest(uri, getargs=kwargs, sessionKey=sessionKey, raiseAllErrors=True)
  File "/opt/splunk/lib/python2.7/site-packages/splunk/rest/", line 478, in simpleRequest
    raise splunk.SplunkdConnectionException, 'Error connecting to %s: %s' % (path, str(e))
SplunkdConnectionException: Splunkd daemon is not responding: ('Error connecting to /services/apps/remote/entries: The read operation timed out',)
2015-04-28 16:52:32,268 ERROR [55400102397fd289b3a210] __init__:477 - Socket error communicating with splunkd (error=The read operation timed out), path = /services/apps/remote/entries
Tags (3)
0 Karma


It's hard to say for sure, but my best guess based on what you've shared is that something is now being routed to the proxy that shouldn't be - such as a call to localhost or some such that the proxy doesn't know how to handle, so the connection times out.

0 Karma