<?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 Re: My PDF Server doesn´t run in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/My-PDF-Server-doesn-t-run/m-p/55959#M7205</link>
    <description>&lt;P&gt;Bumping this thread because I'm running into the same problem as the OP.&lt;/P&gt;

&lt;P&gt;When trying the status page on the PDF Report Server console, I am getting this (&lt;STRONG&gt;error: [Errno 104] Connection reset by peer&lt;/STRONG&gt;), but when I am on a remote console which is going to be using this one for PDF delivery, I am receiving &lt;STRONG&gt;error: [Errno 10054] An existing connection was forcibly closed by the remote host&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I am running RHEL6 32bit&lt;BR /&gt;
I have installed xorg-x11-server-Xvfb, xorg-x11-xauth, bitstream-vera-fonts&lt;/P&gt;

&lt;P&gt;Does anyone have any ideas?&lt;/P&gt;</description>
    <pubDate>Fri, 10 Feb 2012 17:34:04 GMT</pubDate>
    <dc:creator>ARothman</dc:creator>
    <dc:date>2012-02-10T17:34:04Z</dc:date>
    <item>
      <title>My PDF Server doesn´t run</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/My-PDF-Server-doesn-t-run/m-p/55958#M7204</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;
I´ve just installed the PDF Server app in my Splunk server (with all roles in the same server) and, after following the configuration steps that the documentation recommends, the test page for the PDF response ('status page' in Manager » System settings » Email alert settings) shows problems with the next description:&lt;BR /&gt;
- PDF server is installed True &lt;BR /&gt;
- PDF server is enabled True &lt;BR /&gt;
- SMTP server set True &lt;BR /&gt;
500 Internal Server Error&lt;BR /&gt;
error: [Errno 104] Connection reset by peer&lt;/P&gt;

&lt;P&gt;I have got a detailed debug obtained following the documentation indications, but I don´t detect what´s my problem.&lt;BR /&gt;
Please, could you check it? The debug is at the bottom of this description.&lt;/P&gt;

&lt;P&gt;Thank you very much.&lt;/P&gt;

&lt;P&gt;COMPLETE DEBUG OUTPUT&lt;BR /&gt;
Python Traceback&lt;/P&gt;

&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/site-packages/cherrypy/&lt;EM&gt;cprequest.py", line 606, in respond&lt;BR /&gt;
    cherrypy.response.body = self.handler()&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/site-packages/cherrypy/_cpdispatch.py", line 25, in __call&lt;/EM&gt;_&lt;BR /&gt;
    return self.callable(*self.args, **self.kwargs)&lt;BR /&gt;
  File "&lt;STRING&gt;", line 1, in &lt;LAMBDA&gt;&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 38, in rundecs&lt;BR /&gt;
    return fn(*a, **kw)&lt;BR /&gt;
  File "&lt;STRING&gt;", line 1, in &lt;LAMBDA&gt;&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 106, in check&lt;BR /&gt;
    return fn(self, *a, **kw)&lt;BR /&gt;
  File "&lt;STRING&gt;", line 1, in &lt;LAMBDA&gt;&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 155, in validate_ip&lt;BR /&gt;
    return fn(self, *a, **kw)&lt;BR /&gt;
  File "&lt;STRING&gt;", line 1, in &lt;LAMBDA&gt;&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 290, in preform_sso_check&lt;BR /&gt;
    return fn(self, *a, **kw)&lt;BR /&gt;
  File "&lt;STRING&gt;", line 1, in &lt;LAMBDA&gt;&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 327, in check_login&lt;BR /&gt;
    return fn(self, *a, **kw)&lt;BR /&gt;
  File "&lt;STRING&gt;", line 1, in &lt;LAMBDA&gt;&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 348, in handle_exceptions&lt;BR /&gt;
    return fn(self, *a, **kw)&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/controllers/debug.py", line 417, in pdf_echo_loopback&lt;BR /&gt;
    serverResponse, serverContent = h.request(pdfServerUri, method='POST', body=urllib.urlencode(args))&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/site-packages/httplib2/&lt;STRONG&gt;init&lt;/STRONG&gt;.py", line 1068, in request&lt;BR /&gt;
    (response, content) = self.&lt;EM&gt;request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/site-packages/httplib2/&lt;/EM&gt;&lt;EM&gt;init&lt;/EM&gt;&lt;EM&gt;.py", line 872, in _request&lt;BR /&gt;
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/site-packages/httplib2/&lt;/EM&gt;&lt;EM&gt;init&lt;/EM&gt;_.py", line 842, in _conn_request&lt;BR /&gt;
    response = conn.getresponse()&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/httplib.py", line 1000, in getresponse&lt;BR /&gt;
    response.begin()&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/httplib.py", line 391, in begin&lt;BR /&gt;
    version, status, reason = self._read_status()&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/httplib.py", line 349, in _read_status&lt;BR /&gt;
    line = self.fp.readline()&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/socket.py", line 397, in readline&lt;BR /&gt;
    data = recv(1)&lt;BR /&gt;
