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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...