Error installing workflow manager: Add-wfhost raises exception

Source: Internet
Author: User

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/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.