简体   繁体   English

如何在Azure中诊断到负载平衡的Service Fabric群集的连接失败?

[英]How can I diagnose a connection failure to my Load-balanced Service Fabric Cluster in Azure?

I'm taking my first foray into Azure Service Fabric using a cluster hosted in Azure. 我正在使用Azure托管的群集进行Azure Service Fabric的首次尝试。 I've successfully deployed my cluster via ARM template, which includes the cluster manager resource, VMs for hosting Service Fabric, a Load Balancer, an IP Address and several storage accounts. 我已经通过ARM模板成功部署了集群,该模板包括集群管理器资源,用于承载Service Fabric的VM,负载均衡器,IP地址和多个存储帐户。 I've successfully configured the certificate for the management interface and I've successfully written and deployed an application to my cluster. 我已经成功地为管理界面配置了证书,并且已经成功地将应用程序编写并部署到了集群中。 However, when I try to connect to my API via Postman (or even via browser, eg Chrome) the connection invariably times out and does not get a response. 但是,当我尝试通过Postman(或什至通过浏览器,例如Chrome)连接到我的API时,连接总是超时并且没有得到响应。 I've double checked all of my settings for the Load Balancer and traffic should be getting through since I've configured my load balancing rules using the same port for the front and back ends to use the same port for my API in Service Fabric. 我已经对负载平衡器的所有设置进行了双重检查,由于我已经将前端和后端使用相同的端口配置了负载平衡规则,并对Service Fabric中的API使用了相同的端口,因此流量应该能够通过。 Can anyone provide me with some tips for how to troubleshoot this situation and find out where exactly the connection problem lies ? 谁能为我提供一些技巧来解决这种情况并找出连接问题的根源?

To clarify, I've examined the documentation here , here and here 为了澄清起见,我在这里这里这里检查了文档

Have you tried logging in to one of your service fabric nodes via remote desktop and calling your API directly from the VM? 您是否尝试过通过远程桌面登录到服务结构节点之一并直接从VM调用API? I have found that if I can confirm it's working directly on a node, the issue likely lies within the LB or potentially an NSG. 我发现,如果可以确认它直接在节点上工作,则问题可能出在LB或潜在的NSG之内。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 IIS应用程序池在Azure负载平衡的VM上崩溃 - IIS app pool crashing on Azure load-balanced VMs Azure负载平衡集保留客户端IP - Azure load-balanced set preserves client IP 更改Azure网站的负载平衡服务器吗? - Change load-balanced server for Azure web site? 我是否可以在另一个订阅的另一个部署中将内部端点设置为负载平衡的工作者角色 - Can I set up an internal endpoint to load-balanced worker roles in another deployment in another subscription Azure Service Fabric 集群的负载均衡器 - Load balancer for Azure Service Fabric Cluster 如何一致且成功地将我的 Azure Service Fabric 应用程序部署到本地群集? - How do I deploy my Azure Service Fabric application to the local cluster consistently and successfully? Azure Service Fabric:群集的端口在哪里? - Azure Service Fabric: Where is the port for my cluster? 如何访问Azure Service Fabric群集中的日志? - How to access logs in Azure Service Fabric cluster? 我可以使用负载平衡器来扩展Azure Service Fabric应用程序 - Can I use load balancer for scaling Azure Service Fabric apps 与本地网络(私有数据中心)的Azure Service Fabric群集连接 - Azure Service Fabric Cluster connection with on premise network (Private data center)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM