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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...