kkapsner / keepassxc-mail

MailExtension to talk to keepassxc
GNU General Public License v3.0
60 stars 5 forks source link

Addon throws infinite error messages on timeout #96

Open haarp opened 1 month ago

haarp commented 1 month ago

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

Thanks a lot!

kkapsner commented 2 weeks ago

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).

haarp commented 2 weeks ago

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