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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...