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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Knud
Frequent Visitor

Failed to update gateway details. Please try again

We are trying to install the on-premise data gateway.

 

Installing went OK, but when registering the gateway we got an error:

 

Failed to update gateway details. Please try again.
This request operation sent to net.pipe://localhost/powerbi/gatewayconfiguration/service did not receive a reply within the configured timeout (00:01:00).  The time allotted to this operation may have been a portion of a longer timeout.  This may be because the service is still processing the operation or because the service was unable to send a reply message.  Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel and setting the OperationTimeout property) and ensure that the service is able to connect to the client.

Server stack trace:
   at System.ServiceModel.Dispatcher.DuplexChannelBinder.Request(Message message, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.PowerBI.DataMovement.Pipeline.InternalContracts.IGatewayConfigurationService.UpdateGatewayConfiguration(UpdateGatewayConfigurationRequest request)
   at Microsoft.PowerBI.DataMovement.Pipeline.GatewayClient.GatewayConfigurationClient.UpdateGatewayConfiguration(UpdateGatewayConfigurationRequest request)

 

 

The gateway was created, I can see it in Power BI Services but with the message "The gateway is either offline or could not be reached"


Because our proxy only allows ports 80 and 443 traffic we forced the gateway using HTTPS instead of direct TCP by modifing the Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.dll.config file from AutoDetect to Https.

1 ACCEPTED SOLUTION
v-yuezhe-msft
Employee
Employee

Hi @Knud,

Based on the above log, the issue is related to Proxy. Please follow the steps to troubleshoot this issue.

1. Make sure that you follow the instructions in this article to configure proxy settings for the On-premises Data Gateway. Please note that the default proxy configuration works with windows authentication. If your proxy uses another form of authentication, you will need to change the settings. You can check out proxy configuration instructions in this article: https://msdn.microsoft.com/library/kd3cf2ex.aspx .

2. Test that if your firewall or proxy blocks connections to the Azure Service Bus following the instructions in this article: Troubleshooting the On-Premises Data Gateway.

3. If the issue still occurs, please use fiddler to monitors HTTP traffic and you can share us detailed trace information from fiddler.


Thanks,
Lydia Zhang

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

View solution in original post

3 REPLIES 3
v-yuezhe-msft
Employee
Employee

Hi @Knud,

Based on the above log, the issue is related to Proxy. Please follow the steps to troubleshoot this issue.

1. Make sure that you follow the instructions in this article to configure proxy settings for the On-premises Data Gateway. Please note that the default proxy configuration works with windows authentication. If your proxy uses another form of authentication, you will need to change the settings. You can check out proxy configuration instructions in this article: https://msdn.microsoft.com/library/kd3cf2ex.aspx .

2. Test that if your firewall or proxy blocks connections to the Azure Service Bus following the instructions in this article: Troubleshooting the On-Premises Data Gateway.

3. If the issue still occurs, please use fiddler to monitors HTTP traffic and you can share us detailed trace information from fiddler.


Thanks,
Lydia Zhang

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

Thanks for your suggestions. It worked for us.

 

We solved the problem bij changing the proxy settings in C:\Program Files\On-premises data gateway\enterprisegatewayconfigurator.exe.config and C:\Program Files\On-premises data gateway\Microsoft.PowerBI.EnterpriseGateway.exe.config:

 

  <system.net>
    <defaultProxy>
      <proxy
        usesystemdefault="true"
        proxyaddress="http://10.142.140.141:8080"
        bypassonlocal="true"
      />
    </defaultProxy>
  </system.net>

 

https://powerbi.microsoft.com/en-us/documentation/powerbi-gateway-proxy/#changing-the-gateway-servic...

 

Hi, can you help me fixing this problem.

Even though I change the proxy settings in C:\Program Files\On-premises data gateway\enterprisegatewayconfigurator.exe.config and C:\Program Files\On-premises data gateway\Microsoft.PowerBI.EnterpriseGateway.exe.config: 

  <system.net>
    <defaultProxy>
      <proxy
        usesystemdefault="true"
        proxyaddress="http://172.16.1.10:8080"  
        bypassonlocal="true"
      />
    </defaultProxy>
  </system.net>

 

The error still occurred:

Network request returned unexpected error.
The remote server returned an error: (407) Proxy Authentication Required.
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors
Top Kudoed Authors