Hi,
I cannot view my INBOX, cause Roundcube shows me an error, and it doesn't display message list (it's all blank).
Anytime I click on INBOX in the left pane to refresh messages, after a long delay this message appears:
Unable to send command: A0006 FETCH 1:* (INTERNALDATE BODY.PEEK[HEADER;FIELDS (DATE)] FLAGS)
Enabling the log, this is what I see, anytime I click on INBOX:
[03-May-2011 23:11:02 +0200]: S: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256 IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc. See COPYING for distribution information.
[03-May-2011 23:11:02 +0200]: C: A0001 LOGIN mymailbox XXXXX
[03-May-2011 23:11:03 +0200]: S: A0001 OK LOGIN Ok.
[03-May-2011 23:11:03 +0200]: C: A0002 STATUS INBOX (MESSAGES UNSEEN)
[03-May-2011 23:11:04 +0200]: S: * STATUS "INBOX" (MESSAGES 4769 UNSEEN 1)
[03-May-2011 23:11:04 +0200]: S: A0002 OK STATUS Completed.
[03-May-2011 23:11:04 +0200]: C: A0003 SELECT INBOX
[03-May-2011 23:11:04 +0200]: S: * FLAGS ($MDNSent NonJunk $Forwarded \Draft \Answered \Flagged \Deleted \Seen \Recent)
[03-May-2011 23:11:04 +0200]: S: * OK [PERMANENTFLAGS ($MDNSent NonJunk $Forwarded \* \Draft \Answered \Flagged \Deleted \Seen)] Limited
[03-May-2011 23:11:04 +0200]: S: * 4769 EXISTS
[03-May-2011 23:11:04 +0200]: S: * 0 RECENT
[03-May-2011 23:11:04 +0200]: S: * OK [UIDVALIDITY 1170934556] Ok
[03-May-2011 23:11:04 +0200]: S: * OK [MYRIGHTS "acdilrsw"] ACL
[03-May-2011 23:11:04 +0200]: S: A0003 OK [READ-WRITE] Ok
[03-May-2011 23:11:04 +0200]: C: A0004 FETCH 4769 (UID)
[03-May-2011 23:11:04 +0200]: S: * 4769 FETCH (UID 40897)
[03-May-2011 23:11:04 +0200]: S: A0004 OK FETCH completed.
[03-May-2011 23:11:04 +0200]: C: A0005 SORT (DATE) US-ASCII ALL
After last message, Roundcube is stuck on "Loading ...". After several seconds, the error message appears, and the message list is blank.
If I click INBOX again, after two/three times I can see the message list, and Roundcube starts working. Then error again, if I refresh INBOX.
I.e., it works 20% of the time.
How can I solve this problem? I'm using Roundcube 0.5.2 (0.5.1 has the same problem).
Thanks a lot,
BR,
Tony.
Your log snippet stops at:
Quote[03-May-2011 23:11:04 +0200]: C: A0005 SORT (DATE) US-ASCII ALL
is that the last entry in the log or just coinsidence? if it is the last entry then I think thats the problem, your imap server is taking too long to do the sort.
That's the last entry.
Ok, maybe IMAP is taking too much time, but I cannot change this behavior. How can I tell Roundcube to wait more?
Thanks,
T.
I have never tried it but it looks to me like if you increase default_socket_timeout in your php.ini you should be able to make it wait longer.