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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...