Directadmin 1.49.1 + Roundcube Password plugin does not work

Pit3k

New member
Joined
Feb 2, 2016
Messages
3
Hello,

At the outset, I would like to present some details about the system and software version.

New server with configuration that didn't work:
- Centos 7
- Directadmin 1.49.1

Previos server with configuration that work fine:
- Centos 6.5
- Directadmin 1.48.3

*In both cases it uses the same version of the plugin and directadmin driver via ssl.

Plugin is configured to use SSL but roundcube reports an error "Could not save new password. Can't create socket connection to tcp://localhost:2222"
This bug was described in the help DirectAdmin but unfortunately, change the connection type from the tcp to ssl did not solve the problem as in earlier cases.

The analysis of the log and debug DirectAdmin showed that:

Debug #1:

Program Location: Sockets::closeMain
Program Location: Sockets::handshake
Sockets::handshake - begin
Program Location: Sockets::handshake:done
Sockets::handshake - end
InternalText::load(authentication): reading in ./data/skins/enhanced/lang/en/internal/authentication.txt
ConfigFile::ensureRoom: param=16 size=64
InternalText::init(authentication)
Program Location: Request::readAndProcess(*skt, 0:0:0:0:0:0:0:1, 0:0:0:0:0:0:0:1) : start
Program Location: Request::readAndProcess(*skt, 0:0:0:0:0:0:0:1, 0:0:0:0:0:0:0:1) : first line received
Cannot find first space after where GET or POST should be
Program Location: Request::readAndProcess(*skt, 0:0:0:0:0:0:0:1, 0:0:0:0:0:0:0:1) : no space after GET/POST
Program Location: Sockets::goodbye(): start
Sockets::shutdown_ssl(SSL *ssl): start
Sockets::shutdown_ssl(SSL *ssl): finished
Program Location: Sockets::goodbye(): finished
Program Location: Sockets::closeConn
Program Location: Clean system(7)
Program Location: ~InternalText::1
Program Location: ~InternalText::2
Program Location: ~InternalText::3
Program Location: Clean system(7): done
Program Location: License::~License : start
Program Location: License::~License : done
Program Location: Sockets::~Sockets : start
Program Location: Sockets::~Sockets : end
Program Location: Command::~Command : start
Program Location: Command::~Command : done
Program Location: Send::~Send : start
Program Location: Send::~Send : 2
Program Location: Send::~Send : 3
Program Location: Send::~Send : 4
Program Location: Send::~Send : done
Program Location: Request::~Request : start
Program Location: Clean system(9)
Program Location: Clean system(9): done
Program Location: Request::~Request : done
Program Location: Log::~Log : start
Program Location: Log::~Log : done
Program Location: Config::~Config : start
Program Location: Config::~Config : done
Program Location: Waiting for child exit : 10 servers
Program Location: Sockets::wait()

debug #2:

DirectAdmin 1.49.1
Accepting Connections on port 2222
Sockets::handshake - begin
Sockets::handshake - end
Cannot find first space after where GET or POST should be

That's all I could find regarding this problem.

I will be grateful for your help.
 
Thank you for quick reply, I'll try this workaround, I hope that the problem will be solved in the future. :cool:
 
In my case, a workaround did not work.

Fortunately we did solve the problem in a different way.

It turned out that the passwords changer does not work with the version of PHP 5.6, and possibly higher.
We changed the options.conf versions of the basic php and started again recompilation.

Plugin to roundcube currently operates on php version 5.5.
 
Thank you for the information. I am running php 5.6.x, so that explains it. However the work around work for me.
 
I have the same problem on all my servers, both on CentOS 6 and CentOS 7. I have posted my work around here: http://forum.directadmin.com/showthread.php?t=51039&p=263836#post263836 (reply #19)

The fix is to change ssl://localhost to ssl://your.serverhostname.com in plugins/password/config.inc.php, but you then need to remember to add back this change every time you upgrade Roundcube.


Same problem, but this workaround does not work for me on Centos 7. Did you find another solution?
 
Back
Top