error: [Errno 104] Connection reset by peer&lt;/LAMBDA&gt;&lt;/STRING&gt;&lt;/LAMBDA&gt;&lt;/STRING&gt;&lt;/LAMBDA&gt;&lt;/STRING&gt;&lt;/LAMBDA&gt;&lt;/STRING&gt;&lt;/LAMBDA&gt;&lt;/STRING&gt;&lt;/LAMBDA&gt;&lt;/STRING&gt;&lt;/P&gt;

&lt;P&gt;Appserver configuration&lt;/P&gt;

&lt;P&gt;DISPATCH_TIME_FORMAT:   %s.%Q&lt;BR /&gt;
SSOMode:    permissive&lt;BR /&gt;
_push_version:  0&lt;BR /&gt;
build_number:   101277&lt;BR /&gt;
caCertPath: etc/auth/splunkweb/cert.pem&lt;BR /&gt;
cpu_arch:   x86_64&lt;BR /&gt;
docsCheckerBaseURL: &lt;A href="https://quickdraw.splunk.com/help" target="_blank"&gt;https://quickdraw.splunk.com/help&lt;/A&gt;&lt;BR /&gt;
enableSplunkWebSSL: 0&lt;BR /&gt;
enable_autocomplete_login:  False&lt;BR /&gt;
enable_gzip:    True&lt;BR /&gt;
enable_insecure_login:  False&lt;BR /&gt;
enable_proxy_write: False&lt;BR /&gt;
enabled_decomposers:    plot&lt;BR /&gt;
engine.autoreload_on:   False&lt;BR /&gt;
error_page.default: &lt;FUNCTION handleerror="" at="" 0x1a462cf8=""&gt;&lt;BR /&gt;
etc_path:   /opt/splunk/etc&lt;BR /&gt;
flash_major_version:    9&lt;BR /&gt;
flash_minor_version:    0&lt;BR /&gt;
flash_revision_version: 124&lt;BR /&gt;
guid:   74B1FD46-9A86-463C-AD88-39F3C3F7DE35&lt;BR /&gt;
httpport:   8000&lt;BR /&gt;
is_free_license:    False&lt;BR /&gt;
is_trial_license:   False&lt;BR /&gt;
is_version_initted: True&lt;BR /&gt;
js_logger_mode: None&lt;BR /&gt;
js_logger_mode_server_end_point:    util/log/js&lt;BR /&gt;
js_logger_mode_server_max_buffer:   100&lt;BR /&gt;
js_logger_mode_server_poll_buffer:  1000&lt;BR /&gt;
js_no_cache:    False&lt;BR /&gt;
license_state:  OK&lt;BR /&gt;
log.access_maxfiles:    5&lt;BR /&gt;
log.access_maxsize: 25000000&lt;BR /&gt;
log.error_maxfiles: 5&lt;BR /&gt;
log.error_maxsize:  25000000&lt;BR /&gt;
log.screen: True&lt;BR /&gt;
login_content:&lt;BR /&gt;&lt;BR /&gt;
mako_cache_path:    /opt/splunk/var/run/splunk/mako_cache&lt;BR /&gt;
mgmtHostPort:   127.0.0.1:8089&lt;BR /&gt;
minify_css: True&lt;BR /&gt;
minify_js:  True&lt;BR /&gt;
module_dir: share/splunk/search_mrsparkle/modules&lt;BR /&gt;
mrsparkle_path: /opt/splunk/share/search/mrsparkle&lt;BR /&gt;
os_name:    Linux&lt;BR /&gt;
privKeyPath:    etc/auth/splunkweb/privkey.pem&lt;BR /&gt;
remoteUser: REMOTE_USER&lt;BR /&gt;
request.show_tracebacks:    True&lt;BR /&gt;
response.timeout:   7200&lt;BR /&gt;
root_endpoint:  /&lt;BR /&gt;
rss_endpoint:   /rss&lt;BR /&gt;
server.max_request_body_size:   524288000&lt;BR /&gt;
server.socket_host: 0.0.0.0&lt;BR /&gt;
server.socket_port: 8000&lt;BR /&gt;
serviceFormPostURL: &lt;A href="http://headlamp.splunk.com/event/add" target="_blank"&gt;http://headlamp.splunk.com/event/add&lt;/A&gt;&lt;BR /&gt;
site_packages_path: /opt/splunk/lib/python2.6/site-packages&lt;BR /&gt;
splunkdTrustedIP:   None&lt;BR /&gt;
ssl_certificate_data:&lt;BR /&gt;&lt;BR /&gt;
start_time: 1312978127.82&lt;BR /&gt;
startwebserver: 1&lt;BR /&gt;
static_dir: share/splunk/search_mrsparkle/exposed&lt;BR /&gt;
static_endpoint:    /static&lt;BR /&gt;
staticdir:  /opt/splunk/share/splunk/search_mrsparkle/exposed&lt;BR /&gt;
supportSSLV3Only:   False&lt;BR /&gt;
template_dir:   share/splunk/search_mrsparkle/templates&lt;BR /&gt;
testing_dir:    share/splunk/testing&lt;BR /&gt;
testing_endpoint:   /testing&lt;BR /&gt;
tools.decode.on:    True&lt;BR /&gt;
tools.encode.encoding:  utf-8&lt;BR /&gt;
tools.encode.on:    True&lt;BR /&gt;
tools.log_headers.on:   True&lt;BR /&gt;
tools.log_tracebacks.on:    True&lt;BR /&gt;
tools.sessions.name:    session_id_8000&lt;BR /&gt;
tools.sessions.on:  True&lt;BR /&gt;
tools.sessions.storage_path:    /opt/splunk/var/run/splunk&lt;BR /&gt;
tools.sessions.storage_type:    file&lt;BR /&gt;
tools.sessions.timeout: 60&lt;BR /&gt;
tools.trailing_slash.on:    True&lt;BR /&gt;
trap_module_exceptions: True&lt;BR /&gt;
ui_inactivity_timeout:  60&lt;BR /&gt;
updateCheckerBaseURL:   &lt;A href="https://quickdraw.splunk.com/js/" target="_blank"&gt;https://quickdraw.splunk.com/js/&lt;/A&gt;&lt;BR /&gt;
use_future_expires: True&lt;BR /&gt;
userRegistrationURL:    &lt;A href="https://www.splunk.com/index.php/pre_reg?destination=prod_reg" target="_blank"&gt;https://www.splunk.com/index.php/pre_reg?destination=prod_reg&lt;/A&gt;&lt;BR /&gt;
version_label:  4.2.2&lt;BR /&gt;
version_number: 4.2.2&lt;/FUNCTION&gt;&lt;/P&gt;

