LDAP response read timed out
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
This is for an outdated version of Hipchat Server
This article applies to a version of Hipchat Server which will be deprecated soon. After that period the version will no longer be supported.
You should upgrade to a more recent version of Hipchat Server as soon as you can to take advantage of new features, and security and bug fixes.
症状
LDAP synchronisation with Hipchat Server failed.
/var/log/hipchat/atlassian-crowd.log
に次のメッセージが表示される。
2015-01-08 13:50:47,006 scheduler_Worker-9 INFO [atlassian.crowd.directory.DbCachingRemoteDirectory] Attempting INCREMENTAL synchronisation for directory [ 393217 ]
2015-01-08 13:50:47,167 scheduler_Worker-9 INFO [atlassian.crowd.directory.DbCachingRemoteDirectory] failed synchronisation complete for directory [ 393217 ] in [ 162ms ]
2015-01-08 13:50:47,197 scheduler_Worker-9 ERROR [atlassian.crowd.directory.DbCachingDirectoryPoller] Error occurred while refreshing the cache for directory [ 393217 ].
com.atlassian.crowd.exception.OperationFailedException: org.springframework.ldap.PartialResultException: nested exception is javax.naming.PartialResultException [Root exception is javax.naming.NamingException: LDAP response read timed out, timeout used:120000ms. [Root exception is com.sun.jndi.ldap.LdapReferralException: Continuation Reference; remaining name 'DC=sbs,DC=local']; remaining name '']
at com.atlassian.crowd.directory.SpringLDAPConnector.pageSearchResults(SpringLDAPConnector.java:425)
at com.atlassian.crowd.directory.SpringLDAPConnector.searchEntitiesWithRequestControls(SpringLDAPConnector.java:460)
.....
Caused by: org.springframework.ldap.PartialResultException: nested exception is javax.naming.PartialResultException [Root exception is javax.naming.NamingException: LDAP response read timed out, timeout used:120000ms. [Root exception is com.sun.jndi.ldap.LdapReferralException: Continuation Reference; remaining name 'DC=sbs,DC=local']; remaining name ''] at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:216)
原因
- The LDAP directory is so large that Hipchat Server fails to find the user before the timeout or
- There have been cases where enabling 'Follow Referral' option causes the same behavior
ソリューション
オプション 1:
Administration > Users > User Directories
に移動します。- Edit the LDAP directory
- Increase the value of Read Timeout
オプション 2:
Administration > Users > User Directories
に移動します。- Edit the LDAP directory
- Disable the Follow Referral option