I'm getting the error "Timed out while waiting for a response" when attempting to generate the test preview on the PDF Server App on Splunk 4.3. I'm baffled as to why this is the case, because, according to python.log, the pdf generation is successful.
2012-02-24 11:26:51,316 DEBUG cli_common:226 - Preloading from '/opt/splunk/var/run/splunk/merged/server.conf'.
2012-02-24 11:26:51,316 DEBUG Preloading from '/opt/splunk/var/run/splunk/merged/server.conf'.
2012-02-24 11:26:51,316 DEBUG cli_common:226 - Preloading from '/opt/splunk/var/run/splunk/merged/web.conf'.
2012-02-24 11:26:51,316 DEBUG Preloading from '/opt/splunk/var/run/splunk/merged/web.conf'.
2012-02-24 11:26:51,429 DEBUG cli_common:229 - Running btool for 'pdf_server.conf'.
2012-02-24 11:26:51,429 DEBUG Running btool for 'pdf_server.conf'.
2012-02-24 11:26:51,628 INFO pdfhandler:646 - Starting PDF App Renderer Version 1.3
2012-02-24 11:26:51,628 INFO Starting PDF App Renderer Version 1.3
2012-02-24 11:26:51,653 WARNING pdfhandler:458 - body=Splunk;4.3;4.3
2012-02-24 11:26:51,653 WARNING body=Splunk;4.3;4.3
2012-02-24 11:26:51,653 WARNING pdfhandler:459 - entries=['Splunk', '4.3', '4.3']
2012-02-24 11:26:51,653 WARNING entries=['Splunk', '4.3', '4.3']
2012-02-24 11:26:51,659 INFO xvfb:45 - Started new X server. Now 1 active
2012-02-24 11:26:51,659 INFO Started new X server. Now 1 active
2012-02-24 11:26:51,659 WARNING pdfhandler:551 - Restricting Firefox to following hosts only: *:53 127.0.0.1
2012-02-24 11:26:51,659 WARNING Restricting Firefox to following hosts only: *:53 127.0.0.1
2012-02-24 11:26:51,659 INFO pdfhandler:558 - Executing /opt/shared/etc/apps/pdfserver/bin/firefox-x86_64/firefox -print http://127.0.0.1:8000/debug/pdf_echo -printmode pdf -printfile /tmp/tmpIcXXwU -title http://127.0.0.1:8000/debug/pdf_echo -orientation portrait -paperwidth 216 -paperheight 279 -mode default -timeout 800 -windowsize 782x768 -cookie session_id_8000=8563e316a641141c2c0e630d599a0777b7e31e41
2012-02-24 11:26:51,659 INFO Executing /opt/shared/etc/apps/pdfserver/bin/firefox-x86_64/firefox -print http://127.0.0.1:8000/debug/pdf_echo -printmode pdf -printfile /tmp/tmpIcXXwU -title http://127.0.0.1:8000/debug/pdf_echo -orientation portrait -paperwidth 216 -paperheight 279 -mode default -timeout 800 -windowsize 782x768 -cookie session_id_8000=8563e316a641141c2c0e630d599a0777b7e31e41
2012-02-24 11:26:51,665 INFO xvfb:205 - Assigned DISPLAY :5
2012-02-24 11:26:51,665 INFO Assigned DISPLAY :5
2012-02-24 11:26:51,666 INFO xvfb:115 - Starting X Server: ['/usr/bin/Xvfb', ':5', '-screen', '0', '3000x768x24', '-nolisten', 'tcp']
2012-02-24 11:26:51,666 INFO Starting X Server: ['/usr/bin/Xvfb', ':5', '-screen', '0', '3000x768x24', '-nolisten', 'tcp']
2012-02-24 11:26:51,666 INFO xvfb:116 - Starting X Server env: {'XAUTHORITY': '/opt/splunk/var/run/splunk/xvfb/xauth-5/Xauthority'}
2012-02-24 11:26:51,666 INFO Starting X Server env: {'XAUTHORITY': '/opt/splunk/var/run/splunk/xvfb/xauth-5/Xauthority'}
2012-02-24 11:26:53,669 INFO xvfb:122 - X Started
2012-02-24 11:26:53,669 INFO X Started
2012-02-24 11:27:12,751 INFO pdfhandler:628 - Generated pdf file. bytes=8802 time=19.08
2012-02-24 11:27:12,751 INFO Generated pdf file. bytes=8802 time=19.08
2012-02-24 11:27:12,761 DEBUG pdfhandler:746 - statuslog: ['startup', 'delayedshow', 'settings', 'print', 'success']
2012-02-24 11:27:12,761 DEBUG statuslog: ['startup', 'delayedshow', 'settings', 'print', 'success']
2012-02-24 11:27:12,761 WARNING xvfb:132 - Stopping X Server 5
2012-02-24 11:27:12,761 WARNING Stopping X Server 5
The only thing unusual about my setup is that the search heads are pooled. I've attempted to change the firefox_timeout variable in pdf_server.conf but that doesn't seem to have changed anything. I've also tried adding the suggested settings:
[settings]
screenshot_enabled = True
restrict_to_splunkweb = False
But I'm still getting the same result.
... View more