Author Topic: Again Connection to storage server failed  (Read 8815 times)

Offline ugosweb

  • Newbie
  • *
  • Posts: 8
Again Connection to storage server failed
« on: November 23, 2012, 05:17:11 PM »
Hi,
I just read other topics related to the error in subject but none of them is like the one I'm experimenting in my roundcube installation.
I used the 0.7.2 for about an year without any problem and today I installed roundcube 0.8.4, fresh installation, new database, and I run the installer. All seems OK in the test configuration section.
But after succesfull Login I got the error "Connection to storage server failed" and I cannot see any email in any folder.
I can see in the left panel the number of unread email near to Inbox and Sent folder but in central panel I cannot see anything,
I enabled the imap_log and I can see only one error:

[23-Nov-2012 14:01:59 -0800]: [3FE8] C: A0004 SELECT INBOX
[23-Nov-2012 14:01:59 -0800]: [885B] S: * LSUB () "/" "Sent"
[23-Nov-2012 14:01:59 -0800]: [885B] S: * LSUB () "/" "Drafts"
[23-Nov-2012 14:01:59 -0800]: [885B] S: * LSUB () "/" "Archives"
[23-Nov-2012 14:01:59 -0800]: [885B] S: * LSUB () "/" "Archives/2011"
[23-Nov-2012 14:01:59 -0800]: [885B] S: * LSUB () "/" "Junk"
[23-Nov-2012 14:01:59 -0800]: [885B] S: * LSUB () "/" "Archives/2012"
[23-Nov-2012 14:01:59 -0800]: [885B] S: A0003 OK LSUB Completed in 0.02 seconds.
[23-Nov-2012 14:01:59 -0800]: [885B] C: A0004 STATUS INBOX (MESSAGES UNSEEN)
[23-Nov-2012 14:01:59 -0800]: [3FE8] S: * 4748 EXISTS
[23-Nov-2012 14:01:59 -0800]: [885B] S: * STATUS "INBOX" (MESSAGES 4748 UNSEEN 84)
[23-Nov-2012 14:01:59 -0800]: [3FE8] S: * 4735 RECENT
[23-Nov-2012 14:01:59 -0800]: [3FE8] S: * OK [UNSEEN 4066] Message 4066 is the first unseen.
[23-Nov-2012 14:01:59 -0800]: [3FE8] S: * OK [UIDNEXT 23443] Predicted next message UID.
[23-Nov-2012 14:01:59 -0800]: [3FE8] S: * OK [UIDVALIDITY 1237333] Folder UID value.
[23-Nov-2012 14:01:59 -0800]: [3FE8] S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
[23-Nov-2012 14:01:59 -0800]: [3FE8] S: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft)] Avaliable permanent flags.
[23-Nov-2012 14:01:59 -0800]: [3FE8] S: A0004 OK [READ-WRITE] SELECT completed in 0.12 seconds.
[23-Nov-2012 14:01:59 -0800]: [3FE8] C: A0005 UID SEARCH 4748
[23-Nov-2012 14:01:59 -0800]: [885B] S: A0004 OK STATUS completed in 0.11 seconds.
[23-Nov-2012 14:01:59 -0800]: [885B] C: A0005 LOGOUT
[23-Nov-2012 14:01:59 -0800]: [3FE8] S: * SEARCH 23442
[23-Nov-2012 14:01:59 -0800]: [885B] S: * BYE IMAP4rev1 Server logging out.
[23-Nov-2012 14:01:59 -0800]: [885B] S: A0005 OK LOGOUT completed.
[23-Nov-2012 14:02:00 -0800]: [3FE8] S: A0005 OK SEARCH completed in 0.22 seconds.
[23-Nov-2012 14:02:00 -0800]: [3FE8] C: A0006 CAPABILITY
[23-Nov-2012 14:02:00 -0800]: [3FE8] S: * CAPABILITY IMAP4rev1 NAMESPACE QUOTA ACL IDLE ENABLE UTF8=ACCEPT SASL-IR AUTH=DIGEST-MD5 AUTH=CRAM-MD5 AUTH=PLAIN AUTH=LOGIN
[23-Nov-2012 14:02:00 -0800]: [3FE8] S: A0006 OK CAPABILITY completed.
[23-Nov-2012 14:02:00 -0800]: [3FE8] C: A0007 UID SEARCH ALL
[23-Nov-2012 14:02:00 -0800]: [3FE8] S: A0007 BAD Error in arguments.
[23-Nov-2012 14:02:00 -0800]: [3FE8] C: A0008 LOGOUT
[23-Nov-2012 14:02:00 -0800]: [3FE8] S: * BYE IMAP4rev1 Server logging out.
[23-Nov-2012 14:02:00 -0800]: [3FE8] S: A0008 OK LOGOUT completed.