&lt;P&gt;Client request headers&lt;/P&gt;

&lt;P&gt;Accept: text/html,application/xhtml+xml,application/xml;q=0.9,&lt;EM&gt;/&lt;/EM&gt;;q=0.8&lt;BR /&gt;
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7&lt;BR /&gt;
Accept-Encoding:    gzip,deflate&lt;BR /&gt;
Accept-Language:    es-es,es;q=0.8,en-us;q=0.5,en;q=0.3&lt;BR /&gt;
Connection: keep-alive&lt;BR /&gt;
Cookie: session_id_8000=2457161abd636d17cdb104a9e579050c797b9ff2&lt;BR /&gt;
Host:   127.0.0.1:8000&lt;BR /&gt;
Keep-Alive: 115&lt;BR /&gt;
Referer:    &lt;A href="http://127.0.0.1:8000/en-US/debug/pdf" target="_blank"&gt;http://127.0.0.1:8000/en-US/debug/pdf&lt;/A&gt;&lt;BR /&gt;
Remote-Addr:    127.0.0.1&lt;BR /&gt;
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; es-ES; rv:1.9.2.18) Gecko/20110622 CentOS/3.6-1.el5.centos Firefox/3.6.18&lt;/P&gt;

&lt;P&gt;WSGI environment&lt;/P&gt;

&lt;P&gt;ACTUAL_SERVER_PROTOCOL: HTTP/1.1&lt;BR /&gt;
HTTP_ACCEPT:    text/html,application/xhtml+xml,application/xml;q=0.9,&lt;EM&gt;/&lt;/EM&gt;;q=0.8&lt;BR /&gt;
HTTP_ACCEPT_CHARSET:    ISO-8859-1,utf-8;q=0.7,*;q=0.7&lt;BR /&gt;
HTTP_ACCEPT_ENCODING:   gzip,deflate&lt;BR /&gt;
HTTP_ACCEPT_LANGUAGE:   es-es,es;q=0.8,en-us;q=0.5,en;q=0.3&lt;BR /&gt;
HTTP_CONNECTION:    keep-alive&lt;BR /&gt;
HTTP_COOKIE:    session_id_8000=2457161abd636d17cdb104a9e579050c797b9ff2&lt;BR /&gt;
HTTP_HOST:  127.0.0.1:8000&lt;BR /&gt;
HTTP_KEEP_ALIVE:    115&lt;BR /&gt;
HTTP_REFERER:   &lt;A href="http://127.0.0.1:8000/en-US/debug/pdf" target="_blank"&gt;http://127.0.0.1:8000/en-US/debug/pdf&lt;/A&gt;&lt;BR /&gt;
HTTP_USER_AGENT:    Mozilla/5.0 (X11; U; Linux x86_64; es-ES; rv:1.9.2.18) Gecko/20110622 CentOS/3.6-1.el5.centos Firefox/3.6.18&lt;BR /&gt;
PATH_INFO:  /en-US/debug/pdf_echo_loopback&lt;BR /&gt;
QUERY_STRING:&lt;BR /&gt;&lt;BR /&gt;
REMOTE_ADDR:    127.0.0.1&lt;BR /&gt;
REMOTE_PORT:    46402&lt;BR /&gt;
REQUEST_METHOD: GET&lt;BR /&gt;
SCRIPT_NAME:&lt;BR /&gt;&lt;BR /&gt;
SERVER_NAME:    0.0.0.0&lt;BR /&gt;
SERVER_PORT:    8000&lt;BR /&gt;
SERVER_PROTOCOL:    HTTP/1.1&lt;BR /&gt;
SERVER_SOFTWARE:    CherryPy/3.1.2 WSGI Server&lt;BR /&gt;
wsgi.errors:    &lt;OPEN file=""&gt;', mode 'w' at 0x2b6d0ca121c8&amp;gt;&lt;BR /&gt;
wsgi.input: &lt;CHERRYPY.WSGISERVER.SIZECHECKWRAPPER object="" at="" 0x1a58ced0=""&gt;&lt;BR /&gt;
wsgi.multiprocess:  False&lt;BR /&gt;
wsgi.multithread:   True&lt;BR /&gt;
wsgi.run_once:  False&lt;BR /&gt;
wsgi.url_scheme:    http&lt;BR /&gt;
wsgi.version:   (1, 0)&lt;/CHERRYPY.WSGISERVER.SIZECHECKWRAPPER&gt;&lt;/OPEN&gt;&lt;/P&gt;

&lt;P&gt;Platform&lt;/P&gt;

&lt;P&gt;Linux&lt;BR /&gt;
splunkssd.exn.local&lt;BR /&gt;
2.6.18-238.19.1.el5&lt;/P&gt;

&lt;H1&gt;1 SMP Fri Jul 15 07:31:24 EDT 2011&lt;/H1&gt;

&lt;P&gt;x86_64&lt;BR /&gt;
x86_64&lt;/P&gt;

