cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
joshd111
Resolver I
Resolver I

Unable to connect Cloud flow to on-prem gateway. BadGateway error

I set an on-prem gateway on my Windows 10 laptop to enable Cloud flow to connect to Desktop flow. Everything went well in the setup and the gateway diagnostics have no errors. However, when creating the connection to the gateway, Flow shows this error: 

    Test connection failed. Details: Connection failed: BadGateway. 

The on-prem gateway error file called GatewayErrors has this error line:

  DM.EnterpriseGateway Error: 0 : 2021-01-06T15:35:14.5283151Z DM.EnterpriseGateway 4908a6a8-5dfb-49a9-b8be-8dea8c8c46f5 00000000-0000-0000-0000-000000000000 MDSR 00000000-0000-0000-0000-000000000000 13f9566c-e055-41bb-b1bc-549c68e078ec 40000cd8-825f-4a63-aa76-97e027c0f7e1 B0247E47 [DM.Pipeline.Common] EnsureGatewayPipelineException encountered a non-GatewayPipelineException: System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it [::1]:4723
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)

 

What does it mean the "target machine actively refused it" ? I am running everything on one laptop for which I have local admin rights. Any clue how to make this connection work?

1 ACCEPTED SOLUTION

Accepted Solutions
joshd111
Resolver I
Resolver I

After many attempts, I have this figured out.

1) Two of my services were not running: UIFlogLogShipper, UIFlowService.  This resolved the error I reported above. 

2) After resolving #1, then it didn't like my credentials. Turns out the PAD connection requires the credentials for my laptop system, not the gateway credentials as I expected

View solution in original post

1 REPLY 1
joshd111
Resolver I
Resolver I

After many attempts, I have this figured out.

1) Two of my services were not running: UIFlogLogShipper, UIFlowService.  This resolved the error I reported above. 

2) After resolving #1, then it didn't like my credentials. Turns out the PAD connection requires the credentials for my laptop system, not the gateway credentials as I expected

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Top Kudoed Authors
Users online (5,001)