All Apps and Add-ons

IMAP Login Splunk fails

rainbat
New Member

Hello all,

I could successfully configure splunk imap plugin to retrieve mails from apple, but somehow it can't login to the REST API, I could reproduce the error by running the command line python script getimap.py:

DEBUG:root:about to dump mailbox support-wfp
DEBUG:root:decrypted splunk password
DEBUG:splunk.rest:simpleRequest > POST https://localhost:8089/services/auth/login [[REDACTED]] sessionSource=SDK
DEBUG:root:1userid/password combination for splunk user is invalid...
Traceback (most recent call last):
  File "getimap.py", line 405, in getMailbox
    latestTime = self.getCacheIDForMailbox(box)
  File "getimap.py", line 259, in getCacheIDForMailbox
    raise LoginError("1userid/password combination for splunk user is invalid...")
LoginError: 1userid/password combination for splunk user is invalid...
None
ERROR:root:ERROR - trying to select mailgox
rainbat:bin rainbat$ 

Somehow even hardcoded it doesn't accept the spunk.rest.simpleRequest, I am running OSX Lion on my MacMini, can anybody help ?

Best regards from Switzerland,
Dominique

0 Karma

Erik_Swan
Splunk Employee
Splunk Employee

Hi Dominique,

I have better version of the app that prints out more debug info that should help diagnose.
I'll upload to splunkbase today.

Thanks
E

0 Karma

pauln75
Explorer

Hey Erik,

Did you ever upload this to splunkbase? I'm running into the same problem, and like to try out the new version.

Thanks, Paul

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...