Success status vs. log error

Posted on
Sat Sep 10, 2022 5:05 pm
Different Computers offline
User avatar
Posts: 2541
Joined: Jan 02, 2016
Location: East Coast

Success status vs. log error

My email+ device reports "success" but any time Indigo tries to send something, the log shows an authentication error.

Anyone have an idea what could be going on? It's an IMAP connection.

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Sat Sep 10, 2022 6:34 pm
FlyingDiver offline
User avatar
Posts: 7215
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Success status vs. log error

Logs!

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sat Sep 10, 2022 6:34 pm
FlyingDiver offline
User avatar
Posts: 7215
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Success status vs. log error

Debug enabled!

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Sep 11, 2022 8:00 am
Different Computers offline
User avatar
Posts: 2541
Joined: Jan 02, 2016
Location: East Coast

Re: Success status vs. log error

Appreciate you looking at this.

Code: Select all
2022-09-11 08:54:22.050   [   DEBUG]    Plugin.SMTPServer.poll                     Email+ SMTP Server: SMTP poll, 0 items in queue
2022-09-11 09:04:22.410   [   DEBUG]    Plugin.SMTPServer.poll                     Email+ SMTP Server: SMTP poll, 0 items in queue
2022-09-11 09:14:23.374   [   DEBUG]    Plugin.SMTPServer.poll                     Email+ SMTP Server: SMTP poll, 0 items in queue
2022-09-11 09:22:47.623   [   DEBUG]    Plugin.IMAPServer.idleEvent                Diff email: IDLE Event Received
2022-09-11 09:22:48.692   [   DEBUG]    Plugin.IMAPServer.poll                     Diff email: Polling IMAP Server
2022-09-11 09:22:48.693   [   DEBUG]    Plugin.IMAPServer.checkMsgs                Diff email: Doing checkMsgs
2022-09-11 09:22:48.715   [   DEBUG]    Plugin.IMAPServer.idleEvent                Diff email: IDLE Event Received
2022-09-11 09:22:48.736   [   DEBUG]    Plugin.IMAPServer.checkMsgs                Diff email: checkMsgs - typ = OK, msg_ids = [b'']
2022-09-11 09:22:48.782   [   DEBUG]    Plugin.IMAPServer.idleEvent                Diff email: IDLE Event Received
2022-09-11 09:22:48.803   [   DEBUG]    Plugin.IMAPServer.checkMsgs                Diff email: checkMsgs complete
2022-09-11 09:24:23.912   [   DEBUG]    Plugin.SMTPServer.poll                     Email+ SMTP Server: SMTP poll, 0 items in queue
2022-09-11 09:34:24.594   [   DEBUG]    Plugin.SMTPServer.poll                     Email+ SMTP Server: SMTP poll, 0 items in queue
2022-09-11 09:44:24.838   [   DEBUG]    Plugin.SMTPServer.poll                     Email+ SMTP Server: SMTP poll, 0 items in queue
2022-09-11 09:51:48.896   [   DEBUG]    Plugin.IMAPServer.idleEvent                Diff email: IDLE Event Received
2022-09-11 09:51:49.886   [   DEBUG]    Plugin.IMAPServer.poll                     Diff email: Polling IMAP Server
2022-09-11 09:51:49.886   [   DEBUG]    Plugin.IMAPServer.checkMsgs                Diff email: Doing checkMsgs
2022-09-11 09:51:49.908   [   DEBUG]    Plugin.IMAPServer.idleEvent                Diff email: IDLE Event Received
2022-09-11 09:51:49.930   [   DEBUG]    Plugin.IMAPServer.checkMsgs                Diff email: checkMsgs - typ = OK, msg_ids = [b'']
2022-09-11 09:51:49.974   [   DEBUG]    Plugin.IMAPServer.idleEvent                Diff email: IDLE Event Received
2022-09-11 09:51:49.995   [   DEBUG]    Plugin.IMAPServer.checkMsgs                Diff email: checkMsgs complete
2022-09-11 09:54:25.219   [   DEBUG]    Plugin.SMTPServer.poll                     Email+ SMTP Server: SMTP poll, 0 items in queue
2022-09-11 09:55:49.399   [   DEBUG]               Plugin.sendEmailAction          sendEmailAction queueing message 'test message'
2022-09-11 09:55:49.400   [   DEBUG]    Plugin.SMTPServer.poll                     Email+ SMTP Server: SMTP poll, 1 items in queue
2022-09-11 09:55:49.405   [    INFO]    Plugin.SMTPServer.smtpSend                 sending email 'test message' to 'redacted@redacted.org' using Email+ SMTP Server
2022-09-11 09:55:49.405   [   DEBUG]    Plugin.SMTPServer.smtpSend                 Email+ SMTP Server: sending:
From: confusion@differentcomputers.com
Subject: test message
To:redacted@redacted.org
Date: Sun, 11 Sep 2022 09:55:49 -0400
Message-ID: <166290454940.85754.12805370712554113313@Indigo.local>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0

this is a test message

2022-09-11 09:55:58.421   [   ERROR]    Plugin.SMTPServer.smtpSend                 Email+ SMTP Server: SMTP server connection error: (535, b'Incorrect authentication data')
2022-09-11 09:55:58.423   [   DEBUG]               Plugin.connErrorTriggerCheck    connErrorTriggerCheck: Checking Triggers for Device Email+ SMTP Server (46036955


no, the addresses are not really "redacted@redacted.com"

I get that something may be wrong with authentication, but why does it show good connection then?

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Sun Sep 11, 2022 8:07 am
FlyingDiver offline
User avatar
Posts: 7215
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Success status vs. log error

Different Computers wrote:
I get that something may be wrong with authentication, but why does it show good connection then?


The status info is known to be inaccurate in some situations. There's already a GitHub issue open on this.

Go by the logs.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Sep 11, 2022 9:43 am
Different Computers offline
User avatar
Posts: 2541
Joined: Jan 02, 2016
Location: East Coast

Re: Success status vs. log error

The logs are telling me "Incorrect authentication data".

A bit of background: I'm connecting to the IMAP server of a domain I own and control but do not host. I can log in to the account using Mac Mail and the same authentication details I've entered in Email+. I have double checked this.

No idea how to move forward. Guess I'll try setting up a different account.

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Sun Sep 11, 2022 9:55 am
Different Computers offline
User avatar
Posts: 2541
Joined: Jan 02, 2016
Location: East Coast

Re: Success status vs. log error

It's an IMAP account. is it a clue that the log says "SMTP server connection error"?

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Sun Sep 11, 2022 10:14 am
FlyingDiver offline
User avatar
Posts: 7215
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Success status vs. log error

Different Computers wrote:
It's an IMAP account. is it a clue that the log says "SMTP server connection error"?


The error you posted is coming from the SMTP module while sending an email using the SMTP device. There's no connection to any IMAP device.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest