All Apps and Add-ons

Splunk App for AWS: How to resolve error "Unexpected error "" from python handler: "HTTP 404 Not Found -- In handler 'roles'"?

abovebeyond
Communicator

Hi all,
Our Splunk App for AWS stopped working, the error message i receiving in splunkd log:

05-22-2017 11:15:10.128 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/Splunk_TA_aws/bin/aws_config.py" ERRORFailed to get conf=aws_account_ext, stanza=AWS account, status=404, reason=Not Found, detail=<?xml version="1.0" encoding="UTF-8"?>
05-22-2017 11:15:10.128 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/Splunk_TA_aws/bin/aws_config.py" <response>
05-22-2017 11:15:10.128 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/Splunk_TA_aws/bin/aws_config.py"   <messages>
05-22-2017 11:15:10.128 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/Splunk_TA_aws/bin/aws_config.py"     <msg type="ERROR">
05-22-2017 11:15:10.128 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/Splunk_TA_aws/bin/aws_config.py"  In handler 'conf-aws_account_ext': Could not find object id=AWS account</msg>
05-22-2017 11:15:10.128 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/Splunk_TA_aws/bin/aws_config.py"   </messages>
05-22-2017 11:15:10.128 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/Splunk_TA_aws/bin/aws_config.py" </response>
05-22-2017 11:15:11.974 +0000 WARN  AuthorizationManager - Unknown role 'winfra-admin'
05-22-2017 11:15:11.975 +0000 WARN  AuthorizationManager - Unknown role 'winfra-admin'
05-22-2017 11:15:12.261 +0000 WARN  AuthorizationManager - Unknown role 'winfra-admin'
05-22-2017 11:15:12.261 +0000 WARN  AuthorizationManager - Unknown role 'winfra-admin'

and from Splunk Web:

"Unexpected error occurs. In handler 'splunk_app_aws_proxy_inputs': Unexpected error "" from python handler: "HTTP 404 Not Found -- In handler 'roles': Could not find object id=winfra-admin". See splunkd.log for more details."

what is the cause and how i can solve it?

Thanks!

0 Karma
1 Solution

abovebeyond
Communicator

added winfra-admin role to splunk solve it

View solution in original post

0 Karma

abovebeyond
Communicator

added winfra-admin role to splunk solve it

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...