All Apps and Add-ons

Why am I getting a Read Timeout error in my browser when trying to save settings for the App for Twitter Data?

ehkant
New Member

I've installed the twitter app as instructed. The app then requests the settings from twitter and these all work as I have tested them with the REST API. After clicking save on the twitter app, the browser spins and then states error Read Timeout.

This is what the web pages shows:

This XML file does not appear to have any style information associated with it. The document tree is shown below.

From the log:

02-20-2015 11:47:40.517 -0500 ERROR HttpClientRequest - HTTP client error: Read Timeout (while accessing http://127.0.0.1:8065/dj/en-us/twitter2/setup/)
Tags (1)
0 Karma

littlewild
New Member

I had the same issue with my local installation of Splunk Enterprise 6.4.1 x64 running on Windows 10 x64.

The problem occurred when the twitter2 app reloads the page:

WARN  LocalAppsAdminHandler - User 'admin' triggered the '_reload' action on app 'twitter2', and the following objects required a restart: restart_on_install
ERROR HttpClientRequest - HTTP client error: Read Timeout (while accessing http://127.0.0.1:8065/dj/en-us/twitter2/setup/)

What worked for me was to change the default appServerPorts in Splunk\etc\system\default\web.conf from 8065 to 0.

# list of ports to start python application servers on (although usually
# one port is enough)  Set to 0 to instead run the application server
# directly as the web front end on 'httpport', separate from splunkd.
appServerPorts = 0

Hope it helps.

0 Karma

kartik13
Communicator

Try to increase the sessionTimeOut in web.conf
Default is of 30 sec.
Try it to increase to 60 sec or accordingly. In my case it worked fine.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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