<?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: Unable to make javascript examples work on remote computer in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-make-javascript-examples-work-on-remote-computer/m-p/84050#M4539</link>
    <description>&lt;P&gt;Are you sure you have loaded test.browser.html from web server, not using your local file:// -URL? Using local files can not work because single origin policy, ie. javascript can only talk to host where it was loaded from.&lt;/P&gt;

&lt;P&gt;See "Dependencies and cross domain communication" at&lt;BR /&gt;
&lt;BR /&gt;&lt;A href="http://dev.splunk.com/view/splunk-javascript-sdk-getting-started/SP-CAAAEFM"&gt;http://dev.splunk.com/view/splunk-javascript-sdk-getting-started/SP-CAAAEFM&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jul 2012 12:49:40 GMT</pubDate>
    <dc:creator>kallu</dc:creator>
    <dc:date>2012-07-24T12:49:40Z</dc:date>
    <item>
      <title>Unable to make javascript examples work on remote computer</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-make-javascript-examples-work-on-remote-computer/m-p/84047#M4536</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I've downloaded the javascript api, and want to test the client code, to connect to a remote splunk server.&lt;/P&gt;

&lt;P&gt;If I run the splunk-sdk-javascript/tests/tests.browser.html to verify the connection, specify the server name, and port, nothing happends, with a sniffer attached I can see that nothing is send to the server. Same pattern with the other examples.&lt;/P&gt;

&lt;P&gt;Port 8089 is open and accessible, I can connect to it with https in a browser.&lt;/P&gt;

&lt;P&gt;I'm fairly new to splunk, is there something I have missed?&lt;/P&gt;

&lt;P&gt;thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2012 11:52:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-make-javascript-examples-work-on-remote-computer/m-p/84047#M4536</guid>
      <dc:creator>ugavnholt</dc:creator>
      <dc:date>2012-06-26T11:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to make javascript examples work on remote computer</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-make-javascript-examples-work-on-remote-computer/m-p/84048#M4537</link>
      <description>&lt;P&gt;Did you install the xml2json app on the remote server?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2012 01:33:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-make-javascript-examples-work-on-remote-computer/m-p/84048#M4537</guid>
      <dc:creator>ineeman</dc:creator>
      <dc:date>2012-07-12T01:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to make javascript examples work on remote computer</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-make-javascript-examples-work-on-remote-computer/m-p/84049#M4538</link>
      <description>&lt;P&gt;I'm having the same problem. I noticed that the "Run" button has no href.&lt;/P&gt;

&lt;P&gt;&lt;A class="btn success" id="run-button" href="https://community.splunk.com/"&gt;Run&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Have you solved this yet?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jul 2012 12:24:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-make-javascript-examples-work-on-remote-computer/m-p/84049#M4538</guid>
      <dc:creator>terryloar</dc:creator>
      <dc:date>2012-07-24T12:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to make javascript examples work on remote computer</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-make-javascript-examples-work-on-remote-computer/m-p/84050#M4539</link>
      <description>&lt;P&gt;Are you sure you have loaded test.browser.html from web server, not using your local file:// -URL? Using local files can not work because single origin policy, ie. javascript can only talk to host where it was loaded from.&lt;/P&gt;

&lt;P&gt;See "Dependencies and cross domain communication" at&lt;BR /&gt;
&lt;BR /&gt;&lt;A href="http://dev.splunk.com/view/splunk-javascript-sdk-getting-started/SP-CAAAEFM"&gt;http://dev.splunk.com/view/splunk-javascript-sdk-getting-started/SP-CAAAEFM&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jul 2012 12:49:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-make-javascript-examples-work-on-remote-computer/m-p/84050#M4539</guid>
      <dc:creator>kallu</dc:creator>
      <dc:date>2012-07-24T12:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to make javascript examples work on remote computer</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-make-javascript-examples-work-on-remote-computer/m-p/84051#M4540</link>
      <description>&lt;P&gt;Thanks for your help all, I'm sorry to report back on this issue so late, but I found out that I indeed missed xml2json app on the remote server.&lt;/P&gt;

&lt;P&gt;Still though, from the page I'm building, maintaining some sort of connection state is hard, since there is no timeouts, or errors when the server for some reason dies.&lt;/P&gt;

&lt;P&gt;Anybody have some input for this?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2012 08:43:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-make-javascript-examples-work-on-remote-computer/m-p/84051#M4540</guid>
      <dc:creator>ugavnholt</dc:creator>
      <dc:date>2012-07-26T08:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to make javascript examples work on remote computer</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-make-javascript-examples-work-on-remote-computer/m-p/84052#M4541</link>
      <description>&lt;P&gt;Ineeman was spot-on with his answer above, thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2012 08:44:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-make-javascript-examples-work-on-remote-computer/m-p/84052#M4541</guid>
      <dc:creator>ugavnholt</dc:creator>
      <dc:date>2012-07-26T08:44:21Z</dc:date>
    </item>
  </channel>
</rss>

