All Apps and Add-ons

Error when running /Splunk/etc/apps/alexa/bin/alexa.py

ccampbell_splun
Splunk Employee
Splunk Employee

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:

There was an error calling the remote endpoint, which returned HTTP 303 : See Other

From the splunkd.log I see the following errors:

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 http://www.slf4j.org/codes.html#StaticLoggerBinder 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)

I'm not sure these are related but am not sure what else to try. Thanks!

0 Karma
1 Solution

Damien_Dallimor
Ultra Champion

Error executing modular input :
Permission denied :
java.net.SocketException: Permission
denied

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.

This is all covered in the documentation

Please read the docs thoroughly, the troubleshooting section is also useful.

View solution in original post

Damien_Dallimor
Ultra Champion

Error executing modular input :
Permission denied :
java.net.SocketException: Permission
denied

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.

This is all covered in the documentation

Please read the docs thoroughly, the troubleshooting section is also useful.

ccampbell_splun
Splunk Employee
Splunk Employee

Thanks, I assumed my user had enough permissions to do this task but apparently not 🙂
After running splunk under the root user I no longer get these errors and can run the tests!

0 Karma

Damien_Dallimor
Ultra Champion

Correct.
I run my Splunk instance for my Alexa work like : sudo splunk start

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...