keepassxc-mail icon indicating copy to clipboard operation
keepassxc-mail copied to clipboard

Addon throws infinite error messages on timeout

Open haarp opened this issue 1 year ago • 2 comments

When timeouts are encountered while saving an email account (Office 365 Oauth), an infinite loop might be encountered, popping up endless dialog boxes.

Description

I noticed you took care of #90 and #91 with dc49fac6d. Thanks a lot for that! :)

I noticed an issue with that tho. One of my accounts (POP3, 1-minute automatic fetch intervals, Office 365 Oauth) worked fine for a a day, but then mysteriously started having trouble saving credentials and popped a warning dialog. So far so good. But a short while later it seemed to get stuck in an infinite loop, repeatedly trying to do something and popping endless amounts of dialog boxes. Screenshot:

Screenshot_2024-06-05_11-19-10

Expected Behaviour

Should not loop :)

Current Behaviour

Something loops, or possibly doesn't get an expected response?

Possible Solution

Steps to Reproduce (for bugs)

Difficult. I don't know why it suddenly failed to save credentials, nor why it started looping like that. I had to kill Thunderbird to stop it from spamming more dialogs.

Context

The profile is still fairly recent (only a few months old) Microsoftonline/O365 really do re-save the token on every mail fetch (which is stupid but that's MS for ya)

Your Environment

  • KeepassXC 2.7.7 w/ Never ask before updating credentials enabled
  • KeePassXC-mail version used: 1.7
  • Thunderbird version: 115.10.1
  • Operating system and version: Gentoo Linux

Thanks a lot!

haarp avatar Jun 05 '24 09:06 haarp

That's not good. I have a similar setup that works without any problems...

Do you encounter this regularly? Can you open the console when this happens (Ctrl+Shift+J)? If so please give me the contents of it (you have to remove any personal data).

kkapsner avatar Jun 26 '24 14:06 kkapsner

I've only encountered this once so far. Not sure what triggers it. I'll try to open a console next time this happens!

haarp avatar Jun 26 '24 15:06 haarp