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

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
Employee
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
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