-
-
Notifications
You must be signed in to change notification settings - Fork 328
Open
Description
Seems like there's a major connection flaw with email queues. My instance of Peppermint is unable to stay connected to the Google account I set up. In order to temporarily solve this I have delete the queue. Add it again with the same Client ID and Client secret. Sign into the account and then it starts working again (until the next failure).
To Reproduce
- Start the server
- Add an email queue using google cloud console OAuth app
- Sign into the account you want set
- Wait X amount of time
- Error
Logs
peppermint | Error processing queue de848b86-9239-4ecc-81b2-751a17462247: Error: Invalid credentials (Failure)
peppermint | at Connection._resTagged (/apps/api/node_modules/imap/lib/Connection.js:1502:11)
peppermint | at Parser.<anonymous> (/apps/api/node_modules/imap/lib/Connection.js:194:10)
peppermint | at Parser.emit (node:events:518:28)
peppermint | at Parser._resTagged (/apps/api/node_modules/imap/lib/Parser.js:175:10)
peppermint | at Parser._parse (/apps/api/node_modules/imap/lib/Parser.js:139:16)
peppermint | at Parser._tryread (/apps/api/node_modules/imap/lib/Parser.js:82:15)
peppermint | at Parser._cbReadable (/apps/api/node_modules/imap/lib/Parser.js:53:12)
peppermint | Email fetch completed
peppermint | at TLSSocket.emit (node:events:518:28)
peppermint | at emitReadable_ (node:internal/streams/readable:834:12)
peppermint | at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {
peppermint | type: 'no',
peppermint | textCode: 'AUTHENTICATIONFAILED',
peppermint | source: 'authentication'
peppermint | }
peppermint | Connection ended
peppermint | Email fetch completed
Metadata
Metadata
Assignees
Labels
No labels