Splunk Search

Connection timed out when using Splunk Java SDK to make search query

vickie123
New Member

I am seeing this error:

java.lang.RuntimeException: Operation timed out (Connection timed out)

when I try to create a search job using the Splunk Java SDK. I am able to get a connection but cannot create a search job.

The curl command to create a new search job works fine and returns the new sid as well.

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Get Inspired! We’ve Got Validation that Your Hard Work is Paying Off

We love our Splunk Community and want you to feel inspired by all your hard work! Eric Fusilero, our VP of ...

What's New in Splunk Enterprise 9.4: Features to Power Your Digital Resilience

Hey Splunky People! We are excited to share the latest updates in Splunk Enterprise 9.4. In this release we ...