I am attempting to register workflow manager with SharePoint 2013 and am running into the following error: (comment for response)
> Register-SPWorkflowService -site 'http://<site collection>/' -WorkflowHostUri "https://<workflow endpoint>:12290" -force 'Register-SPWorkflowService : The HTTP request has timed out after 200000 milliseconds.'
I have (currently) a 3 server build (not including domain controllers):
- SharePoint 2013 on Windows Server 2012 R2
- SQL 2012 on Windows Server 2012 R2
- Workflow Manager 1.0 Refresh on Windows Server 2012 R2
The SharePoint site collection is over http; and the Workflow manager endpoint is https.
The certificate is installed in the SharePoint server and is added under "Manage Trust"
Workflow Manager was initially installed on the SharePoint server; however it was later decided that it should be rolled out on its own server. Whilst it probably would have been a better idea to just leave the farms, then join them from the new server, I instead completely rebuilt the farms from scratch.
Workflow applications were removed from the SharePoint server:
- Workflow Manager 1.0
- Service Bus
- Windows Fabric
(Workflow Manager Client 1.0 was left on the server; version is 2.0.40131.0, which matches the version that ends up on the workflow manager server)
The databases were dropped from the database server. Workflow Manager 1.0 Refresh was then installed on the WFM server, with a service account used as the "Run As" account. The rest of the settings were left as default.
It took a while, but the Configuration Wizard ran with no errors.
The Workflow and service bus farm services are running (I had an issue with these earlier, which I thought might have been the cause, but no...)
However, when running the
Register-SPWorkflowService powershell cmdlet, I am receiving the above error.
Running Fiddler at the time of registration shows the error occurs when calling the URL /SharePoint/$Activities. This call hangs for a very long time (much longer than powershell is willing to wait for it) and eventually returns 503 - Service Unavailable with the following message:
Waiting five minutes and trying again has not remedied the problem.
Examining the Event log on the Workflow Manager server also shows the problem:
Here it shows a call made to /$Activities (as opposed to /SharePoint/$Activities) and is sending a message to /WF_Management scope.
I have not been able to find any more information about this issue.
Can anyone identify what might be causing this timeout, and how I could resolve this issue?