<?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: Error when running /Splunk/etc/apps/alexa/bin/alexa.py in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-when-running-Splunk-etc-apps-alexa-bin-alexa-py/m-p/242106#M27407</link>
    <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;Error executing modular input :&lt;BR /&gt;
Permission denied :&lt;BR /&gt;
java.net.SocketException: Permission&lt;BR /&gt;
denied&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;This would imply that you are trying to open an HTTPs port that the user owning the splunkd process does not have OS permissions to open. ie: a port lower than 1024 such as 443.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://github.com/damiendallimore/SplunkModularInputsJavaFramework/blob/master/alexa/docs/README.md"&gt;This is all covered in the documentation&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Please read the docs thoroughly, the troubleshooting section is also useful.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Oct 2016 20:47:06 GMT</pubDate>
    <dc:creator>Damien_Dallimor</dc:creator>
    <dc:date>2016-10-11T20:47:06Z</dc:date>
    <item>
      <title>Error when running /Splunk/etc/apps/alexa/bin/alexa.py</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-when-running-Splunk-etc-apps-alexa-bin-alexa-py/m-p/242105#M27406</link>
      <description>&lt;P&gt;I installed the Alexa app, and ran through the setup steps to connect it to my Dev account. When testing the new skill, I get this error:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;There was an error calling the remote endpoint, which returned HTTP 303 : See Other&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;From the splunkd.log I see the following errors:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;10-10-2016 22:00:07.818 -0700 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/alexa/bin/alexa.py" SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
10-10-2016 22:00:07.819 -0700 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/alexa/bin/alexa.py" SLF4J: Defaulting to no-operation (NOP) logger implementation
10-10-2016 22:00:07.819 -0700 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/alexa/bin/alexa.py" SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#StaticLoggerBinder" target="test_blank"&gt;http://www.slf4j.org/codes.html#StaticLoggerBinder&lt;/A&gt; for further details.
10-10-2016 22:00:08.200 -0700 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/alexa/bin/alexa.py" Error executing modular input : Permission denied : java.net.SocketException: Permission denied
10-10-2016 22:00:08.200 -0700 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/alexa/bin/alexa.py"  at sun.nio.ch.Net.bind0(Native Method)
10-10-2016 22:00:08.200 -0700 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/alexa/bin/alexa.py"  at sun.nio.ch.Net.bind(Net.java:433)
10-10-2016 22:00:08.200 -0700 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/alexa/bin/alexa.py"  at sun.nio.ch.Net.bind(Net.java:425)
10-10-2016 22:00:08.200 -0700 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/alexa/bin/alexa.py"  at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
10-10-2016 22:00:08.200 -0700 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/alexa/bin/alexa.py"  at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
10-10-2016 22:00:08.200 -0700 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/alexa/bin/alexa.py"  at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:264)
10-10-2016 22:00:08.200 -0700 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/alexa/bin/alexa.py"  at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
10-10-2016 22:00:08.200 -0700 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/alexa/bin/alexa.py"  at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69)
10-10-2016 22:00:08.200 -0700 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/alexa/bin/alexa.py"  at org.eclipse.jetty.server.Server.doStart(Server.java:303)
10-10-2016 22:00:08.200 -0700 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/alexa/bin/alexa.py"  at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69)
10-10-2016 22:00:08.200 -0700 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/alexa/bin/alexa.py"  at com.splunk.modinput.alexa.AlexaWebService.startWebServer(Unknown Source)
10-10-2016 22:00:08.200 -0700 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/alexa/bin/alexa.py"  at com.splunk.modinput.alexa.AlexaWebService.doRun(Unknown Source)
10-10-2016 22:00:08.200 -0700 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/alexa/bin/alexa.py"  at com.splunk.modinput.ModularInput.init(Unknown Source)
10-10-2016 22:00:08.200 -0700 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/alexa/bin/alexa.py"  at com.splunk.modinput.alexa.AlexaWebService.main(Unknown Source)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'm not sure these are related but am not sure what else to try. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2016 05:25:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-when-running-Splunk-etc-apps-alexa-bin-alexa-py/m-p/242105#M27406</guid>
      <dc:creator>ccampbell_splun</dc:creator>
      <dc:date>2016-10-11T05:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error when running /Splunk/etc/apps/alexa/bin/alexa.py</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-when-running-Splunk-etc-apps-alexa-bin-alexa-py/m-p/242106#M27407</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;Error executing modular input :&lt;BR /&gt;
Permission denied :&lt;BR /&gt;
java.net.SocketException: Permission&lt;BR /&gt;
denied&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;This would imply that you are trying to open an HTTPs port that the user owning the splunkd process does not have OS permissions to open. ie: a port lower than 1024 such as 443.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://github.com/damiendallimore/SplunkModularInputsJavaFramework/blob/master/alexa/docs/README.md"&gt;This is all covered in the documentation&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Please read the docs thoroughly, the troubleshooting section is also useful.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2016 20:47:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-when-running-Splunk-etc-apps-alexa-bin-alexa-py/m-p/242106#M27407</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2016-10-11T20:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error when running /Splunk/etc/apps/alexa/bin/alexa.py</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-when-running-Splunk-etc-apps-alexa-bin-alexa-py/m-p/242107#M27408</link>
      <description>&lt;P&gt;Thanks, I assumed my user had enough permissions to do this task but apparently not &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
After running splunk under the root user I no longer get these errors and can run the tests!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2016 22:30:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-when-running-Splunk-etc-apps-alexa-bin-alexa-py/m-p/242107#M27408</guid>
      <dc:creator>ccampbell_splun</dc:creator>
      <dc:date>2016-10-11T22:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error when running /Splunk/etc/apps/alexa/bin/alexa.py</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-when-running-Splunk-etc-apps-alexa-bin-alexa-py/m-p/242108#M27409</link>
      <description>&lt;P&gt;Correct.&lt;BR /&gt;
I run my Splunk instance for my Alexa work like : sudo splunk start&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2016 22:32:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-when-running-Splunk-etc-apps-alexa-bin-alexa-py/m-p/242108#M27409</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2016-10-11T22:32:34Z</dc:date>
    </item>
  </channel>
</rss>

