Reporting

When generating a PDF the user got the following error message - <urlopen error [Errno 2] Temporary failure in name resolution>

rsimmons
Splunk Employee
Splunk Employee

An error occurred while generating a PDF of this report: Failed to fetch PDF from appserver at http://splunk.dcc.fexco.ie:8000/en-US/report/:

python.log shows:

2010-08-25 14:16:29,454 ERROR An error occurred while generating a PDF of this report: Failed to fetch PDF from appserver at http://splunk.dcc.fexco.ie:8000/en-US/report/: <urlopen error [Errno 2] Temporary failure in name resolution>  
2010-08-25 14:17:09,458 ERROR An error occurred while generating a PDF of this report: Failed to fetch PDF from appserver at http://splunk.dcc.fexco.ie:8000/en-US/report/: <urlopen error [Errno 2] Temporary failure in name resolution>  

When I tried using both the hostname & the ip of the remote splunk server in the reportServerURL. The file, /Applications/splunk4/etc/system/local/alert_actions.conf currently looks as follows:

[email]
inline = 0
reportServerEnabled = 1
reportServerURL = https://adtest.dcc.fexco.ie:8089/services/pdfserver/renderpdf

it still isn't working. What could be the issue?

Tags (1)
1 Solution

rsimmons
Splunk Employee
Splunk Employee

Normally when a user gets this error it means which ever hostname they put in for the link hostname it wasn't resolvable. It could be

  1. a typo

  2. an issue with the dns setup not being setup properly on this machine that the app is installed on.

View solution in original post

rsimmons
Splunk Employee
Splunk Employee

Normally when a user gets this error it means which ever hostname they put in for the link hostname it wasn't resolvable. It could be

  1. a typo

  2. an issue with the dns setup not being setup properly on this machine that the app is installed on.

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