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
avnihajdini
Frequent Visitor

Can't configure gateway.

I have a trouble in Configuring On-Premise Gateway, it fails with the below error messages:

 

Failed to update gateway details. You may need to change the account the gateway runs under.
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, Int32 maxRetries)
at Microsoft.PowerBI.DataMovement.Pipeline.GatewayClient.GatewayConfigurationClient.UpdateGatewayConfiguration(UpdateGatewayConfigurationRequest request, Int32 maxRetries)

3 REPLIES 3
avnihajdini
Frequent Visitor

HI Qiuyun Yu,

Thanks for the reply but still the problem existxs.

Here the step i take to configure the gateway. First of all our network use proxy. In the file 

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

I dont change anything. I let the parameter the way it is like this:

<system.net>
<defaultProxy useDefaultCredentials="true"/>
</system.net>
And 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.

I test the command "Test-NetConnection -ComputerName watchdog.servicebus.windows.net -Port 9350" in powershell and the paramter TcpTestSucceeded is true like this "TcpTestSucceeded:true".

 

any suggestions?

 

All the best 🙂

 

 

Hi @avnihajdini,

 

1. Please try the latest on-premise data gateway. 

2. Please restart the on-premise data gateway service. From an admin command prompt, issue the following commands.

 

net stop PBIEgwService

 net start PBIEgwService

3. Please check detail error message from log files: https://docs.microsoft.com/en-us/power-bi/service-gateway-onprem-tshoot#tools-for-troubleshooting

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-qiuyu-msft
Community Support
Community Support

Hi @avnihajdini,

 

Check if your environment needs the use of a proxy. If it does, please follow this article to configure proxy for on-premises data gateway : Configuring proxy settings for the on-premises data gateway.

 

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

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
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