Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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.
Solved! Go to Solution.
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
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
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>
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)
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
41 | |
24 | |
21 | |
20 | |
13 |
User | Count |
---|---|
157 | |
61 | |
60 | |
28 | |
20 |