Roundcube: connection reset by peer

Invader Zim

Verified User
Joined
Sep 4, 2004
Messages
169
Hi all,

I've got problems on one of our servers when users want to change their email password in roundcube.

"New password could not be saved. There is a connection error. Recv failure: Connection reset by peer"

Can't find any error in any logfile (or perhaps I'm missing which log file I should look at). On other servers changing the password works fine. All servers share all the same settings (except for the ip addresses obviously).
 
Last edited:
Check the /var/www/html/roundcube/plugins/password/config.inc.php configuration file settings, especially $rcmail_config['password_directadmin_host'] and $rcmail_config['password_directadmin_port'] .
 
Did you change enable SSL=1 on your host ?
If so , please kindly change configure on
/var/www/html/roundcube/plugins/password/config.inc.php

From
$config['password_directadmin_host'] = 'tcp://localhost';
to
$config['password_directadmin_host'] = 'ssl://localhost';

and try it again. :)
 
Did you change enable SSL=1 on your host ?
If so , please kindly change configure on
/var/www/html/roundcube/plugins/password/config.inc.php

From
$config['password_directadmin_host'] = 'tcp://localhost';
to
$config['password_directadmin_host'] = 'ssl://localhost';

and try it again. :)

Just to confirm, this works for the problem mentioned, thanks for the solution.
 
Hello,

this problem occur when you have ssl_ignore_when_local=1 in your directadmin.conf.

To solve the issue, change the line

$config['password_directadmin_host'] = 'tcp://localhost'; OR $config['password_directadmin_host'] = 'ssl://localhost';

TO your server hostname

$config['password_directadmin_host'] = 'ssl://SERVER.DOMAIN.XXX;

Regards,
 
Back
Top