403 Forbidden error while configuring WorkFlow Manager

 

When configuring WFM I recently got 403

System.Net.WebException: Remote Server returned the error: (403) Forbidden.
   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
   at System.Net.HttpWebRequest.GetRequestStream()
   at Microsoft.ServiceBus.TokenProviderHelper.GetWindowsAccessTokenCore(IEnumerator`1 stsUris, Func`2 uriBuilder, String requestToken, TimeSpan timeout, DateTime& expiresIn)
   --- Ende der internen Ausnahmestapelüberwachung ---
   at Microsoft.ServiceBus.TokenProviderHelper.ThrowException(Uri requestUri, WebException exception)
   at Microsoft.ServiceBus.TokenProviderHelper.GetWindowsAccessTokenCore(IEnumerator`1 stsUris, Func`2 uriBuilder, String requestToken, TimeSpan timeout, DateTime& expiresIn)
   at Microsoft.ServiceBus.WindowsTokenProvider.OnBeginGetWebToken(String appliesTo, String action, TimeSpan timeout, AsyncCallback callback, Object state)
   at Microsoft.ServiceBus.TokenProvider.GetWebTokenAsyncResult..ctor(TokenProvider tokenProvider, String appliesTo, String action, Boolean bypassCache, TimeSpan timeout, AsyncCallback callback, Object state)
   at Microsoft.ServiceBus.TokenProvider.BeginGetWebToken(String appliesTo, String action, Boolean bypassCache, TimeSpan timeout, AsyncCallback callback, Object state)
   at Microsoft.ServiceBus.TokenProviderUtility.GetMessagingWebToken(ITokenProvider tokenProvider, String appliesTo, String action, Boolean bypassCache, TimeSpan timeout)

 

Took out the installation logs to view more information and found Access Denied from the Service Bus. Also when trying to connect from SB explorer i get similar error.

The following error was detected while trying to get the URL: servicebusURL:9355
ERR_ACCESS_DENIED
Access denied.
The request was denied because of lacking access privilege. Please contact the service provider if you think this is an error.

 

Initially this looked more
like Access issue and tried different permission at the SB namespace level and
other resources.

Later took a WFM event
traces as below, enabled analytic and
debug log
for Microsoft-Workflow and Microsoft-Service bus event logs and
found.” Error message: The requested URL could not be retrieved

 

 
 
  
  
 The Error Message, the URL could not be retrieved is a generic error because it couldn’t find the Host. To overcome the above error, perform the following.

This is Access denied is the
proxy server and not from the service bus itself.

a) Open Internet
Explorer

b) Click Tools

c) Click Internet Options

d) Click the Connections tab

e) Click LAN settings

f) Uncheck any boxes that are in the Proxy server section

g)Check the Automatically
detect settings

g) Click OK

h) Close Internet Explorer.

and try connecting to SB explorer now and then try to configure WFM.

 

Hope this helps!!