Rocketchat Ldap Timeout after install

rocketchat

#1

Hi,

after fresh install Rocketchat on fresh Memberserver, i cant login with users. The Ldap Setting Test tell: Timeout.

Adress, port and Base DN is correct. Other Apps on the Memberserver are usable. All Users are activated in “apps” for rocketchat. We not use saml Single Sign-on. Join process ran perfectly.

Any ideas? i already tried to reinstall Rocketchat.

Best Regards

Log:

I20190731-11:09:09.414(2) server.js:207 LDAP ➔ Connection.error connection time out 1000

I20190731-11:09:09.414(2) Error: Timeout at Timeout.setTimeout (app/ldap/server/ldap.js:180:14) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5)

I20190731-11:09:35.861(2) server.js:207 LDAP ➔ Connection.error connection time out 1000

I20190731-11:09:35.894(2) server.js:207 LDAPHandler ➔ error Error: Timeout at Timeout.setTimeout (app/ldap/server/ldap.js:180:14) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5)

I20190731-11:09:56.216(2) server.js:207 LDAP ➔ Connection.error connection time out 1000

I20190731-11:09:56.218(2) Error: Timeout at Timeout.setTimeout (app/ldap/server/ldap.js:180:14) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5)

I20190731-11:10:06.566(2) server.js:207 LDAP ➔ Connection.error connection time out 1000

I20190731-11:10:06.566(2) Error: Timeout at Timeout.setTimeout (app/ldap/server/ldap.js:180:14) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5)

ldapsearch command from memberserver
2019-07-31%2014_38_45-connect_c-lab_corin-i%40ad%20-%20AnyDesk


#2

Hello @Corin,

please login with your user admin to Rocket.Chat, go to AdministrationLDAP and try Test Connection. What does it say?

A re-installation will keep the previous settings. To really get a plain re-installation you need to remote the directory /var/lib/univention-appcenter/apps/rocketchat. The settings are saved in MongoDB, whose data is saved in the data sub directory.

Best regards,
Nico


#3

Hi,

Test Connection: Timeout
I deleted /var/lib/univention-appcenter/apps/rocketchat before i reinstalled.

I tested Rocketchat on my backup DC, it rans correct and connection test on Ldap are fine. But i need Rocketchat on a Memberserver.

I tried Main and Backup DC to connect Ldap in Rocketchat on my Memberserver. All settings are Timeout by Test.


#4

I20190805-07:39:05.548(2) server.js:207 LDAP ➔ Connection.error connection time out 1000

I20190805-07:39:05.548(2) Error: Timeout at Timeout.setTimeout (app/ldap/server/ldap.js:180:14) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5)

I reinstalled the complete memberserver. 2 Days it runs with ldap connection.
Now i have Problems again.


#5

What’s the ip address of UCS ldap server ?
Did you have try to set the docker IP address in the host setting ?