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!

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...