Outlook disconnects from Exchange 2013 several times an hour.

[Edit: I did figure out a little more of the issue. I have figured out that what is causing this is the IIS Application Poll that The Exchange 2013 installer creates by default when installing called "MSExchangeRpcProxyAppPool". The server is recycling the RPC Application Pool every 20 - 30 minutes or so. I have recycling completely turned off  on this pool yet it still restarts which leads me to believe it may be a code problem since it only should recycle if the poll crashes. Short of a bug in the code somewhere, I for the life of me can not find why the Application Pool keeps restarting. This is the only pool out of all the ones Exchange created during installation that is recycling constantly. It is frustrating because our Outlook Anywhere clients keep getting disconnection messages several times an hour because of this. The event logs I listed below are the only event logs I can find that trigger when the pool recycles, so as you can see, they give me no useful information in debugging the problem.]

This problem only applies to outlook clients using RPC over HTTP. ActiveSync, OWA and EWS are working fine.

There is a problem with the RPC over HTTP tunnel on our server. Every 20-30 minutes, sometimes more sometimes less, but usually with in that 20-30 minute timeframe, the RPC over HTTP tunnel drops and all Outlook Anywhere clients get immediately disconnected. IT comes back up very fast and all clients reconnect with in a matter of seconds. Not a huge deal for people using cached mode outlook but all the non-cached mode people (Thin clients are an example are not using cached mode to save diskspace). People using non-cached mode would get a couple errors pop up and outlook stopped working.

The only relevant entries I have found in the exchange server event log are here. These same grouping of events show up everytime the RPC over HTTP tunnel shuts down and restarts. I just can't figure out why its doing it:

1-23-2013 9:21:18 AM RPC Proxy 4 (1)
-- RPC Proxy successfully loaded in Internet Information Services (IIS).

1/23/2013 9:22:41 AM WAS 5138 None
--- A worker process '75832' serving application pool 'MSExchangeRpcProxyAppPool' failed to stop a listener channel for protocol 'http' in the allotted time.  The data field contains the error number.

1/23/2013 9:22:41 AM WAS 5013 None
--- A process serving application pool 'MSExchangeRpcProxyAppPool' exceeded time limits during shut down. The process id was '75832'.

I have been searching for weeks on the problem and all I really have found is that the problem can sometimes be caused by RPC timeouts so I set the RPC timeout on the server to 120 seconds via the registry. That actually helped for about 5 days and then the problem mysteriously came back and I can not get it to go away even though the registry value is still set to 120 seconds on that RPC time out.

Does anyone else know of any thing else that causes this? Its Exchange 2013 on Server 2012 and is a pretty fresh install. Was setup in mid-December.


--Trent W.




January 23rd, 2013 6:34pm

Hi Trent. I have the same exact problem... every 15-20 min

Martin

Free Windows Admin Tool Kit Click here and download it now
January 24th, 2013 2:23pm

Hello,

 

Thank you for your post.

 

This is a quick note to let you know that we are performing research on this issue.

 

Thanks,

January 25th, 2013 9:36am

try the below :)

a long term work around by adding a registry key that extends the timeout with the following key

HKEY_LOCAL_MACHINE/Software/Policies/Microsoft/Windows NT/MinimumConnectionTimeout

With a DWORD VALUE of 120

Free Windows Admin Tool Kit Click here and download it now
January 29th, 2013 8:15pm

try the below :)

a long term work around by adding a registry key that extends the timeout with the following key

HKEY_LOCAL_MACHINE/Software/Policies/Microsoft/Windows NT/MinimumConnectionTimeout

With a DWORD VALUE of 120

See, I found that possible solution through some google searches. I tried that a few weeks ago and it seemed to work for a few days but then started doing it again.

After I posted this thread, the RPC Tunnel started behaving for a couple days and didn't drop connections, through no action from me. I checked again before I posted this reply and noticed the exchange server started dropping all RPC over HTTP connections again every 20-20 minutes this morning right after midnight and has been doing it ever since.

That DWORD value has been set on the server since the middle of December, and I did double check to make sure it was still set. I've rebooted the server several times since I set that value as well.


January 31st, 2013 6:18pm

Still no news regarding this issue... I have also tried to set the MinimumConnectionTimeout without any luck

Martin


Free Windows Admin Tool Kit Click here and download it now
February 5th, 2013 11:27am

I know, it still happens sporadically to me still. Not sure why my response was marked as an "answer", I wasn't saying it was fixed, I was saying that it still happens.

As an example, this weekend, the exchange server worked perffectly. IT wasn't disconnecting outlook clients connected via RPC over HTTPS and was behaving really well.

I came into the office this morning and the server was doing it again. All clients connected via RPC over HTTPS have been disconnecting and reconnecting every 20-30 minutes since midnight this morning. Nothing was done by me or anyone else that would have changed anything or make the RPC over HTTP start being unstable again.

I have set that Registry value and all it did was turn a chronic problem into a sporadic problem.

February 5th, 2013 6:17pm

Hello,

 

Thank you for your post.

 

This is a quick note to let you know that we are performing research on this issue.

 

Thanks,

Free Windows Admin Tool Kit Click here and download it now
May 7th, 2013 5:04pm

Hello

Did you find anything about this problem, since last post?

Thanks.

June 10th, 2013 11:01pm

I'm having the exact same errors and same symptoms.  Every few minutes Outlook disconnects and reconnects.  At the same time I get those same errors logged as the OP.  Is there any resolution to this issue yet?
Free Windows Admin Tool Kit Click here and download it now
June 20th, 2013 8:31pm

This just started happening to me as well... can it also be related to any of the recent windows updates? I've been running exchange 2013 about three months and this was not happening until last week. Now it is frequent, and it seems like the disconnect is fairly long... several minutes...
July 1st, 2013 9:06pm

I have been experiencing this issue since we started the migration/co-existence with exchange 2007 and 2013. I have also been noticing some rpc service stops and restarts, as well as watching connections drop in outlook. I have opened a case with Microsoft and they have reported back to stop the Microsoft Exchange Health Manager Service on all your 2013 cas and mailbox servers. I did this as well as put the service to manual start-up so hopefully it doesn't get turned back on. After this, restart the Microsoft Exchange RPC Client Access service on all 2013 exchange servers. Since i have done this i haven't seen the rpc crashing nor have i seen any connections drop in outlook. This has been this way for about 4 hours. I will update later today but i think this might be the ticket. Now Microsoft will need to figure out the bug with that Health Manager Service.  A side note, i have been noticing my databases failing over to different servers with out any real reason that i can tell, and i think this health manager might be the culprit as well. As in the 4 hours today none of my database have failed to another server yet.
Free Windows Admin Tool Kit Click here and download it now
July 3rd, 2013 12:41pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics