Forum Discussion

seeti's avatar
seeti
New Member
10 years ago

Error in configuring Power BI Gateway - Enterprise (Preview)

I have installed PBI enterprise gateway and signed in to PBI account successfully.

 

I found error in configuring as following:

 

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(GatewayConfiguration configuration)
at Microsoft.PowerBI.DataMovement.Pipeline.GatewayClient.GatewayConfigurationClient.UpdateGatewayConfiguration(GatewayConfiguration configuration)

 

 

I also found error in GatewayConfigurator log file.

 

EnterpriseGatewayConfigurator.exe Error: 0 : Exception: Microsoft.PowerBI.DataMovement.EnterpriseGatewayConfigurator.FailedToUpdateGatewayException: Failed to update gateway details.  Please try again. ---> Microsoft.PowerBI.DataMovement.Pipeline.GatewayClient.GatewayConfigurationClientException: Error updating gateway configuration. ---> System.TimeoutException: 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(GatewayConfiguration configuration)
at Microsoft.PowerBI.DataMovement.Pipeline.GatewayClient.GatewayConfigurationClient.UpdateGatewayConfiguration(GatewayConfiguration configuration)
--- End of inner exception stack trace ---
at Microsoft.PowerBI.DataMovement.Pipeline.GatewayClient.GatewayConfigurationClient.UpdateGatewayConfiguration(GatewayConfiguration configuration)
at Microsoft.PowerBI.DataMovement.EnterpriseGatewayConfigurator.WizardServiceConfigurationViewModel.UpdateGatewayConfiguration(CreateGatewayResponse createResponse, SecureString recoveryKey)
--- End of inner exception stack trace ---
at Microsoft.PowerBI.DataMovement.EnterpriseGatewayConfigurator.WizardServiceConfigurationViewModel.UpdateGatewayConfiguration(CreateGatewayResponse createResponse, SecureString recoveryKey)
at Microsoft.PowerBI.DataMovement.EnterpriseGatewayConfigurator.WizardServiceConfigurationViewModel.ConfigureGateway(SecureString recoveryKey)
at Microsoft.PowerBI.DataMovement.EnterpriseGatewayConfigurator.WizardServiceConfigurationViewModel.DoOK(Object param)
at Microsoft.PowerBI.DataMovement.EnterpriseGatewayConfigurator.WizardViewModelBase.DoOKWorker(Object param)
at Microsoft.PowerBI.DataMovement.GatewayUXCommon.RelayCommand.<>c__DisplayClass6.<Execute>b__4()
EnterpriseGatewayConfigurator.exe Information: 0 : Basic validation of gateway name
EnterpriseGatewayConfigurator.exe Information: 0 : Configure gateway
EnterpriseGatewayConfigurator.exe Information: 0 : Recovery keys match
EnterpriseGatewayConfigurator.exe Information: 0 : Generating asymmetric key
EnterpriseGatewayConfigurator.exe Information: 0 : Build annotation and request
EnterpriseGatewayConfigurator.exe Information: 0 : Create gateway
EnterpriseGatewayConfigurator.exe Error: 0 : Exception: Microsoft.PowerBI.DataMovement.EnterpriseGatewayConfigurator.CreateGatewayRequestException: Failed to create gateway. Please try again. ---> Microsoft.PowerBI.DataMovement.ExternalClient.PowerBIHttpRequestException: Request error: Id: '4c9e38a5-5bca-467f-8ea7-159dfbd01ff4', Status code: 'Forbidden', Timestamp: '01/21/2016 06:10:05 +00:00', ErrorCode: 'TokenExpired', Detail: ''
at Microsoft.PowerBI.DataMovement.ExternalClient.PowerBIDataMovementClientExtensions.<EnsureSuccessfulDMMSRequest>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.PowerBI.DataMovement.ExternalClient.PowerBIDataMovementClientExtensions.<CreateOrReplaceGatewayAsync>d__4.MoveNext()
--- End of inner exception stack trace ---
at Microsoft.PowerBI.DataMovement.EnterpriseGatewayConfigurator.WizardServiceConfigurationViewModel.CreateGateway(CreateGatewayRequest request)
at Microsoft.PowerBI.DataMovement.EnterpriseGatewayConfigurator.WizardServiceConfigurationViewModel.ConfigureGateway(SecureString recoveryKey)
at Microsoft.PowerBI.DataMovement.EnterpriseGatewayConfigurator.WizardServiceConfigurationViewModel.DoOK(Object param)
at Microsoft.PowerBI.DataMovement.EnterpriseGatewayConfigurator.WizardViewModelBase.DoOKWorker(Object param)
at Microsoft.PowerBI.DataMovement.GatewayUXCommon.RelayCommand.<>c__DisplayClass6.<Execute>b__4()

 

 

 

My PC information:

- Windows 7 SP1 64 bits. (VMWare)

- .Net framework 4.5.2

- IE 11

- Connect internet via proxy

 

 

Could you help me please?

 

Thank you.

 

Best Regards,

6 Replies

  • I go to PBI site. I see new gateway in PBI.

    But it has an error.

     

    Cannot reach the gateway.
    Activity ID:e5a2c2a8-e67e-4287-8cf5-c37040d9905e
    Request ID:bd9d805d-d5ce-e777-de95-183af199d669
    Status code:400
    Error Code:DM_GWPipeline_Client_GatewayUnreachable
    Time:Fri Jan 22 2016 09:25:58 GMT+0700 (SE Asia Standard Time)
    Version:13.0.800.220
    • sfantini's avatar
      sfantini
      New Member

      Hi,

      I have the same problem. Do you have a solution ?

      Regards,

      Sébastien

      • seeti's avatar
        seeti
        New Member

        Hello Sebastien,

         

        I think a problem is proxy setting.

         

        I connected my PC to internet directly (in test environment).

        I can configure gateway successfully.

         

        But I would like to use it in my proxy system.

        I have not found the solution yet.

         

        Does anyone can help?

         

        Thank you.