Workflow manager 1.0 (a.k. a. azure workflow) is the new workflow engine to support workflow in SharePoint 2013. this allows for a more scalable workflow engine which can be hosted on a separate (workflow) Farm. the other option is hosting the workflow engine on the same server where SharePoint 2013 is hosted.
To deploy my environment (s) I use powershell. This is the same with processing ing workflow manager 1.0. when running the workflow manager configuration it generates the powershell Command for you (see sample script ).
Add-wfhost exception when processing ing workflow manager
Although I use powershell scripts, it's very likely to have the same issue and errors when runningWorkflow Manager Configuration. When running my, slightly adjusted, script I got this error:
Add-wfhost: cocould not successfully create management service bus entity 'wf _ management/wftopic 'with multiple retries within a timespan of 00:02:05. 7093984 .. the exception of the last Retry is: the token Provider Service was not avaliable when obtaining a token for 'https: // vm-sp-01.contoso.com: 9355/workflowdefaultnamespace/$ STS/Windows /'.. at c: \ spinstall \ mcwmodules \ mcwspinstall. wfm1.0 \ ensure-Work Flowmanager. PS1: 117 CHAR: 19 + $ wfhost = add-wfhost-wffarmdbconnectionstring "Data Source = $ wfdbserver ;... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + Categoryinfo: operationstopped: (:) [add-wfhost], timeoutexception + fullyqualifiederrorid: wfruntimesettingfailed, Microsoft. workflow. Deployment. commands. addwfhost
Solution to "token service provider not available" issue
It seems the service bus is not available, which is a local server address. I tried disabling the loopback adaptor, but that didn't work out. after digging around some more I realized my environment has a proxy server. the checkbox "bypass proxy server for local addresses" was unchecked in the Internet Settings (Control Panel> Internet Options> Connections tab> LAN Settings).
After ensuring the local addresses are bypassed, The powershell script worked as a charm
[From] http://bramdejager.wordpress.com/2013/02/25/error-installing-workflow-manager-add-wfhost-raises-exception/