Hi
I have set-up a scheduled pdf report to be emailed of a complex dashboard with several graphs, unfortunately I keep getting a timeout error
I have increased the timeout on the pdfserver in the pdf_server.conf file to 600s which hasn't helped.
firefox_timeout = 600
The dashboard takes about 2 minutes to display. A simple dashboard with a single graph works perfectly so I'm sure the rest of the config is okay.
What I did notice however is that I receive the email, with the following error about a minute after the report was scheduled:
Scheduled view delivery.
A PDF snapshot has been generated for the view: splunk_license_usage.
An error occurred while generating a PDF of this report:
Failed to generate PDF: Appserver failed to dispatch report request to https://10.217.225.93:8089/services/pdfserver/renderpdf: Splunkd daemon is not responding: ('The read operation timed out',)
It would seem there's another timeout occurring between the application server and the pdfserver?
Any ideas where that needs to be set?
Here's the log entry for the report creation, from python.log on the pdfserver:
2012-01-31 11:15:16,343 INFO pdfhandler:646 - Starting PDF App Renderer Version 1.3
2012-01-31 11:15:16,343 INFO Starting PDF App Renderer Version 1.3
2012-01-31 11:15:16,362 INFO xvfb:45 - Started new X server. Now 1 active
2012-01-31 11:15:16,362 INFO Started new X server. Now 1 active
2012-01-31 11:15:16,363 INFO pdfhandler:558 - Executing /app/splunk/etc/apps/pdfserver/bin/firefox-x86_64/firefox -print http://nidsplunk01:8000/app/splunk_license_usage/splunk_license_usage -printmode pdf -printfile /tmp/tmpONGvN9 -title Splunk Alert: splunk_license_usage -orientation portrait -paperwidth 219 -paperheight 297 -mode splunk -timeout 600 -windowsize 793x768 -footer_right Generated by Splunk at &D -cookie session_id_8000=9c5513f742a59d0661e61216c98950ce1a238531
2012-01-31 11:15:16,363 INFO Executing /app/splunk/etc/apps/pdfserver/bin/firefox-x86_64/firefox -print http://nidsplunk01:8000/app/splunk_license_usage/splunk_license_usage -printmode pdf -printfile /tmp/tmpONGvN9 -title Splunk Alert: splunk_license_usage -orientation portrait -paperwidth 219 -paperheight 297 -mode splunk -timeout 600 -windowsize 793x768 -footer_right Generated by Splunk at &D -cookie session_id_8000=9c5513f742a59d0661e61216c98950ce1a238531
2012-01-31 11:15:16,383 INFO xvfb:205 - Assigned DISPLAY :8
2012-01-31 11:15:16,383 INFO Assigned DISPLAY :8
2012-01-31 11:15:16,384 INFO xvfb:115 - Starting X Server: ['/usr/bin/Xvfb', ':8', '-screen', '0', '3000x768x24', '-nolisten', 'tcp']
2012-01-31 11:15:16,384 INFO Starting X Server: ['/usr/bin/Xvfb', ':8', '-screen', '0', '3000x768x24', '-nolisten', 'tcp']
2012-01-31 11:15:16,384 INFO xvfb:116 - Starting X Server env: {'XAUTHORITY': '/app/splunk/var/run/splunk/xvfb/xauth-8/Xauthority'}
2012-01-31 11:15:16,384 INFO Starting X Server env: {'XAUTHORITY': '/app/splunk/var/run/splunk/xvfb/xauth-8/Xauthority'}
2012-01-31 11:15:18,387 INFO xvfb:122 - X Started
2012-01-31 11:15:18,387 INFO X Started
2012-01-31 11:25:24,490 INFO pdfhandler:628 - Generated pdf file. bytes=57244 time=605.94
2012-01-31 11:25:24,490 INFO Generated pdf file. bytes=57244 time=605.94
2012-01-31 11:25:24,754 WARNING pdfhandler:749 - Firefox timed out while waiting for the report to be rendered - Incomplete snapshot generated
2012-01-31 11:25:24,754 WARNING Firefox timed out while waiting for the report to be rendered - Incomplete snapshot generated
2012-01-31 11:25:24,771 WARNING xvfb:132 - Stopping X Server 8
2012-01-31 11:25:24,771 WARNING Stopping X Server 8
... View more