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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...