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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Gateway Offline or Can't Be Reached

I have an enterprise data gateway which resides on the same server as my SQL Server data source. I receive the "Your gateway is offline or cannot be reached" error message intermittently during daily refreshes. 

 

When this occurs I log onto the server to ensure the gateway is up and running. The gateway will show up as "online and ready to be used" and the network port test succeeds.  Yet when I try to run a refresh on the dataset in Power BI service this issue remains. I have tried running a trace on the data source while attempting to refresh the dataset but there doesn't seem to be any connectivity attemts to the datasource coming from the Power BI user.   

 

The gateway logs are showing one of the following errors:

 

1) A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.

 

2) The credentials provided for the SQL source are invalid.

 

3) Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.SqlDataAccessException: SqlException encountered while accessing the target data source

 

4) Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.MashupDataAccessCredentialException: Missing or invalid credentials for data source. Reason = 'AccessUnauthorized', DataSource = '<pi>XXXXX</pi>', DataSourceReference = '', DataSourceOrigin = '', DataSourceReferenceOrigin = ''.; ErrorShortName: MashupDataAccessCredentialException[ErrorCode=-2147467259,HResult=-2147467259]/Wrapped(MashupCredentialException)[ErrorCode=-2147467259,HResult=-2147467259]

 

5) Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.GatewayCancellationException: The operation failed due to an explicit cancellation.

 

 

On occasion I find that there are 2 Power BI datasets that refresh at the same time for the same source data. One will refresh fine while the other will give the "gateway offline or can't be reached" error. 

 

The issue is ongoing since October. I updated the gateway to the latest version in early December (November version) but the issue is ongoing. 

 

Does anyone have any ideas why this is happening or a possible solution?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for your response @v-danhe-msft

 

The only other datasources in the reports are spreadsheets residing in Sharepoint. I have raised a ticket with Microsoft Support. Hopefully they can get to the bottom of why this has been occuring for so long.

View solution in original post

3 REPLIES 3
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

Could you have checked if there is any other data source in your report? It seemed that you need to configure your gateway for the other data source or you could try to re-login your gateway to have a test, if the problem still could not be solved, please create a support ticket here: https://powerbi.microsoft.com/en-us/support/

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thanks for your response @v-danhe-msft

 

The only other datasources in the reports are spreadsheets residing in Sharepoint. I have raised a ticket with Microsoft Support. Hopefully they can get to the bottom of why this has been occuring for so long.

Hi @Anonymous,

Could you please mark one reply as Answered to close this topic?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.