All Apps and Add-ons

TA-webtools - CURLName or Service Not Known

chrisboy68
Contributor

Hi  @jkat54 ,

I have a very simple health check that returns "ok" simple curl works fine with

 curl  https://myhost:8041/local/check
 
But through Splunk/App I get this error. 
 

HTTPSConnectionPool(host='myhost', port=8041): Max retries exceeded with url: /local/check (Caused by <class 'socket.gaierror'>: [Errno -2] Name or service not known)

Doing 

 

 

| curl method=get  uri=https://myhost:8041/local/check debug=t

 

 

Any Ideas? Thanks Chris

Labels (1)
Tags (1)
0 Karma

chrisboy68
Contributor

I think I figured this out. This is an obscure error for not able to connect to the host.

0 Karma

gjanders
SplunkTrust
SplunkTrust

Please accept your answer since you found your own solution 🙂

I believe this python error advises it cannot find the hostname/resole the hostname in question

0 Karma
Get Updates on the Splunk Community!

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...