cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

Accepted Solutions
Anonymous
Not applicable

Re: Gateway Offline or Can't Be Reached

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 Super Contributor
Super Contributor

Re: Gateway Offline or Can't Be Reached

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

Re: Gateway Offline or Can't Be Reached

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

v-danhe-msft Super Contributor
Super Contributor

Re: Gateway Offline or Can't Be Reached

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
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 150 members 1,624 guests
Please welcome our newest community members: