Issue
The Riva Service Monitor displays Error - Unable to connect to server [ErrorConnectionFailed], and the following error appears in the crmex-log files:
2012-09-06 10:50:01,680 WARN [CTP-giz #0] [1815628545] Service response error: [ErrorConnectionFailed] Connection did not succeed. Try again later.
2012-09-06 10:50:01,680 INFO [CTP-giz #0] [1815628545] [XSIF] Error - Unable to connect to server: [ErrorConnectionFailed] [?]
2012-09-06 10:50:01,680 INFO [CTP-giz #0] [1815628545] Error - Unable to connect to server: [ErrorConnectionFailed]
2012-09-06 10:50:01,680 INFO [CTP-giz #0] [1815628545] [XSIF] Poll completed [?]
2012-09-06 10:50:01,680 ERROR [CTP-giz #0] [1815628545] [XSIF] Error occurred polling for changes
Omni.Connection.Ews.EwsServerException: Unable to connect to server: [ErrorConnectionFailed] ---> Microsoft.Exchange.WebServices.Data.ServiceResponseException: Connection did not succeed. Try again later.
Cause
The CRM Agent Service suffers an error connecting to Exchange Web Services in the middle of a sync cycle after the initial connection is successful. This can be caused by the EWS timeout value for Riva being too short.
Solution
Do the following:
-
Confirm that the Exchange Web Services server is available and not overtaxed. Check for processes that may be hogging CPU usage or system memory or requiring excessive disk IO. Resolve the issues that you find.
-
Check for excessive network bandwidth consumption and resolve the issues that you find.
-
On the Riva server, adjust the timeout value that the CRM Agent service will use. For instructions, see Exchange: Options to handle Web Service connection timeouts.
- If adjusting the timeout value does not resolve the issue, reduce the total number of execution threads set in each sync policy. For instructions, see The Connection Options page: Execution threads. If multiple sync policies are enabled, you can control the maximum number of concurrent execution threads consumed by the CRM Agent service.
Applies to
-
Riva for Exchange using EWS connections.