<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic PDF server: HTTP Error 502: Bad Gateway in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/PDF-server-HTTP-Error-502-Bad-Gateway/m-p/49298#M1018</link>
    <description>&lt;P&gt;I've just started playing around with the PDF server on Splunk 4.1.6, SLES 10.2.&lt;/P&gt;

&lt;P&gt;I added the components mentioned by the docs page, although I'm not entirely sure about the fonts.  I assumed that if the fonts were missing or an issue that I'd see an error message that made that pretty clear.&lt;/P&gt;

&lt;P&gt;After adding the PDF app and configuration the System Settings to use them, I wanted to try this out by generating an hourly PDF from the Search -&amp;gt; Index Activity dashboard.   When I got mail, it said:&lt;/P&gt;

&lt;P&gt;Scheduled view delivery. &lt;/P&gt;

&lt;P&gt;A PDF snapshot has been generated for the view: index_status. &lt;/P&gt;

&lt;P&gt;An error occurred while generating a PDF of this report:
Failed to contact appserver at &lt;A href="http://fsplunk1:8000/en-US/report/" rel="nofollow"&gt;http://fsplunk1:8000/en-US/report/&lt;/A&gt;: HTTP Error 502: Bad Gateway&lt;/P&gt;

&lt;P&gt;When I checked in python.log, it had the same HTTP error in it.  The PDF server is the Splunk server (i.e. it's all local).  If I hit the URL indicated above, it tells me:&lt;/P&gt;

&lt;P&gt;405 Method Not Allowed
Specified method is invalid for this server.&lt;/P&gt;

&lt;P&gt;So I clicked on the Status Page link under E-Mail Alert settings and everything shows up as expected.  (I get the document in IE and I get the download for Firefox).&lt;/P&gt;

&lt;P&gt;What am I missing?  Did I miss a step somewhere?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 24 Feb 2011 06:34:50 GMT</pubDate>
    <dc:creator>mfrost8</dc:creator>
    <dc:date>2011-02-24T06:34:50Z</dc:date>
    <item>
      <title>PDF server: HTTP Error 502: Bad Gateway</title>
      <link>https://community.splunk.com/t5/Reporting/PDF-server-HTTP-Error-502-Bad-Gateway/m-p/49298#M1018</link>
      <description>&lt;P&gt;I've just started playing around with the PDF server on Splunk 4.1.6, SLES 10.2.&lt;/P&gt;

&lt;P&gt;I added the components mentioned by the docs page, although I'm not entirely sure about the fonts.  I assumed that if the fonts were missing or an issue that I'd see an error message that made that pretty clear.&lt;/P&gt;

&lt;P&gt;After adding the PDF app and configuration the System Settings to use them, I wanted to try this out by generating an hourly PDF from the Search -&amp;gt; Index Activity dashboard.   When I got mail, it said:&lt;/P&gt;

&lt;P&gt;Scheduled view delivery. &lt;/P&gt;

&lt;P&gt;A PDF snapshot has been generated for the view: index_status. &lt;/P&gt;

&lt;P&gt;An error occurred while generating a PDF of this report:
Failed to contact appserver at &lt;A href="http://fsplunk1:8000/en-US/report/" rel="nofollow"&gt;http://fsplunk1:8000/en-US/report/&lt;/A&gt;: HTTP Error 502: Bad Gateway&lt;/P&gt;

&lt;P&gt;When I checked in python.log, it had the same HTTP error in it.  The PDF server is the Splunk server (i.e. it's all local).  If I hit the URL indicated above, it tells me:&lt;/P&gt;

&lt;P&gt;405 Method Not Allowed
Specified method is invalid for this server.&lt;/P&gt;

&lt;P&gt;So I clicked on the Status Page link under E-Mail Alert settings and everything shows up as expected.  (I get the document in IE and I get the download for Firefox).&lt;/P&gt;

&lt;P&gt;What am I missing?  Did I miss a step somewhere?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2011 06:34:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/PDF-server-HTTP-Error-502-Bad-Gateway/m-p/49298#M1018</guid>
      <dc:creator>mfrost8</dc:creator>
      <dc:date>2011-02-24T06:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: PDF server: HTTP Error 502: Bad Gateway</title>
      <link>https://community.splunk.com/t5/Reporting/PDF-server-HTTP-Error-502-Bad-Gateway/m-p/49299#M1019</link>
      <description>&lt;P&gt;I was able to fix this on my server by adding the host and port of my splunk server into System Settings -&amp;gt; Email alert settings -&amp;gt; Link hostname. For example, if your pdfserver is installed on splunk.mydomain.com and running on port 8000, you would add splunk.mydomain.com:8000 to that field.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2011 23:02:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/PDF-server-HTTP-Error-502-Bad-Gateway/m-p/49299#M1019</guid>
      <dc:creator>wwwdrich</dc:creator>
      <dc:date>2011-09-21T23:02:18Z</dc:date>
    </item>
  </channel>
</rss>

