Hello everyone,
I have been running a SharePoint 2013 farm with Workflow Manager for over 2 years now with no issues, but as of today, all the SharePoint 2013 workflows stopped working. When i try to view a workflow attached to a list, I get An Unexpected Error Has Occurred, but the ULS logs show me the following error:
Current identity context: '{"elevated":"true","nameid":"."}'e77f869d-19c6-0030-7223-53a406bb4c36
Created OAuth2 bearer credentials: {"claims":{},"_isM4ElevationBehaviorEnabled":"true"}e77f869d-19c6-0030-7223-53a406bb4c36
Authenticating OAuth2 Bearer challenge.
Retrieving the authentication realm for context '00000000-0000-0000-0000-000000000000'.
Retrieved the authentication realm for context '00000000-0000-0000-0000-000000000000' as '0216aeaa-8a46-461e-9c03-1cef2c6c9300'.
Using elevated OAuth2 bearer credentials.
Issuing OAuth2 S2S token for identity '00000005-0000-0000-c000-000000000000/WORKFLOWSERVER:12291@0216aeaa-8a46-461e-9c03-1cef2c6c9300'. tokenType: 2
Getting OAuth2 actor token for identity '00000005-0000-0000-c000-000000000000/WORKFLOWSERVER:12291@0216aeaa-8a46-461e-9c03-1cef2c6c9300'.
Token request correlation id: 'df7f869d-a9ed-0030-7223-5281f54c35c0'.
OAuth2 S2S Bearer Token: eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlJqeW9pNGdHLUxKZE1DaHVTMGpSdXN0X0xaVSJ9.eyJhdWQiOiIwMDAwMDAwNS0wMDAwLTAwMDAtYzAwMC0wMDAwMDAwMDAwMDAvbXRhc2hhcmVwdHdmZTAyOjEyMjkxQDAyMTZhZWFhLThhNDYtNDYxZS05YzAzLTFjZWYyYzZjOTMwMCIsImlzcyI6IjAwMDAwMDAzLTAwMDAtMGZmMS1jZTAwLTAwMDAwMDAwMDAwMEAwMjE2YWVhYS04YTQ2LTQ2MWUtOWMwMy0xY2VmMmM2YzkzMDAiLCJuYmYiOiIxNDY2MDIzNjI3IiwiZXhwIjoiMTQ2NjE1MzIyNyIsIm5hbWVpZCI6IjAwMDAwMDAzLTAwMDAtMGZmMS1jZTAwLTAwMDAwMDAwMDAwMEAwMjE2YWVhYS04YTQ2LTQ2MWUtOWMwMy0xY2VmMmM2YzkzMDAifQ
Application error when access /_layouts/15/Workflow.aspx, Error=The remote server returned an error: (401) Unauthorized. at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result) at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult
result) at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)e77f869d-19c6-0030-7223-53a406bb4c36
System.Net.WebException: The remote server returned an error: (401) Unauthorized. at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result) at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult
result) at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)e77f869d-19c6-0030-7223-53a406bb4c36
Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Workflow.Client.AuthenticationException: Authentication Failed. Valid credentials
must be provided for one of the following protocols: Bearer, Negotiate. HTTP headers received from the server - ActivityId: 1c52e531-cf1f-43d2-a41c-f7a29aed7e15. NodeId: MTASHAREPTWFE02. Scope: /SharePoint/default/570cf36c-5364-4e0d-91c2-b0f7e1463cfb/8cba2aa0-b7f9-4652-ab71-cd9775189cc6.
WWW-Authenticate: Bearer realm="0216aeaa-8a46-461e-9c03-1cef2c6c9300", client_id="00000005-0000-0000-c000-000000000000", trusted_issuers="00000003-0000-0ff1-ce00-000000000000@c72f8383-a0a5-456d-81e5-c38b124f5599", scope="/SharePoint/default/570cf36c-5364-4e0d-91c2...e77f869d-19c6-0030-7223-53a406bb4c36
...-b0f7e1463cfb/8cba2aa0-b7f9-4652-ab71-cd9775189cc6", error="invalid_token", error_description="The JSON web token's X.509 certificate thumbprint 'Rjyoi4gG-LJdMChuS0jRust_LZU' did not match any known trusted issuer public key certificates.",Bearer
realm="0216aeaa-8a46-461e-9c03-1cef2c6c9300", client_id="00000005-0000-0000-c000-000000000000", trusted_issuers="00000003-0000-0ff1-ce00-000000000000@c72f8383-a0a5-456d-81e5-c38b124f5599", scope="/SharePoint/default",
error="invalid_token", error_description="The JSON web token's X.509 certificate thumbprint 'Rjyoi4gG-LJdMChuS0jRust_LZU' did not match any known trusted issuer public key certificates.",Negotiate,Negotiate,NTLM. Client ActivityId : e77f869d-19c6-0030-7223-53a406bb4c36.
---> System.Net.WebException: The remote server returned an erro...e77f869d-19c6-0030-7223-53a406bb4c36
...r: (401) Unauthorized. at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result) at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result) at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest
request, T content) --- End of inner exception stack trace --- at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) at Microsoft.Workflow.Client.InstanceManager.GetInternal(Int32
skip, Int32 count, String workflowName, WorkflowInstanceStatus workflowStatus, IDictionary`2 activationMetadataFilter) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.EnumerateByMonitoringParameter(Guid monitoringParameter,
Int32 offset, Int32 count, Boolean checkPermis...e77f869d-19c6-0030-7223-53a406bb4c36
...sions, Nullable`1 secondaryMonitoringParameter) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.EnumerateInstancesForListItem(Guid listId, Int32 itemId, Int32 offset) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.EnumerateInstancesForListItem(Guid
listId, Int32 itemId) at Microsoft.SharePoint.WorkflowServices.ApplicationPages.WorkflowPageBase.ConstructStatusArraysWF4(ArrayList running, ArrayList completed, Boolean onlyMyWorkflows) at Microsoft.SharePoint.WorkflowServices.ApplicationPages.WorkflowPage.ConstructStatusArrays() at Microsoft.SharePoint.WorkflowServices.ApplicationPages.WorkflowPage.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStag...e77f869d-19c6-0030-7223-53a406bb4c36
...esBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)e77f869d-19c6-0030-7223-53a406bb4c36
e77f869d-19c6-0030-7223-53a406bb4c36
If someone can point me in the right direction, I'd appreciate it.
Thanks in advanced.
Fausto Capellan, Jr - SharePoint Admin