| Summary: | UnrecognizedResponseKind: HIGHESTMODSEQ | ||
|---|---|---|---|
| Product: | [Applications] trojita | Reporter: | Erik Quaeghebeur <bugs.kde.org> |
| Component: | IMAP | Assignee: | Trojita default assignee <trojita-bugs> |
| Status: | RESOLVED UNMAINTAINED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | git | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Erik Quaeghebeur
2023-04-13 20:20:04 UTC
Can you please provide a bit larger context, including the IMAP command to which Fastmail replied with this response, as well as the full error message as reported by Trojita? (In reply to Jan Kundrát from comment #1) > Can you please provide a bit larger context, including the IMAP command to > which Fastmail replied with this response, as well as the full error message > as reported by Trojita? Context from protocol log: --- 22:09:37.239 Imap::Mailbox::ExpungeMailboxTask Activated 22:09:37.239 >>> y389 EXPUNGE␍␊ 22:09:37.364 <<< * VANISHED 10635:10637␍␊ 22:09:37.365 <<< y389 OK [HIGHESTMODSEQ 5796805] Completed␍␊ 22:09:37.367 Imap::Mailbox::ExpungeMailboxTask Completed 22:09:43.463 >>> y390 IDLE␍␊ 22:09:43.571 <<< + idling␍␊ 22:09:43.675 <<< * STATUS INBOX (UIDVALIDITY 1164751602 UNSEEN 0 HIGHESTMODSEQ 5796796)␍␊ 22:09:43.675 UnrecognizedResponseKind HIGHESTMODSEQ␊* STATUS INBOX (UIDVALIDITY 1164751602 UNSEEN 0 HIGHESTMODSEQ 5796796)␍␊␊ ^ here 22:09:43.676 conn Logged out. 22:09:43.685 *** Connection killed. --- I don't have the full error message. It was the standard one, paraphrasing, “I've encountered an issue which is likely on the server side but may be a Trojita bug, so report it anyway.” and then the log excerpt I gave, with the ‘^ here’ pointing at the end of the number 5796796. and just to double-check, this was while you had your INBOX open, right? (In reply to Jan Kundrát from comment #3) > and just to double-check, this was while you had your INBOX open, right? Likely, but not sure. I came back to the Trojita window from another virtual desktop and the message was there. I didn't pay attention to the opened folder. I encountered it again and I thought I had copied the full error message, but it is not in my clipboard… Anyway, from the logs: --- 13:25:52.852 Imap::Mailbox::ObtainSynchronizedMailboxTask STATE_WAIT_FOR_CONN INBOX/A/B Activated 13:25:52.852 conn Waiting for another mailbox... 13:25:52.859 Imap::Mailbox::ObtainSynchronizedMailboxTask STATE_SELECTING INBOX/A/B Synchronizing mailbox 13:25:52.864 >>> y738 SELECT "INBOX/A/B" (QRESYNC (1580119498 5801022 (3,5 2142,2217)))␍␊ 13:25:52.968 <<< * OK [CLOSED] Ok␍␊ 13:25:52.968 <<< * 5 EXISTS␍␊ 13:25:52.968 <<< * 0 RECENT␍␊ 13:25:52.968 <<< * FLAGS (\Answered \Flagged \Draft \Deleted \Seen $X-ME-Annot-2 prive $HasAttachment $ATTACHMENT [EDITED OUT])␍␊ 13:25:52.968 <<< * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen $X-ME-Annot-2 prive $HasAttachment $ATTACHMENT [EDITED OUT] \*)] Ok␍␊ 13:25:52.968 <<< * OK [UNSEEN 5] Ok␍␊ 13:25:52.968 <<< * OK [UIDVALIDITY 1580119498] Ok␍␊ 13:25:52.968 <<< * OK [UIDNEXT 2218] Ok␍␊ 13:25:52.968 <<< * OK [HIGHESTMODSEQ 5801022] Ok␍␊ 13:25:52.968 <<< * OK [MAILBOXID (ea021f72-3f97-4cb8-8df5-9f873545481d)] Ok␍␊ 13:25:52.969 <<< * OK [URLMECH INTERNAL] Ok␍␊ 13:25:52.969 <<< * OK [ANNOTATIONS 65536] Ok␍␊ 13:25:52.969 <<< y738 OK [READ-WRITE] Completed␍␊ 13:25:52.969 conn Opening mailbox... 13:25:52.969 Warning: unhandled untagged OK with a response code 13:25:52.969 Warning: unhandled untagged OK with a response code 13:25:52.969 Warning: unhandled untagged OK with a response code 13:25:52.969 Warning: unhandled untagged OK with a response code 13:25:52.969 conn Synchronizing mailbox... 13:25:52.970 Imap::Mailbox::ObtainSynchronizedMailboxTask STATE_SELECTING INBOX/A/B First interesting message at 5 ($X-ME-Annot-2) 13:25:52.970 conn Mailbox opened. 13:25:52.970 Imap::Mailbox::ObtainSynchronizedMailboxTask STATE_SELECTING INBOX/A/B Completed 13:25:52.970 Imap::Mailbox::KeepMailboxOpenTask attached to INBOX/A/B Activated 13:25:58.789 >>> y739 IDLE␍␊ 13:25:58.883 <<< + idling␍␊ 13:25:58.977 <<< * STATUS INBOX/C (UIDVALIDITY 1580127289 UNSEEN 0 HIGHESTMODSEQ 5801104)␍␊ 13:25:58.977 UnrecognizedResponseKind HIGHESTMODSEQ␊* STATUS INBOX/C (UIDVALIDITY 1580127289 UNSEEN 0 HIGHESTMODSEQ 5801104)␍␊␊ ^ here 13:25:58.977 conn Logged out. 13:25:58.977 *** Connection killed. --- Trojita was in folder INBOX/A/B, but the error seems to be about folder INBOX/C. Thanks. From the log it's clear that the server is sending out unsolicited STATUS responses with data that Trojita has not explicitly requested before (but that Trojita can parse). The server's behavior is a bit surprising for me, but it's definitely valid, so this needs a patch in Trojita to simply ignore these unsolicited bits. Do you feel like writing that, Erik? (In reply to Jan Kundrát from comment #6) > […] Do you feel like writing that, Erik? I've created a Todo, but likely this will not be anything that I'm going to look at soon, due to the effort required to find out where in the code the fix should be applied and then how to apply it. (Other things are higher priority or more fun.) Trojitá is no longer maintained, please switch to a maintained alternative like https://apps.kde.org/kmail2/ Sorry for the inconveniences. |