Background:
There is a OpenLDAP service running on a PC (Windows 10), and if I disable and restore the network of this PC, the function of plugin emqx_auth_ldap is not working.
After network disabled and then restored, the following logs repeated:
2022-10-10T15:31:58.090513+08:00 [debug] [LDAP] Connecting to OpenLDAP server: [{192,168,1,100}], Opts:[{port,1389},{timeout,30000}] ...
2022-10-10T15:31:58.097660+08:00 [debug] [LDAP] Connecting to OpenLDAP server: [{192,168,1,100}], Opts:[{port,1389},{timeout,30000}] ...
2022-10-10T15:31:58.097660+08:00 [debug] [LDAP] Connecting to OpenLDAP server: [{192,168,1,100}], Opts:[{port,1389},{timeout,30000}] ...
2022-10-10T15:31:58.097660+08:00 [debug] [LDAP] Connecting to OpenLDAP server: [{192,168,1,100}], Opts:[{port,1389},{timeout,30000}] ...
2022-10-10T15:31:58.097660+08:00 [debug] [LDAP] Connecting to OpenLDAP server: [{192,168,1,100}], Opts:[{port,1389},{timeout,30000}] ...
2022-10-10T15:31:58.097875+08:00 [debug] [LDAP] Connecting to OpenLDAP server: [{192,168,1,100}], Opts:[{port,1389},{timeout,30000}] ...
2022-10-10T15:31:58.108580+08:00 [error] [LDAP] Can't connect to OpenLDAP server: "connect failed"
2022-10-10T15:31:58.111311+08:00 [error] [LDAP] Can't connect to OpenLDAP server: "connect failed"
2022-10-10T15:31:58.111347+08:00 [error] [LDAP] Can't connect to OpenLDAP server: "connect failed"
2022-10-10T15:31:58.111375+08:00 [error] [LDAP] Can't connect to OpenLDAP server: "connect failed"
2022-10-10T15:31:58.111380+08:00 [error] [LDAP] Can't connect to OpenLDAP server: "connect failed"
2022-10-10T15:31:58.111551+08:00 [error] [LDAP] Can't connect to OpenLDAP server: "connect failed"
2022-10-10T15:32:00.109455+08:00 [debug] [LDAP] Connecting to OpenLDAP server: [{192,168,1,100}], Opts:[{port,1389},{timeout,30000}] ...
2022-10-10T15:32:00.112471+08:00 [debug] [LDAP] Connecting to OpenLDAP server: [{192,168,1,100}], Opts:[{port,1389},{timeout,30000}] ...
2022-10-10T15:32:00.112464+08:00 [debug] [LDAP] Connecting to OpenLDAP server: [{192,168,1,100}], Opts:[{port,1389},{timeout,30000}] ...
2022-10-10T15:32:00.112472+08:00 [debug] [LDAP] Connecting to OpenLDAP server: [{192,168,1,100}], Opts:[{port,1389},{timeout,30000}] ...
2022-10-10T15:32:00.112530+08:00 [debug] [LDAP] Connecting to OpenLDAP server: [{192,168,1,100}], Opts:[{port,1389},{timeout,30000}] ...
2022-10-10T15:32:00.112530+08:00 [debug] [LDAP] Connecting to OpenLDAP server: [{192,168,1,100}], Opts:[{port,1389},{timeout,30000}] ...
2022-10-10T15:32:00.159156+08:00 [error] [LDAP] Can't connect to OpenLDAP server: "connect failed"
2022-10-10T15:32:00.159108+08:00 [error] [LDAP] Can't connect to OpenLDAP server: "connect failed"
2022-10-10T15:32:00.159242+08:00 [error] [LDAP] Can't connect to OpenLDAP server: "connect failed"
2022-10-10T15:32:00.159197+08:00 [error] [LDAP] Can't connect to OpenLDAP server: "connect failed"
2022-10-10T15:32:00.159373+08:00 [error] [LDAP] Can't connect to OpenLDAP server: "connect failed"
2022-10-10T15:32:00.159402+08:00 [error] [LDAP] Can't connect to OpenLDAP server: "connect failed"
There were no errors at last, but client can't connect to the broker:
It looks like a bug that triggers when the network connection to the openldap server is drop.
The entire cluster is down until the ldap plugin is manually restarted.
Hello,
Background: There is a OpenLDAP service running on a PC (Windows 10), and if I disable and restore the network of this PC, the function of plugin emqx_auth_ldap is not working.
After network disabled and then restored, the following logs repeated:
There were no errors at last, but client can't connect to the broker:
Function works normally after restart plugin in EMQX Dashboard.
If you could help, I really appreciate it!