<?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 Javascript SDK browser examples not working:  413 error in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Javascript-SDK-browser-examples-not-working-413-error/m-p/177379#M10967</link>
    <description>&lt;P&gt;When I try to run any of the UI examples in splunk-sdk-javascript-1.2.1, the server returns error 413.  I started the node server: "node sdkdo examples".  Then I ran the timeline UI example in Chrome, after setting the login info to the correct Splunk password and version 6.0.  The developer console in Chrome showed that the http request was:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; localhost:6969/proxy/services/search/jobs/1386894990.1173?output_mode=json
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and the return status was  413 (Request Entity Too Large). So obviously the first http call, to get the SID of the search job, succeeded. If I take the same SID and submit it in the browser like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;localhost:8089/services/search/jobs/1386894990.1173?output_mode=json
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;then the search succeeds and I get valid results back. What's going on?&lt;/P&gt;</description>
    <pubDate>Fri, 13 Dec 2013 00:52:48 GMT</pubDate>
    <dc:creator>mscholtes</dc:creator>
    <dc:date>2013-12-13T00:52:48Z</dc:date>
    <item>
      <title>Javascript SDK browser examples not working:  413 error</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Javascript-SDK-browser-examples-not-working-413-error/m-p/177379#M10967</link>
      <description>&lt;P&gt;When I try to run any of the UI examples in splunk-sdk-javascript-1.2.1, the server returns error 413.  I started the node server: "node sdkdo examples".  Then I ran the timeline UI example in Chrome, after setting the login info to the correct Splunk password and version 6.0.  The developer console in Chrome showed that the http request was:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; localhost:6969/proxy/services/search/jobs/1386894990.1173?output_mode=json
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and the return status was  413 (Request Entity Too Large). So obviously the first http call, to get the SID of the search job, succeeded. If I take the same SID and submit it in the browser like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;localhost:8089/services/search/jobs/1386894990.1173?output_mode=json
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;then the search succeeds and I get valid results back. What's going on?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2013 00:52:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Javascript-SDK-browser-examples-not-working-413-error/m-p/177379#M10967</guid>
      <dc:creator>mscholtes</dc:creator>
      <dc:date>2013-12-13T00:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript SDK browser examples not working:  413 error</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Javascript-SDK-browser-examples-not-working-413-error/m-p/177380#M10968</link>
      <description>&lt;P&gt;We released an updated version of the SDK, 1.2.2, that should fix this issue. You can get it from:&lt;/P&gt;

&lt;P&gt;dev.splunk.com: &lt;A href="http://dev.splunk.com/view/javascript-sdk/SP-CAAAECM"&gt;http://dev.splunk.com/view/javascript-sdk/SP-CAAAECM&lt;/A&gt;&lt;BR /&gt;
GitHub: &lt;A href="https://github.com/splunk/splunk-sdk-javascript"&gt;https://github.com/splunk/splunk-sdk-javascript&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Let us know if this doesn't fix your issue!&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2013 01:40:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Javascript-SDK-browser-examples-not-working-413-error/m-p/177380#M10968</guid>
      <dc:creator>ineeman</dc:creator>
      <dc:date>2013-12-13T01:40:29Z</dc:date>
    </item>
  </channel>
</rss>

