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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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