Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#1486687 closed Bugs (worksforme)

Random logout

Reported by: amaramrahul Owned by:
Priority: 2 Milestone: 0.4-stable
Component: IMAP connection Version: 0.4-beta
Severity: major Keywords:
Cc:

Description (last modified by alec)

While using roundecube webmail, it randomly logouts and there isn't any specific action which causes this. This could either be while reading a mail or composing or anything else. This is what I found in the roundcube logs:

[28-Apr-2010 18:27:42] PHP Warning:  fclose(): supplied argument is not a valid stream resource in /var/www/roundcubemail-0.4-beta/program/include/rcube_imap_generic.php on line 412
[28-Apr-2010 18:27:42 +0530]: IMAP Error: Authentication for suresh failed (LOGIN): "" in /var/www/roundcubemail-0.4-beta/program/include/rcube_imap.php on line 141 (GET /mail/?_task=mail&_id=15701319214bd830bc156ca&_action=compose)
[28-Apr-2010 18:30:19] PHP Warning:  fclose(): supplied argument is not a valid stream resource in /var/www/roundcubemail-0.4-beta/program/include/rcube_imap_generic.php on line 412
[28-Apr-2010 18:30:19 +0530]: IMAP Error: Authentication for usha failed (LOGIN): "" in /var/www/roundcubemail-0.4-beta/program/include/rcube_imap.php on line 141 (GET /mail/?_task=mail&_action=check-recent&_t=1272459319746&_mbox=INBOX&_list=1&_quota=1&_remote=1&_=1272459319746&_unlock=1)

It should also be noted that I was facing a similar problem in 0.3.1 because of which I upgraded to 0.4-beta. While the frequency of the problem has reduced, it sill exists.

Also I am using dovecot 1.1.13, not sure if upgrading that would help though I am considering it. The message in dovecot mail logs during such random logouts is:

Apr 28 18:35:07 ss dovecot: imap-login: Login: user=<usha>, method=PLAIN, rip=192.168.0.5, lip=192.168.0.5, secured
Apr 28 18:35:07 ss dovecot: IMAP(usha): Connection closed bytes=0/0

Any help or workarounds would be greatly appreciated.

Change History (5)

comment:1 Changed 3 years ago by alec

  • Component changed from Core functionality to IMAP connection

Logs says that connection to IMAP server is interrupted while using LOGIN command. I think this maybe some login limit in dovecot or firewall.

comment:2 Changed 3 years ago by amaramrahul

I will try increasing the limit and checking. Thanks.

comment:3 Changed 3 years ago by alec

  • Description modified (diff)

comment:4 Changed 3 years ago by alec

  • Resolution set to worksforme
  • Status changed from new to closed

You should upgrade to newer version of dovecot, may be in 1.1 line.

comment:6 Changed 3 years ago by miniwark

Maybe this was related to this changeset ? : [3978cbf4]

I have the same random problem with rc 0.4beta and apply this change have solve it.

Note: See TracTickets for help on using tickets.