-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.0.0
-
Fix Version/s: None
-
Component/s: usersync
-
Labels:None
I tried ranger-usersync restart a few times and it always syncs a different number of 'getUsers() user count' and always errors after exactly 5 minutes
01 Aug 2019 08:55:37 INFO UnixAuthenticationService [main] - Enabling Unix Auth Service!
01 Aug 2019 08:55:38 INFO UnixAuthenticationService [main] - Enabling Protocol: [TLSv1]
01 Aug 2019 08:55:38 INFO UnixAuthenticationService [main] - Enabling Protocol: [TLSv1.1]
01 Aug 2019 08:55:38 INFO UnixAuthenticationService [main] - Enabling Protocol: [TLSv1.2]
01 Aug 2019 08:55:38 INFO LdapDeltaUserGroupBuilder [UnixUserSyncThread] - Updating user count: 1, userName: hgd
.....
01 Aug 2019 09:00:40 INFO LdapDeltaUserGroupBuilder [UnixUserSyncThread] - Updating user count: 216, userName: dfd
01 Aug 2019 09:00:40 ERROR LdapDeltaUserGroupBuilder [UnixUserSyncThread] - LdapDeltaUserGroupBuilder.getUsers() failed with exception: javax.naming.CommunicationException: Connection reset [Root exception is java.net.SocketException: Connection reset]
01 Aug 2019 09:00:40 INFO LdapDeltaUserGroupBuilder [UnixUserSyncThread] - LdapDeltaUserGroupBuilder.getUsers() user count: 216
01 Aug 2019 09:00:40 INFO UserGroupSync [UnixUserSyncThread] - End: initial load of user/group from source==>sink
01 Aug 2019 09:00:40 INFO UserGroupSync [UnixUserSyncThread] - Done initializing user/group source and sink