Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

On premse gateway error

Does anyone have an idea what could be causing these errors?

 

1. Failed to create gateway. Please try again.

Request error: Id: '9aedf2f8-fba1-4bae-ad59-843e1b5933e4', Status code: 'Forbidden', Timestamp: '11/13/2017 04:32:32 +00:00', ErrorCode: 'TokenExpired', Detail: ''

 

2. Gateway service health check failed.

Below is the stack trace:

Microsoft.PowerBI.DataMovement.Pipeline.GatewayClient.GatewayConfigurationClientException: Error getting Gateway service health data. ---> System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.

 

 

1 ACCEPTED SOLUTION
v-haibl-msft
Employee
Employee

@Anonymous

 

Please check your firewall or proxy blocks connection following this document.

 

You can also try to force the gateway to communicate with Azure Service Bus using HTTPS instead of direct TCP. You will need to modify the Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.dll.config file. Change the value from AutoDetect to Https. This file is located, by default, at C:\Program Files\On-premises data gateway.

 

<setting name="ServiceBusSystemConnectivityModeString" serializeAs="String">
    <value>Https</value>
</setting>

 

Best Regards,
Herbert

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thanks for all your comments gentlemen. It was the firewall blocking some of the ports and domains. It's all good now.

v-haibl-msft
Employee
Employee

@Anonymous

 

Please check your firewall or proxy blocks connection following this document.

 

You can also try to force the gateway to communicate with Azure Service Bus using HTTPS instead of direct TCP. You will need to modify the Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.dll.config file. Change the value from AutoDetect to Https. This file is located, by default, at C:\Program Files\On-premises data gateway.

 

<setting name="ServiceBusSystemConnectivityModeString" serializeAs="String">
    <value>Https</value>
</setting>

 

Best Regards,
Herbert

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors