Jump to content

Unable to load Service Fabric Explorer


Recommended Posts

Guest Madoori_Geetanjali
Posted

Service Fabric Explorer (SFX) is an open-source tool for inspecting and managing Azure Service Fabric clusters. Service Fabric Explorer is a desktop application for Windows, macOS and Linux. To launch SFX in a web browser, browse to the cluster's HTTP management endpoint from any browser - for example https://clusterFQDN:19080. Service Fabric explorer may not load for numerous reasons. Most frequent reasons could be access denied while trying to access or unable to choose the right certificate. Following steps provide some useful insights on investigation steps and mitigations to be followed in such scenarios.

 

1. Check the status of the cluster and certificate that is being tried to access the cluster. If the cluster state is in “Upgrade service unreachable” then mostly, the certificate might be expired. If the certificate has a warning stating it is not under trusted root and is issued by a third-party certificate issuer, then add it to trusted root certificates and exclude the Certificate issuer from any security rules that will block the access to the site. Furthermore, if cluster is healthy, and certificate is not expired, then verify if provided certificate to the cluster is wrong.

 

2. If the issue persists, post verifying correct certificate usage and validity, clear the browser session and cache to get it to prompt again. Additionally, try to access from incognito mode or private window.

 

 

 

3. SFX fails to load due to certificate issues. Initially, To identify certificate related issues at the first level, verify if there is a pop up coming up on screen to choose the certificate before accessing the Service Fabric Explorer.

 

 

mediumvv2px400.png.ca73c4bd59e2432e6b740b1b276b001d.png

 

 

 

 

 

Note: Download the certificate on the machine that is been used to access the Service fabric explorer such that certificate appears on pop up while accessing SFX.

 

 

4. When loading the admin Service Fabric Explorer, use F12 (or any network traffic analyzer) to look at the call failures.

 

 

mediumvv2px400.png.96d81fefc7924556934cb0756c1fac38.png

 

 

 

 

 

 

If there are call failures with 403 as shown below, it means Fabric Upgrade Service is not able to talk to gateway.

 

 

 

mediumvv2px400.png.56afdba5d8bbf449b013ee31466e5cf2.png

 

 

 

 

 

This indicates an issue with the certificate or an issue with http gateway. For certificate issues, check if certificate is ACL’d correctly to 'Network Service' and has full permissions.

 

 

mediumvv2px400.png.396bffd830eb24c96a4b613ea8eee223.png

 

 

 

 

 

mediumvv2px400.png.c786f6b1731a726ed3bfbdbddf2029ea.png

 

 

 

mediumvv2px400.png.8df73643306681ad9c1665923cafc5e1.png

 

 

 

 

 

5. If a similar screen like below is visible,

 

 

mediumvv2px400.png.2a45264995f9b31b055f4b50952e5a42.png

 

 

 

 

 

 

 

Moving ahead, verify if the Inbound connectivity is blocked from the Azure portal. check if port 19000 and 19080 are open and accessible in Azure NSG, and machine’s IP of user is whitelisted when trying to access from local machine.

 

 

 

 

mediumvv2px400.png.5b248c924b3396d1d215f8b7661d2251.png

 

 

 

 

 

 

In case of any blockages in inbound connectivity to 19080 via network/firewall/proxy issue at client end, They must be unblocked by the client.

To help identify network issues, Using the Network Monitor Tool will help capture the traces that can be analysed further.

 

Furthermore, One can even use a ServiceTag to allow network traffic to/from SFRP endpoint .

 

6. In cases of AAD based authentication to access Service fabric explorer, verify correct permissions to access and modify from Service Fabric explorer are present as per the Set up Azure Active Directory for client authentication for Azure Service Fabric.

 

7. Further, to isolate the issue, RDP into any one of the VM that is a part of Service fabric cluster. Try to access localhost:19080 and see if service fabric explorer is visible. If yes, then check your Load balancer’s rules and allow https connection to 19080.

 

 

 

 

mediumvv2px400.png.70f53775e1ce32b00a98144e16f1273b.png

 

 

 

 

 

 

 

Reference link : https://github.com/Azure/Service-Fabric-Troubleshooting-Guides/blob/master/Security/NSG%20configurat...

 

 

8. Try connecting to the cluster over PowerShell using Connect-ServiceFabricCluster. If this succeeds, FabricGateway is up and the TCP management endpoint is fine. As a next step Please reach out to Service Fabric support team to investigate traces for HttpGateway issues.

 

If connection to cluster fails, FabricGateway is having issues and not just the Http endpoint. The next step is to share the traces located in D:\SvcFab\Log\Traces with service fabric support team to investigate further for FabricGateway issues.

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...