GroupChat Server is not syncing in changes to Chat Room membership, via Distribution List

Symptom:

GroupChat Server is not syncing in changes to Chat Room membership, via Distribution List

Cause:

This issue could happen, if the changes to the Distribution list are not completely synced in from the DC. In certain scenarios, we have a number of ports on the GroupChat Server in TIME_WAIT state when talking to the GC.

The following log entry in ChannelServer log, may be used to determine such a state:

276799 Microsoft.Rtc.Chat.MgcCommon.Exceptions.MgcActiveDirectoryException: Error accessing active directory. ---> System.Runtime.InteropServices.COMException (0x8007203A): The server is not operational.

Multiple instances of:

262061 DEBUG |20100917-14:04:53.126| 14: |ActiveDirectoryConne.ConnectToAD | connecting to AD host <… >

Solution\Workaround:

Considering lowering the value of TcpTimedWaitDelay. The default is fairly high.

https://technet.microsoft.com/en-us/library/cc757512(WS.10).aspx

Consider increasing the number of available ports.

https://technet.microsoft.com/en-us/library/cc758002(WS.10).aspx

Verification:

After making the above changes (which do require a reboot) monitor the ChannelServer logs for instances of the traces mentioned in the Cause Section.