&lt;P&gt;You are using 127.0.0.1:8000, which is connected to splunkd @101277 at &lt;A href="https://127.0.0.1:8089" target="_blank"&gt;https://127.0.0.1:8089&lt;/A&gt; on Wed Aug 10 14:11:13 2011.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:47:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/My-PDF-Server-doesn-t-run/m-p/55958#M7204</guid>
      <dc:creator>albertoperez</dc:creator>
      <dc:date>2020-09-28T09:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: My PDF Server doesn´t run</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/My-PDF-Server-doesn-t-run/m-p/55959#M7205</link>
      <description>&lt;P&gt;Bumping this thread because I'm running into the same problem as the OP.&lt;/P&gt;

&lt;P&gt;When trying the status page on the PDF Report Server console, I am getting this (&lt;STRONG&gt;error: [Errno 104] Connection reset by peer&lt;/STRONG&gt;), but when I am on a remote console which is going to be using this one for PDF delivery, I am receiving &lt;STRONG&gt;error: [Errno 10054] An existing connection was forcibly closed by the remote host&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I am running RHEL6 32bit&lt;BR /&gt;
I have installed xorg-x11-server-Xvfb, xorg-x11-xauth, bitstream-vera-fonts&lt;/P&gt;

&lt;P&gt;Does anyone have any ideas?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 17:34:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/My-PDF-Server-doesn-t-run/m-p/55959#M7205</guid>
      <dc:creator>ARothman</dc:creator>
      <dc:date>2012-02-10T17:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: My PDF Server doesn´t run</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/My-PDF-Server-doesn-t-run/m-p/55960#M7206</link>
      <description>&lt;P&gt;Not sure if this will help, but the PDF Server topic in the Troubleshooting Manual (&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Troubleshooting/PDFTS" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Troubleshooting/PDFTS&lt;/A&gt; ) includes the following information:&lt;/P&gt;

&lt;P&gt;"The hostname parameter in the alert_actions.conf email stanza dictates the address used for calling the app server. This host/address must resolve on the local/remote system. If it doesn't resolve, you might see a "connection refused" error. If you specify a host name in the email settings configuration, alert_actions.conf, or in a specific alert in action.email.hostname, the host name must resolve on both the local Splunk node, and on the PDF server. If you do not specify a host name, the host name returned by the local operating system must similarly resolve."&lt;/P&gt;

&lt;P&gt;Also: are you using the latest version of the PDF Server (v. 1.3)?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:23:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/My-PDF-Server-doesn-t-run/m-p/55960#M7206</guid>
      <dc:creator>ChrisG</dc:creator>
      <dc:date>2020-09-28T11:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: My PDF Server doesn´t run</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/My-PDF-Server-doesn-t-run/m-p/55961#M7207</link>
      <description>&lt;P&gt;Ahh, okay.  This makes sense... so I was pointing it to &lt;A href="http://myipaddress:8089/"&gt;http://myipaddress:8089/&lt;/A&gt; (when it should have been &lt;A href="https://myipaddress:8089/"&gt;https://myipaddress:8089/&lt;/A&gt;) and it was returning a connection refused.  I was confused by this because Chrome was auto-filling in https instead of http.&lt;/P&gt;

&lt;P&gt;Problem I appear to be having now is that I'm getting &lt;STRONG&gt;Timed out while waiting for a response&lt;/STRONG&gt; in the blue status box instead of the connection refused.  As per my above post, I have made sure the required components are installed on the box.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 21:08:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/My-PDF-Server-doesn-t-run/m-p/55961#M7207</guid>
      <dc:creator>ARothman</dc:creator>
      <dc:date>2012-02-10T21:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: My PDF Server doesn´t run</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/My-PDF-Server-doesn-t-run/m-p/55962#M7208</link>
      <description>&lt;P&gt;Thank you. I´ll check it if I can, although this project was stopped due to several issues without clear documentation and support.&lt;BR /&gt;
It´s a pity, the product idea is great.&lt;/P&gt;

&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2012 09:37:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/My-PDF-Server-doesn-t-run/m-p/55962#M7208</guid>
      <dc:creator>albertoperez</dc:creator>
      <dc:date>2012-02-13T09:37:45Z</dc:date>
    </item>
  </channel>
</rss>

