Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connection to Service Fabric Cluster Endpoint From Behind Corporate Proxy

I have created one Service Fabric Cluster but I am not able to connect to it's endpoint. Currently I am behind Corporate Proxy so I think this is the reason to not get connected.As connection is working from my non proxy environment(Free Internet Environment).

I used the following command:

Connect-ServiceFabricCluster -ConnectionEndpoint mycluster.westus.cloudapp.azure.com:19000 -KeepAliveIntervalInSec 10 -X509Credential -ServerCertThumbprint F45E63D80AE4AB2F6938CDD7DFC77E8E38D00CD7 -FindType FindByThumbprint -FindValue F45E63D80AE4AB2F6938CDD7DFC77E8E38D00CD7 -StoreLocation CurrentUser -StoreName My

Error I am getting is :

WARNING: Failed to contact Naming Service. Attempting to contact Failover Manager Service... WARNING: Failed to contact Failover Manager Service, Attempting to contact FMM... False WARNING: No connection could be made because the target machine actively refused it 40.117.45.185:19000 Connect-ServiceFabricCluster : No cluster endpoint is reachable, please check if there is connectivity/firewall/DNS issue. At line:1 char:1 + Connect-ServiceFabricCluster -ConnectionEndpoint mycluster.westus.cloudap ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [Connect-ServiceFabricCluster], FabricException + FullyQualifiedErrorId : TestClusterConnectionErrorId,Microsoft.ServiceFabric.Powershell.ConnectCluster

I just would like to know, how to get connected to SF Cluster Endpoints from behind corporate proxy?

Help would be appreciated.

Regards, Abjo

like image 312
pixelbyaj Avatar asked Jun 24 '17 05:06

pixelbyaj


People also ask

What helps microservices running in service Fabric cluster discover and communicate with other services that have HTTP endpoints?

Reverse proxy built into Azure Service Fabric helps microservices running in a Service Fabric cluster discover and communicate with other services that have http endpoints.

How do I create a reverse proxy in Azure?

To configure reverse proxy when you create a cluster using Azure portal, make sure you do the following: In Step 2: Cluster Configuration, under Node type configuration, select Enable reverse proxy. (Optional) To configure secure reverse proxy, you need to configure a TLS/SSL certificate.

What is a service Fabric cluster?

A Service Fabric cluster is a network-connected set of virtual or physical machines into which your microservices are deployed and managed. A machine or VM that is part of a cluster is called a cluster node. Clusters can scale to thousands of nodes.


1 Answers

  1. Ask corporate IT to allow outgoing tcp traffic at port 19000 to Azure Data Center IP ranges.
  2. Create a VPN to the VNet that holds the VM Scaleset (of your cluster).
  3. For release from VSTS, run a self hosted agent inside the VNet.
like image 161
LoekD Avatar answered Oct 05 '22 08:10

LoekD