What can be the problem?
« Last Edit: November 23, 2012, 05:36:24 PM by ugosweb »

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: Again Connection to storage server failed
« Reply #1 on: November 24, 2012, 02:37:05 AM »
[23-Nov-2012 14:02:00 -0800]: [3FE8] C: A0007 UID SEARCH ALL
[23-Nov-2012 14:02:00 -0800]: [3FE8] S: A0007 BAD Error in arguments.
UID SEARCH ALL is valid command. So, it's your server issue. What IMAP server/version is that?

Offline ugosweb

  • Newbie
  • *
  • Posts: 8
Re: Again Connection to storage server failed
« Reply #2 on: November 24, 2012, 12:55:21 PM »
I'm using LumiSoft email server 0.96:
www.lumisoft.ee

Roundcube 0.7.2 worked perfectly with that email server for more than a year.
« Last Edit: November 24, 2012, 01:06:10 PM by ugosweb »

Offline oldschool

  • Sr. Member
  • ****
  • Posts: 406
Re: Again Connection to storage server failed
« Reply #3 on: November 24, 2012, 02:09:02 PM »
I'm using LumiSoft email server 0.96:
www.lumisoft.ee

Roundcube 0.7.2 worked perfectly with that email server for more than a year.

Hi!

Please check the history.
There you find the changes since 0.7.2.


Rgds.

Offline jamil_isayyed

  • Jr. Member
  • **
  • Posts: 37
Re: Again Connection to storage server failed
« Reply #4 on: November 24, 2012, 08:13:45 PM »
for me i faced a simillar problem in 0.8.4, in my linux debian we use a file contains all the parameters for the database connection, which is generated automatically, called debian_db, and i have the include file in the database configration file. i found out that there is a problem in it.

i order to move on this problem u can first enable the installer and test the configration step 3, make sure that everything in the database connection is good and working. if it is not try to configure it from the installer (i mean the database connection) and copy the dsnw configration file and add it to the database configtration file. u need to make sure that the user for the database has the right previllges.

i used this way and i moved on this problem.

Thanks and enjoy :D

Offline ugosweb

  • Newbie
  • *
  • Posts: 8
Re: Again Connection to storage server failed
« Reply #5 on: November 25, 2012, 12:17:15 PM »

Hi!

Quote
Please check the history.
There you find the changes since 0.7.2.


Why I should read the changes since 0.7.2?
0.7.2 worked perfectly with LumiSoft email server. As soon as I moved to 0.8.4 I got that error.
My question is: is there a solution to solve the problem?
« Last Edit: November 26, 2012, 03:46:49 AM by ugosweb »

Offline ABerglund

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 673
Re: Again Connection to storage server failed
« Reply #6 on: November 25, 2012, 01:01:34 PM »
Why I should read the changes since 0.7.2?
0.7.2 worked perfectly with LumiSoft email server. As soon as I moved to 0.8.4 I got that error.
My question is: is there a solution to solve the problem?
My guess is that RC has added a refinement to the message retrieval process in version 0.8.X that uses the IMAP "UID SEARCH ALL" command, but LumiSoft doesn't support that command. It worked before because 0.7.x didn't make that call. Since the command is a valid IMAP protocol command, the problem is really a LumiSoft problem, not RC.

I doubt that there are valid workarounds. You might try going through the config display options and disable any search or display enhancements, but I doubt that will help. If not, you will either need to revert to 0.7.x or get LumiSoft to support the command. (Which they should if they claim to be an IMAP server.)
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

Offline ugosweb

  • Newbie
  • *
  • Posts: 8
Re: Again Connection to storage server failed
« Reply #7 on: November 27, 2012, 02:53:19 AM »
I contacted LumiSoft and they solved the problem in the 0.97 devel version.
Now it works.

Many Thanks