All Apps and Add-ons

"Connection to timed out. (connect timeout=60)" error when using Webtool TA

mhan_splunk
Splunk Employee
Splunk Employee

Currently, we are using the Webtool TA for invoking external REST APIs. We installed the TA on our DEV box and then we performed the following SPL command:

| curl method=get verifyssl=True uri=https:///v1///itemDefinitions?view=full&limit=20 debug=t

But for some reason, the curl_message returns a ‘Connection to timed out. (connect timeout=60)’ error. We checked the internal network team and they tell us access from our test Splunk servers to the servers are open for any port. Can you suggest ways to resolve this?

@jkat54

0 Karma

jkat54
SplunkTrust
SplunkTrust

Have you tried command line curl from the splunk server to the api?

I'm just assuming here but it sounds like the splunk server isn't able to resolve the fqdn to an IP.

If you know how to troubleshoot DNS that's your first step. Next step is to move the parameters into a datafield

| eval data="{\'view\':\'full\',\'limit\':\'20\'}" | curl ... datafield=data

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...