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!

Splunk Security Content for Threat Detection & Response, Q1 Roundup

Join Principal Threat Researcher, Michael Haag, as he walks through:An introduction to the Splunk Threat ...

Splunk Life | Happy Pride Month!

Happy Pride Month, Splunk Community! &#x1f308; In the United States, as well as many countries around the ...

SplunkTrust | Where Are They Now - Michael Uschmann

The Background Five years ago, Splunk published several videos showcasing members of the SplunkTrust to share ...