Skip to content

Client web service is not configured or certificates have expired

Problem

You have any of the following errors in the event log:

Timestamp: 15:03:07.405
Message: Error peeking messages from SB queue.
Microsoft.ServiceBus.Messaging.ServerBusyException: The server was unable to process
the request; please retry the operation. If the problem persists, please contact
your Service Bus administrator and provide the tracking id..0f7414eb-03ab-4b0f-965d-9c990e64f073_GRIG51C30
---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: The
server was unable to process the request; please retry the operation. If the problem
persists, please contact your Service Bus administrator and provide the
tracking id..0f7414eb-03ab-4b0f-965d-9c990e64f073_GRIG51C30

Timestamp: 15:04:34.853
Message: Error when detecting/processing new command. Won't retry:
Microsoft.ServiceBus.Messaging.ServerBusyException: The server was unable to
process the request; please retry the operation. If the problem persists, please
contact your Service Bus administrator and provide the
tracking id..c9400be3-41ed-44b7-822b-2fa7e1e1f828_GRIG51C30 --->

Timestamp: 15:05:35.636
Message: Error when detecting/processing new command. Won't retry:
System.TimeoutException: The request has timed out after 60000 milliseconds.
The successful completion of the request cannot be determined. Additional queries
should be made to determine whether or not the operation has succeeded.
---> System.Net.WebException: The request was aborted: The request was canceled.

Message: Error when detecting/processing new command. Won't retry:
System.UnauthorizedAccessException: The token provider was unable to provide
a security token while accessing '<https://rig51c30.rig51.local:9355/ZervicePoint/$STS/Windows/>'.
Token provider returned message: 'Unable to connect to the remote server'. ---> System

Solution

These issues may occur when the Store scope is missing.

  • Start Internet Explorer
  • Enter https://zervicepoint.dev.local:12290/$ChildScopes # Replace zervicepoint.dev.local with your wfhostname
  • Enter the backend accounts credentials
  • Verify that the Store child scope is included. it should display the following XML:

    <?xml version="1.0"?>
    <Scopes xmlns="http://schemas.microsoft.com/workflow/2012/xaml/activities" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
        <ScopeInfo>
            <LastModified>2014-04-07T13:03:11.713</LastModified>
            <LastRevised>2014-04-07T13:03:11.713</LastRevised>
            <Path>/Store</Path>
            <Status>Active</Status>
        </ScopeInfo>
    </Scopes>
    

If the ScopeInfo is missing perform the following steps.

  • Start an elevated powershell prompt as the backend account ( Start-Process powershell.exe -Verb Runas )
  • Run the following command and don't forget to replace zervicepoint.dev.local with your wfhostname

    New-WFScope -ScopeUri https://zervicepoint.dev.local:12290/Store
    
  • Verify that the scope exists by running the following command.

    PS > Get-WFScope -ScopeUri https://zervicepoint.dev.local:12290/Store
    
    Path                         : /Store
    DisplayName                  :
    Status                       : Active
    UserComments                 :
    DefaultWorkflowConfiguration :
    SecurityConfigurations       : {}
    LastModified                 : 2014-04-07 13:03:11
    ChildScopeCount              : 0
    ActivityCount                : 0
    WorkflowCount                : 0
    RevisionNumber               : 0
    LastRevised                  : 2014-04-07 13:03:11
    
  • Restart the ZervicePoint server

  • Wait for the Workflowmanager & ServiceBus services to start
  • Done