<?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: Report Capture app for Splunk: Exception capturing page: Output file missing post-capture (incorrect http/https sett in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Report-Capture-app-for-Splunk-Exception-capturing-page-Output/m-p/521094#M63553</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Could you tell me please what is the name of this other app ?&lt;/P&gt;&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Sep 2020 15:26:01 GMT</pubDate>
    <dc:creator>splunk31370</dc:creator>
    <dc:date>2020-09-23T15:26:01Z</dc:date>
    <item>
      <title>Report Capture app for Splunk: Exception capturing page: Output file missing post-capture (incorrect http/https setting?)</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Report-Capture-app-for-Splunk-Exception-capturing-page-Output/m-p/402977#M49191</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;I'm trying to get this app &lt;A href="https://splunkbase.splunk.com/app/4132/"&gt;https://splunkbase.splunk.com/app/4132/&lt;/A&gt; version &lt;CODE&gt;0.8.6&lt;/CODE&gt; working. &lt;/P&gt;

&lt;P&gt;After starting the app and selecting a report to capture:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6847i55A5479D8DC17614/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;BR /&gt;
I get the following error message:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Oops, something went wrong!


The following error-messages were found: 
Failed to create report-capture:
Exception capturing page:
Output file missing post-capture (incorrect http/https setting?)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;here are the current &lt;CODE&gt;local/repcap.conf&lt;/CODE&gt; settings:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[repcap]
# Logging level (info/warn/error/debug)
# Note: Unless really required, leave at debug
loglevel = debug

# Connection protocol (http or https)
# Note: This should match your Splunk server mode, or expect failures
conn_proto = https
conn_host = &amp;lt;myServerIPHere&amp;gt;
rest_scripted_enabled = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is the log file while trying the capture:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2019-04-09 13:45:36,262 DEBUG Incoming UI capture request from michael.uschmann
2019-04-09 13:45:36,357 DEBUG Parsing REST parameters
2019-04-09 13:45:36,358 DEBUG Adding the following to the request options: d_method: email
2019-04-09 13:45:36,358 DEBUG Adding the following to the request options: c_wait: 60
2019-04-09 13:45:36,358 DEBUG Adding the following to the request options: c_url: /app/repcap/report?s=XXX - Monthly Graphs - License
2019-04-09 13:45:36,358 DEBUG Adding the following to the request options: e_to: michael.uschmann@xxx.xxx
2019-04-09 13:45:36,358 DEBUG Adding the following to the request options: p_size: A4
2019-04-09 13:45:36,358 DEBUG Adding the following to the request options: c_user: smart-pdf
2019-04-09 13:45:36,359 DEBUG Adding the following to the request options: p_orient: portrait
2019-04-09 13:45:36,359 DEBUG Adding the following to the request options: f_type: png
2019-04-09 13:45:36,359 DEBUG Adding the following to the request options: f_name: XXX - Monthly Graphs - License
2019-04-09 13:45:36,359 DEBUG Validating parameters
2019-04-09 13:45:36,360 DEBUG End of validation steps
2019-04-09 13:45:36,361 DEBUG Parameters validated
2019-04-09 13:45:36,361 DEBUG Determining output screen-size
2019-04-09 13:45:36,361 DEBUG Determing output email-addresses
2019-04-09 13:45:36,361 DEBUG Retrieving user credentials
2019-04-09 13:45:36,371 DEBUG Generating output filenames
2019-04-09 13:45:36,372 DEBUG Creating temporary folder: /opt/splunk/etc/apps/repcap/temp/1554774336.37-7016-michael.uschmann
2019-04-09 13:45:36,372 DEBUG Request options begin
2019-04-09 13:45:36,372 DEBUG REST:      c_panel: None
2019-04-09 13:45:36,372 DEBUG REST:        c_url: &lt;A href="https://IP:8000/app/repcap/report?s=XXX" target="test_blank"&gt;https://IP:8000/app/repcap/report?s=XXX&lt;/A&gt; - Monthly Graphs - License
2019-04-09 13:45:36,373 DEBUG REST:       c_user: smart-pdf
2019-04-09 13:45:36,373 DEBUG REST:       c_wait: 60
2019-04-09 13:45:36,373 DEBUG REST:     d_method: email
2019-04-09 13:45:36,373 DEBUG REST:         e_to: michael.uschmann@xxx.xxx
2019-04-09 13:45:36,373 DEBUG REST:       f_name: XXX- Monthly Graphs - License
2019-04-09 13:45:36,373 DEBUG REST:       f_type: png
2019-04-09 13:45:36,373 DEBUG REST:     p_orient: portrait
2019-04-09 13:45:36,373 DEBUG REST:       p_size: A4
2019-04-09 13:45:36,373 DEBUG REST:      s_hidpi: True
2019-04-09 13:45:36,373 DEBUG REST:       s_zoom: 1.0
2019-04-09 13:45:36,374 DEBUG Task: capture_user: smart-pdf
2019-04-09 13:45:36,374 DEBUG Task:   email_to: ['michael.uschmann@xxx.xxx']
2019-04-09 13:45:36,374 DEBUG Task: output_img: /opt/splunk/etc/apps/repcap/temp/1554774336.37-7016-michael.uschmann/XXX - Monthly Graphs - License.png
2019-04-09 13:45:36,374 DEBUG Task: output_pdf: /opt/splunk/etc/apps/repcap/temp/1554774336.37-7016-michael.uschmann/XXX - Monthly Graphs - License.pdf
2019-04-09 13:45:36,374 DEBUG Task: screen_height: 1754
2019-04-09 13:45:36,374 DEBUG Task: screen_width: 1240
2019-04-09 13:45:36,374 DEBUG Capturing page
2019-04-09 13:45:36,375 DEBUG Executing command: ['/opt/casperjs/bin/casperjs', '--ignore-ssl-errors=true', '/opt/splunk/etc/apps/repcap/static/screenshot.js', '-url', 'https://IP:8000/app/repcap/report?s=XXX - Monthly Graphs - License', '-file', '/opt/splunk/etc/apps/repcap/temp/1554774336.37-7016-michael.uschmann/XXX_-_Monthly_Graphs_-_License.png', '-screen_height', '1754', '-screen_width', '1240', '-screen_hidpi', 'True', '-screen_zoom', '1.0', '-wait', '60', '-username', 'smart-pdf', '-password', '********']
2019-04-09 13:46:41,493 DEBUG Command Output:
[debug] [phantom] Setting default options
[debug] [phantom] Parsing CLI arguments
[debug] [phantom] Checking required options are present and valid
[debug] [phantom] Settings Begin
[debug] [phantom] - file: /opt/splunk/etc/apps/repcap/temp/1554774336.37-7016-michael.uschmann/XXX_-_Monthly_Graphs_-_License.png
[debug] [phantom] - password: ********
[debug] [phantom] - screen_height: 1754
[debug] [phantom] - screen_hidpi: true
[debug] [phantom] - screen_width: 1240
[debug] [phantom] - screen_zoom: 1
[debug] [phantom] - url: &lt;A href="https://IP:8000/app/repcap/report?s=XXX" target="test_blank"&gt;https://IP:8000/app/repcap/report?s=XXX&lt;/A&gt; - Monthly Graphs - License
[debug] [phantom] - username: smart-pdf
[debug] [phantom] - wait: 60
[debug] [phantom] Settings End
[debug] [phantom] Creating Casper object
[debug] [phantom] Performing Splunk authentication
[info] [phantom] Starting...
[debug] [phantom] Configuring pixel-ratio (HiDPI)
[debug] [phantom] Preparing capture job
[debug] [phantom] Beginning capture job
[info] [phantom] Running suite: 3 steps
[debug] [phantom] opening url: &lt;A href="https://IP:8000/app/repcap/report?s=XXX%20-%20Monthly%20Graphs%20-%20License" target="test_blank"&gt;https://IP:8000/app/repcap/report?s=XXX%20-%20Monthly%20Graphs%20-%20License&lt;/A&gt;, HTTP GET
[debug] [phantom] Navigation requested: url=https://IP:8000/app/repcap/report?s=XXX - Monthly Graphs - License, type=Other, willNavigate=true, isMainFrame=true
[warning] [phantom] Loading resource failed with status=fail: &lt;A href="https://IP:8000/app/repcap/report?s=XXX" target="test_blank"&gt;https://IP:8000/app/repcap/report?s=XXX&lt;/A&gt; - Monthly Graphs - License
[debug] [phantom] Successfully injected Casper client-side utilities
[info] [phantom] Step anonymous 2/3: done in 116ms.
[info] [phantom] Step _step 3/4: done in 136ms.
[warning] [phantom] Casper.waitFor() timeout
[error] [phantom] Wait timeout of 60000ms expired, exiting.
Wait timeout of 60000ms expired, exiting.
Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL file:///opt/casperjs/bin/bootstrap.js. Domains, protocols and ports must match.

Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL file:///opt/casperjs/bin/bootstrap.js. Domains, protocols and ports must match.

Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL file:///opt/casperjs/bin/bootstrap.js. Domains, protocols and ports must match.


2019-04-09 13:46:41,494 ERROR Output file missing post-capture (incorrect http/https setting?)
2019-04-09 13:46:41,494 ERROR Exception capturing page: Output file missing post-capture (incorrect http/https setting?)
2019-04-09 13:46:41,494 ERROR Failed to create report-capture: Exception capturing page: Output file missing post-capture (incorrect http/https setting?)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I can see that it tell me the resource failed to load:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[debug] [phantom] Navigation requested: url=https://IP:8000/app/repcap/report?s=XXX - Monthly Graphs - License, type=Other, willNavigate=true, isMainFrame=true
[warning] [phantom] Loading resource failed with status=fail: &lt;A href="https://IP:8000/app/repcap/report?s=XXX" target="test_blank"&gt;https://IP:8000/app/repcap/report?s=XXX&lt;/A&gt; - Monthly Graphs - License
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But the server is on https, running on port 8000, the report exists, and is readable for the user &lt;CODE&gt;smart-pdf&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Any idea what could be the problem here?&lt;/P&gt;

&lt;P&gt;Thanks, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 02:08:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Report-Capture-app-for-Splunk-Exception-capturing-page-Output/m-p/402977#M49191</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2019-04-09T02:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Report Capture app for Splunk: Exception capturing page: Output file missing post-capture (incorrect http/https setting?)</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Report-Capture-app-for-Splunk-Exception-capturing-page-Output/m-p/402978#M49192</link>
      <description>&lt;P&gt;Mus,&lt;/P&gt;

&lt;P&gt;did you find the solution?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 21:03:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Report-Capture-app-for-Splunk-Exception-capturing-page-Output/m-p/402978#M49192</guid>
      <dc:creator>carlosdesousa91</dc:creator>
      <dc:date>2020-02-19T21:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Report Capture app for Splunk: Exception capturing page: Output file missing post-capture (incorrect http/https setting?)</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Report-Capture-app-for-Splunk-Exception-capturing-page-Output/m-p/402979#M49193</link>
      <description>&lt;P&gt;Nope, &lt;/P&gt;

&lt;P&gt;I'm working on another app that will achieve the same, so watch this space &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 21:06:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Report-Capture-app-for-Splunk-Exception-capturing-page-Output/m-p/402979#M49193</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2020-02-19T21:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Report Capture app for Splunk: Exception capturing page: Output file missing post-capture (incorrect http/https setting?)</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Report-Capture-app-for-Splunk-Exception-capturing-page-Output/m-p/402980#M49194</link>
      <description>&lt;P&gt;thanks a lot!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 21:10:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Report-Capture-app-for-Splunk-Exception-capturing-page-Output/m-p/402980#M49194</guid>
      <dc:creator>carlosdesousa91</dc:creator>
      <dc:date>2020-02-19T21:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Report Capture app for Splunk: Exception capturing page: Output file missing post-capture (incorrect http/https setting?)</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Report-Capture-app-for-Splunk-Exception-capturing-page-Output/m-p/402981#M49195</link>
      <description>&lt;P&gt;Hi MuS,&lt;/P&gt;

&lt;P&gt;I think the issue for you may be that the connection host setting should be 127.0.0.1, not the externally accessible IP of the server.&lt;/P&gt;

&lt;P&gt;However I still get issues with this application missing panels and generally not working very well with pdfs.  I am curious if you had made any progress on your take on this concept?  I would love to beta test anything you've been developing as this functionality has become a growing need in our organization.  I'm curious if you could share anything at this time.  Thanks for your consideration!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 18:34:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Report-Capture-app-for-Splunk-Exception-capturing-page-Output/m-p/402981#M49195</guid>
      <dc:creator>centrafraserk</dc:creator>
      <dc:date>2020-02-27T18:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Report Capture app for Splunk: Exception capturing page: Output file missing post-capture (incorrect http/https sett</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Report-Capture-app-for-Splunk-Exception-capturing-page-Output/m-p/521094#M63553</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Could you tell me please what is the name of this other app ?&lt;/P&gt;&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 15:26:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Report-Capture-app-for-Splunk-Exception-capturing-page-Output/m-p/521094#M63553</guid>
      <dc:creator>splunk31370</dc:creator>
      <dc:date>2020-09-23T15:26:01Z</dc:date>
    </item>
  </channel>
</rss>

