Pro-Exchange,Lync & Office 365
Belgian Microsoft Unified Communications Professionals
Microsoft Exchange Server, Microsoft Lync Server & Office 365
Creation & Management of Persistent Chat Rooms Fails in Lync 2013

When trying to Edit or Create a Persistent Chat Room in Lync  2013 you may encounter a problem opening the Persistent Chat Room management web site.

Error : “Server Could not process your request. Please try again later”

image

While this error does not give you a clear indication what is wrong we can check other things on the server.

  • Check the Persistent Chat Server state
  • Check the Application log for ASP.NET Errors
  • Use OCSLogger.exe and find problems related to Persistent Chat

 

image

The state of the Persistent Chat service is normal

 

image

 

We find an ASP.NET error but without any clear indication what is wrong

 

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 4/17/2013 1:22:39 PM
Event time (UTC): 4/17/2013 11:22:39 AM
Event ID: d66e27a7a4ee4b81a7a95c97c3a48b92
Event sequence: 11
Event occurrence: 5
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/34578/ROOT/PersistentChat/RM/Handler-7-130106607609071496
    Trust level: Full
    Application Virtual Path: /PersistentChat/RM/Handler
    Application Path: C:\Program Files\Microsoft Lync Server 2013\Web Components\PersistentChat\Ext\RM\Handler\
    Machine name: SERVER
 
Process information:
    Process ID: 11644
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE
 
Exception information:
    Exception type: FailureResponseException
    Exception message: A 504 (Server time-out) response was received from the network and the operation failed. See the exception details for more information.
   at Microsoft.Rtc.Collaboration.PersistentChat.Internal.AsyncResultNoResult.EndInvoke(Int32 millisecondsTimeout)
   at Microsoft.Rtc.Collaboration.PersistentChat.Internal.MessageRouter.EndCommand(GenericAsyncResult`1 asyncCommand)

 
 
Request information:
    Request URL: https://externalurl.domain.com:4443/PersistentChat/RM/Handler/ManagementHandler.ashx
    Request path: /PersistentChat/RM/Handler/ManagementHandler.ashx
    User host address: 192.168.0.1
    User: user@domain.com
    Is authenticated: True
    Authentication Type: WebTicketAssertions
    Thread account name: NT AUTHORITY\NETWORK SERVICE
 
Thread information:
    Thread ID: 62
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:    at Microsoft.Rtc.Collaboration.PersistentChat.Internal.AsyncResultNoResult.EndInvoke(Int32 millisecondsTimeout)
   at Microsoft.Rtc.Collaboration.PersistentChat.Internal.MessageRouter.EndCommand(GenericAsyncResult`1 asyncCommand)
 

Even using OCSLogger does not help us really

image

 

TL_INFO(TF_COMPONENT) [3]2D7C.10B4::04/17/2013-11:30:01.298.0000065d (ChatRoomManagement,Default.Page_Load:834.idx(63))(0000000000E11E04)Loading Room Management default page.
TL_INFO(TF_COMPONENT) [3]2D7C.10B4::04/17/2013-11:30:01.298.0000065e (ChatRoomManagement,Default.get_ValidRoomRequestFormat:834.idx(144))(0000000000E11E04)QueryString contains no 'id'.
TL_INFO(TF_COMPONENT) [3]2D7C.10B4::04/17/2013-11:30:01.298.0000065f (ChatRoomManagement,Default.get_ValidRoomRequestFormat:834.idx(144))(0000000000E11E04)QueryString contains no 'id'.
TL_INFO(TF_COMPONENT) [3]2D7C.10B4::04/17/2013-11:30:01.300.00000660 (ChatRoomManagement,Default.FoundClientSpecifiedLanguage:834.idx(336))(0000000000E11E04)Trying to find the resource for client requested language en-US
TL_INFO(TF_COMPONENT) [0]2D7C.10B4::04/17/2013-11:30:01.301.00000661 (ChatRoomManagement,Default.FoundClientSpecifiedLanguage:834.idx(343))(0000000000E11E04)Resource en-US matches the client requested language en-US
TL_INFO(TF_COMPONENT) [0]2D7C.10B4::04/17/2013-11:30:01.301.00000662 (ChatRoomManagement,Default.FoundClientSpecifiedLanguage:834.idx(336))(0000000000E11E04)Trying to find the resource for client requested language en-US
TL_INFO(TF_COMPONENT) [0]2D7C.10B4::04/17/2013-11:30:01.301.00000663 (ChatRoomManagement,Default.FoundClientSpecifiedLanguage:834.idx(343))(0000000000E11E04)Resource en-US matches the client requested language en-US
TL_INFO(TF_COMPONENT) [1]2D7C.3714::04/17/2013-11:30:09.764.00000664 (ChatRoomManagement,ManagementHandler.BeginProcessRequest:2092.idx(372))(0000000002F5F5AF)BeginProcessRequest: Trying to figure the exact request from client side
TL_INFO(TF_COMPONENT) [1]2D7C.3714::04/17/2013-11:30:09.764.00000665 (ChatRoomManagement,ManagementHandler.BeginProcessRequest:2092.idx(390))(0000000002F5F5AF)BeginProcessRequest: About to process landing page request.
TL_INFO(TF_COMPONENT) [1]2D7C.3714::04/17/2013-11:30:09.765.00000666 (ChatRoomManagement,ManagementBase.constructor:1199.idx(50))Trying to get the identity of the sip-authenticated user.
TL_INFO(TF_COMPONENT) [1]2D7C.3714::04/17/2013-11:30:09.767.00000667 (ChatRoomManagement,ManagementBase.GetNewConnection:1199.idx(84))(000000000218BE67)Primary home server: server.domain.com
TL_INFO(TF_COMPONENT) [1]2D7C.3714::04/17/2013-11:30:09.767.00000668 (ChatRoomManagement,ManagementBase.ConnectPersistentChatServer:1199.idx(178))(000000000218BE67)About to get provisioning data for userEndpoint
TL_INFO(TF_COMPONENT) [0]2D7C.3714::04/17/2013-11:30:09.824.00000669 (ChatRoomManagement,ManagementBase.ConnectPersistentChatServer:1199.idx(216))(000000000218BE67)About to establish Persistent chat endpoint to sip:GC-1-PersistentChatService-17@domain.be
TL_INFO(TF_COMPONENT) [2]3330.1B6C::04/17/2013-11:30:09.870.0000066a (ChatServer,UcmaTransport.HandleSignaling_SessionReceived:1732.idx(399))(0000000001A5B562)Session invite from <sip:server.domain.com:5041;grid>. Details=Federated: False, UserAgent: RTCC/5.0.0.0 rmweb/5.0.0.0, ClientVersion: 0.0.0.0/Current
TL_INFO(TF_COMPONENT) [1]3330.1B6C::04/17/2013-11:30:09.874.0000066b (ChatServer,ChannelServer.ShouldAcceptIncomingSession:663.idx(1379))(00000000012719D7)IncomingUser: <sip:user@domain.com:ebd59c1c-7f4c-4ac6-ae57-96bce934a6aa>, Federated: <False>, Result: <Allowed>, ActiveEndpoints: <4>, ActiveUsers: <3>, Principal: <[10]sip:user@domain.com> fetch took <00:00:00.0000573>.
TL_ERROR(TF_COMPONENT) [1]2D7C.3714::04/17/2013-11:30:10.058.0000066c (ChatRoomManagement,ManagementBase.ConnectPersistentChatServer:1199.idx(230))(000000000218BE67)Failed to establish Persistent chat endpoint to sip:GC-1-PersistentChatService-17@domain.be because of Command failed - see inner exception for details.
TL_ERROR(TF_COMPONENT) [1]2D7C.3714::04/17/2013-11:30:10.083.0000066d (ChatRoomManagement,ManagementHandler.BeginProcessRequest:2092.idx(555))(0000000002F5F5AF)Exception on BeginProcessRequest: Microsoft.Rtc.Collaboration.PersistentChat.CommandFailedException: Command failed - see inner exception for details. ---> Microsoft.Rtc.Signaling.FailureResponseException: A 504 (Server time-out) response was received from the network and the operation failed. See the exception details for more information.
   at Microsoft.Rtc.Collaboration.PersistentChat.Internal.AsyncResultNoResult.EndInvoke(Int32 millisecondsTimeout)
   at Microsoft.Rtc.Collaboration.PersistentChat.Internal.MessageRouter.EndCommand(GenericAsyncResult`1 asyncCommand)
   --- End of inner exception stack trace ---
   at Microsoft.Rtc.Collaboration.PersistentChat.Internal.AsyncResultNoResult.EndInvoke(Int32 millisecondsTimeout)
   at Microsoft.Rtc.Collaboration.PersistentChat.PersistentChatEndpoint.EndEstablish(IAsyncResult asyncResult)
   at Microsoft.Rtc.Internal.RMWebHandler.ManagementBase.ConnectPersistentChatServer(UserEndpoint userEndpoint)
   at Microsoft.Rtc.Internal.RMWebHandler.ManagementBase.GetNewConnection(CollaborationPlatform collabPlatform, String sSipUri)
   at Microsoft.Rtc.Internal.RMWebHandler.ManagementLanding..ctor(CollaborationPlatform collabPlatform, HttpContext cntx, String localRegistrarFqdn)
   at Microsoft.Rtc.Internal.RMWebHandler.ManagementHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)!

 

RESOLUTION:

While all of these logs and messages don’t say anything I decided to move my user which was currently hosted on the SBA in a branch office to the Front-End Server in the Datacenter and surprisingly this fixed the Persistent Chat Room website issues.
So I guess this must still be a bug in Lync 2013

 

image


Posted 04-17-2013 3:56 by Johan Delimon

Comments

NextHop wrote Lync MVP Article Roundup: April 2013
on 05-10-2013 12:49

Lync MVPs are a fountain of deep knowledge on Lync Server. But keeping up with the dozens of great articles

http://200.10.221.71/?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Ffuturecheats.com%2Ffifa-15-coin-generator%2F%3Efifa+15+coins%3C%2Fa%3E wrote http://200.10.221.71/?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Ffuturecheats.com%2Ffifa-15-coin-generator%2F%3Efifa+15+coins%3C%2Fa%3E
on 09-13-2014 10:23

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

http://www.divoch.net/php.php?a%5B%5D=use+an+dragon+story+hack+online+-+%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Fdragon-story-cheats%2F%3Efull+report%3C%2Fa%3E%2C wrote http://www.divoch.net/php.php?a%5B%5D=use+an+dragon+story+hack+online+-+%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Fdragon-story-cheats%2F%3Efull+report%3C%2Fa%3E%2C
on 09-14-2014 4:10

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

look at more info wrote look at more info
on 10-02-2014 3:29

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

fifa 15 coins wrote fifa 15 coins
on 10-03-2014 11:17

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

total stranger wrote total stranger
on 10-03-2014 3:07

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

click this link now wrote click this link now
on 10-03-2014 8:00

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

fifa 15 coins wrote fifa 15 coins
on 10-03-2014 11:44

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

http://web.primo-net.com.tw/images/info.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Ftop-eleven-hack%2F%3ETop+Eleven+hack%3C%2Fa%3E wrote http://web.primo-net.com.tw/images/info.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Ftop-eleven-hack%2F%3ETop+Eleven+hack%3C%2Fa%3E
on 10-04-2014 11:51

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

online top eleven hack wrote online top eleven hack
on 10-05-2014 7:20

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

Dota 2 Cheats wrote Dota 2 Cheats
on 10-05-2014 7:37

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

fifa 15 coin generator wrote fifa 15 coin generator
on 10-05-2014 7:04

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

fifa 15 coin generator wrote fifa 15 coin generator
on 10-05-2014 7:09

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

http://webhotel1.webhosting.dk/phpinfo.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Fclash-of-clans-hack%2F%3Ehack+clash+of+clans%3C%2Fa%3E wrote http://webhotel1.webhosting.dk/phpinfo.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Fclash-of-clans-hack%2F%3Ehack+clash+of+clans%3C%2Fa%3E
on 10-05-2014 8:33

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

call of duty advanced warfare prestige hack wrote call of duty advanced warfare prestige hack
on 10-06-2014 2:04

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

http://saturn.swiff.no/~vidar/?a%5B%5D=criminal+case+hack%3B+%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Fcriminal-case-cheats%2F%3Enavigate+here%3C%2Fa%3E%2C wrote http://saturn.swiff.no/~vidar/?a%5B%5D=criminal+case+hack%3B+%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Fcriminal-case-cheats%2F%3Enavigate+here%3C%2Fa%3E%2C
on 10-07-2014 7:03

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

blitz brigade hack online wrote blitz brigade hack online
on 10-07-2014 11:54

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

uncommonmenfrommars.net wrote uncommonmenfrommars.net
on 10-07-2014 4:21

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

castle clash hack wrote castle clash hack
on 10-07-2014 5:53

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

http://sit.provincia.ogliastra.it/sez_db/info.php?a%5B%5D=simpsons+tapped+out+hack%3B+%3Ca+href%3Dhttp%3A%2F%2Ffuturecheats.com%2Fsimpsons-tapped-out-cheats%2F%3Efuturecheats.com%3C%2Fa%3E%2C wrote http://sit.provincia.ogliastra.it/sez_db/info.php?a%5B%5D=simpsons+tapped+out+hack%3B+%3Ca+href%3Dhttp%3A%2F%2Ffuturecheats.com%2Fsimpsons-tapped-out-cheats%2F%3Efuturecheats.com%3C%2Fa%3E%2C
on 10-07-2014 7:56

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

stardom hollywood cheats wrote stardom hollywood cheats
on 10-07-2014 11:36

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

hack clash of clans wrote hack clash of clans
on 10-08-2014 2:43

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

fifa 15 coin generator wrote fifa 15 coin generator
on 10-08-2014 1:08

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

http://websupport.montana.com/phpinfo.phtml?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.yarana.com%2F__media__%2Fjs%2Fnetsoltrademark.php%3Fd%3Dgenerateurdecreditsfifa15.social-cheats.com%3Ehttp%3A%2F%2Fnetworksolutionsblows.biz%2F__media__%2Fjs%2Fnetsoltrademark.php%3Fd%3Dgenerateurdecreditsfifa15.social-cheats.com%3C%2Fa%3E wrote http://websupport.montana.com/phpinfo.phtml?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.yarana.com%2F__media__%2Fjs%2Fnetsoltrademark.php%3Fd%3Dgenerateurdecreditsfifa15.social-cheats.com%3Ehttp%3A%2F%2Fnetworksolutionsblows.biz%2F__media__%2Fjs%2Fnetsoltrademark
on 10-09-2014 1:17

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

generateur credit fifa 15 wrote generateur credit fifa 15
on 10-11-2014 12:04

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

http://ns.km21901-15.keymachine.de/php.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fns4.freeheberg.com%2F%7Esoftfm%2Fforum%2Fprofile.php%3Fsection%3Dpersonality%26id%3D313360%3Egenerateur+de+credits+fifa+15%3C%2Fa%3E wrote http://ns.km21901-15.keymachine.de/php.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fns4.freeheberg.com%2F%7Esoftfm%2Fforum%2Fprofile.php%3Fsection%3Dpersonality%26id%3D313360%3Egenerateur+de+credits+fifa+15%3C%2Fa%3E
on 10-11-2014 4:18

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

generateur de credits fifa 15 wrote generateur de credits fifa 15
on 10-12-2014 6:02

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

generateur de credit fifa 15 wrote generateur de credit fifa 15
on 10-14-2014 1:37

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

generateur de credit fifa 15 wrote generateur de credit fifa 15
on 10-16-2014 4:58

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

visit the following website page wrote visit the following website page
on 10-27-2014 1:28

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

http://www.boxfights.com wrote http://www.boxfights.com
on 10-27-2014 7:02

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

matrix costumes for adults wrote matrix costumes for adults
on 11-06-2014 7:41

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

http://doo.lu/scrhm wrote http://doo.lu/scrhm
on 11-10-2014 5:42

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

using the hay day hack wrote using the hay day hack
on 11-12-2014 8:41

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

Boom Beach Hack wrote Boom Beach Hack
on 11-12-2014 3:05

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

clash of clans cheats wrote clash of clans cheats
on 11-12-2014 10:24

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

try these guys wrote try these guys
on 11-13-2014 1:51

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

more info here wrote more info here
on 11-13-2014 9:57

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

http://www.sensitiv.dk/sys6_site/modules/import_template/showme.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Ffuturecheats.com%2Fclash-of-clans-hack%2F%3Ehttp%3A%2F%2Ffuturecheats.com%2Fclash-of-clans-hack%2F%3C%2Fa%3E wrote http://www.sensitiv.dk/sys6_site/modules/import_template/showme.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Ffuturecheats.com%2Fclash-of-clans-hack%2F%3Ehttp%3A%2F%2Ffuturecheats.com%2Fclash-of-clans-hack%2F%3C%2Fa%3E
on 11-15-2014 1:25

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

http://tinylink.in/2SBP0 wrote http://tinylink.in/2SBP0
on 11-15-2014 7:15

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365

tf3.info wrote tf3.info
on 11-16-2014 12:18

Creation & Management of Persistent Chat Rooms Fails in Lync 2013 - Lync 2013 - Pro-Exchange,Lync & Office 365