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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
MassimoB
New Member

On prem gateway fails to start due to log on error.

On prem gateway fails to start due to log on error 1069. This happened after a server restart (server 2022). Has anyone run into this before? Nothing i do gets this service to start. Logs attached.

 

MassimoB_0-1728508496608.png

 

MassimoB_1-1728508533594.png

 

Below is the stack trace:
Microsoft.PowerBI.DataMovement.Pipeline.GatewayClient.GatewayConfigurationClientException: Error getting Gateway service health data.
Exception message: Could not connect to net.tcp://127.0.0.1:45375/powerbi/gatewayconfiguration/service. The connection attempt lasted for a time span of 00:00:02.0428338. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:45375.  ---> System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://127.0.0.1:45375/powerbi/gatewayconfiguration/service. The connection attempt lasted for a time span of 00:00:02.0428338. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:45375.  ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:45375
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
   at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
   --- End of inner exception stack trace ---

 

Server stack trace: 
   at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
   at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
   at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
   at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
   at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(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.ConfigurationContracts.IGatewayConfigurationService.GetServiceHealth()
   at Microsoft.PowerBI.DataMovement.Pipeline.GatewayClient.GatewayConfigurationClient.GetServiceHealth()
   --- End of inner exception stack trace ---
   at Microsoft.PowerBI.DataMovement.Pipeline.GatewayClient.GatewayConfigurationClient.GetServiceHealth()
   at Microsoft.PowerBI.DataMovement.GatewayCommon.Checks.GatewayServiceCheck.RunCheck()

 

 

2 ACCEPTED SOLUTIONS
rajendraongole1
Super User
Super User

Hi @MassimoB -you can try reinstalling the On-Premises Data Gateway. Before doing so, make sure to back up your gateway recovery key to restore your configuration afterward.

These steps should help narrow down the issue. The problem appears to be with the service's ability to log on, which could be due to expired credentials, misconfiguration, or network connectivity issues.

Try the below workaround:

Go to Services (services.msc) on the server and find the On-premises data gateway service.>>Right-click on it, select Properties, and navigate to the Log On tab.>>Verify that the account and password are correct. If the password has changed, update it here.>>Then, restart the service.

Hope this helps.

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

Wikkleyn_81
Super User
Super User

Hi @MassimoB Yes I do get this error regularly. On the Gateway server, go to Services and the On-premises data gateway service. Right click and select Properties and navigate to the Log On tab. If you have the default NT SERVICE\PBIEgwService account. Delete the password and click OK and Ok for that pop-up message.

 

Wikkleyn_81_0-1728629286927.png

Close the On-premises data gateway service Properties and start the service. 

 

I resolved this issue by using an AD Service account for the Log On.

 

 

View solution in original post

2 REPLIES 2
Wikkleyn_81
Super User
Super User

Hi @MassimoB Yes I do get this error regularly. On the Gateway server, go to Services and the On-premises data gateway service. Right click and select Properties and navigate to the Log On tab. If you have the default NT SERVICE\PBIEgwService account. Delete the password and click OK and Ok for that pop-up message.

 

Wikkleyn_81_0-1728629286927.png

Close the On-premises data gateway service Properties and start the service. 

 

I resolved this issue by using an AD Service account for the Log On.

 

 

rajendraongole1
Super User
Super User

Hi @MassimoB -you can try reinstalling the On-Premises Data Gateway. Before doing so, make sure to back up your gateway recovery key to restore your configuration afterward.

These steps should help narrow down the issue. The problem appears to be with the service's ability to log on, which could be due to expired credentials, misconfiguration, or network connectivity issues.

Try the below workaround:

Go to Services (services.msc) on the server and find the On-premises data gateway service.>>Right-click on it, select Properties, and navigate to the Log On tab.>>Verify that the account and password are correct. If the password has changed, update it here.>>Then, restart the service.

Hope this helps.

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.