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!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...