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

On-Premises data gateway: Network ports test - Incomplete (Failed to connect to network)

Hi power addicts,

 

I am experiencing an ongoing problem with my data gateway. I have never been able to have a consistent scheduled refresh due to some configuration problem. I have the latest version (June 2020) installed on an Azure VM. I have created the rules in my network security group in Azure to allow open ports for the specified outbound connections. I have even turned off my VM's firewall to troubleshoot the issue. The only resolution is to kill the gateway and re-open it. But, I have to do this intermittently and at least every day if my scheduled refresh is to succeed. Yes, restarting my VM or closing and reopening the gateway always creates a successful test and connection results but the connection is never maintained after an undetermined amount of time.

 

Here is an example of a successful test and subsequent scheduled refresh yesterday (after a reboot and/or restarting the gateway). This morning, the same test fails and so does my scheduled refresh. For the record, my VM is still connected to the network with access to the public internet and my corporate domain. I have read the documentation and the community posts but cannot seem to find a solution or resolve this issue.

successful_test.pngfailed_test.png

In advance, thank you so much!

 

With gratitude,

Nick

2 REPLIES 2
lbendlin
Super User
Super User

Ignore these network port tests, they are useless in any company that properly protects and partitions their network.

 

Switch all your gateways to HTTPS, and then set  up manual proxies if needed.

 

Cause 6: Cannot register new gateway cluster member 

Solution 6: Enforce usage of proxy 

https://docs.microsoft.com/en-us/data-integration/gateway/service-gateway-proxy 

Modify the following files: 

C:\Program Files\On-premises data gateway\enterprisegatewayconfigurator.exe.config 

C:\Program Files\On-premises data gateway\Microsoft.PowerBI.EnterpriseGateway.exe.config 

C:\Program Files\On-premises data gateway\m\Microsoft.Mashup.Container.NetFX45.exe.config 

With the following change to the default proxy parameter 

        <defaultProxy useDefaultCredentials="true" enabled="true"> 

        <proxy proxyaddress="http://yourproxy:port/" bypassonlocal="true" /> 

        </defaultProxy> 

Then restart the Gateway service and complete the registration. 

Anonymous
Not applicable

@nbrady how did you solve this issue?

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.