All Apps and Add-ons

PDF App not working after 4.3 install: An error occured while trying to query remote web server

rsimmons
Splunk Employee
Splunk Employee

error message from python.log:
2012-02-14 10:08:39,801 WARNING Failed to query remote web server at
https://XXXXXX:443/config/version: [Errno 185090050] _ssl.c:341:
error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
2012-02-14 10:08:39,802 ERROR pdfhandler:662 - (400) Remote host does
not look like a Splunk server; aborting PDF generation
2012-02-14 10:08:39,802 ERROR (400) Remote host does not look like a
Splunk server; aborting PDF generation

alosada
New Member

Any clue? Still happening on my splunk server

0 Karma

rsimmons
Splunk Employee
Splunk Employee

On the 1.3 PDF App, it has the latest version of httplib2-0.4.0-4.el5, which added a new argument called "disable_ssl_certificate_validation". Unfortunately, it defaults to false and requires that you set up a list of trusted cert providers to by pass this error.

Go to this url http://httplib2.googlecode.com/hg/python2/httplib2/cacerts.txt save the contents to a txt format and place it copy under /opt/splunk/lib/python2.7/site-packages/httplib2/cacerts.txt. This list of cacerts will let you bypass the error message.

smackdaddyau
New Member

So - how do you fix this?

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 ...