Forum Discussion

Jorge Vasques's avatar
Jorge Vasques
Copper Contributor
Dec 21, 2017

Configuring Workflow Manager error

I'm getting this error when configuring Workflow Manager:

 

The exception of the last retry is: The token provider service was not avaliable when obtaining a token for  'https://iis-dev5.dev.net:9355/WorkflowDefaultNamespace/$STS/Windows/'.. 

 

 

System.Management.Automation.CmdletInvocationException: Could not successfully create management Service Bus entity 'WF_Management/WFTOPIC' with multiple retries within a timespan of 00:02:05.7725535.. The exception of the last retry is: The token provider service was not avaliable when obtaining a token for 'https://iis-dev5.dev.net:9355/WorkflowDefaultNamespace/$STS/Windows/'..  ---> System.TimeoutException: Could not successfully create management Service Bus entity 'WF_Management/WFTOPIC' with multiple retries within a timespan of 00:02:05.7725535.. The exception of the last retry is: The token provider service was not avaliable when obtaining a token for 'https://iis-dev5.dev.net:9355/WorkflowDefaultNamespace/$STS/Windows/'..  ---> Microsoft.ServiceBus.Messaging.MessagingException: The token provider service was not avaliable when obtaining a token for 'https://iis-dev5.dev.net:9355/WorkflowDefaultNamespace/$STS/Windows/'. ---> Microsoft.ServiceBus.TokenProviderException: The token provider service was not avaliable when obtaining a token for 'https://iis-dev5.dev.net:9355/WorkflowDefaultNamespace/$STS/Windows/'. ---> System.Net.WebException: The remote server returned an error: (502) Bad Gateway.

Regards,

Jorge

1 Reply

  • 502 means there is an upstream proxy between you and the SharePoint site you're attempting to bind with and that proxy did not respond correctly. Look to eliminate the proxy.