【发布时间】:2017-05-05 21:35:45
【问题描述】:
我正在尝试在本地 5 节点开发集群上启用服务结构的反向代理功能。此功能在已部署的集群上似乎可以正常工作,但在开发集群上却不行?
已部署的和本地的开发集群都在 5.4.145.9494 上。 本地开发在 vs 2015 上,服务结构 sdk 2.4.145.9494
我已经引用了How to configure and enable Azure Service Fabric Reverse Proxy for an existing on-premises cluster? 但是clustermanifesttemplate,特别是在我的例子中的w7,似乎没有引用这些值。只有“旧”的 ApplicationGateway/Http。
如果我启用
<Section Name="ApplicationGateway/Http">
<Parameter Name="IsEnabled" Value="true" />
</Section>
然后部署一个应用程序,几分钟后我的(本地)集群崩溃了。
当前节点类型示例供参考:
<NodeType Name="NodeType0">
<Endpoints>
<ClientConnectionEndpoint Port="19000" />
<LeaseDriverEndpoint Port="19001" />
<ClusterConnectionEndpoint Port="19002" />
<HttpGatewayEndpoint Port="19080" Protocol="http" />
<ServiceConnectionEndpoint Port="19006" />
<HttpApplicationGatewayEndpoint Port="19081" Protocol="http" />
<ApplicationEndpoints StartPort="30001" EndPort="31000" />
</Endpoints>
</NodeType>
附加信息: Windows 事件查看器正在显示
HostedService: _Node_0 on node id bf865279ba277deb864a976fbf4c200e terminated unexpectedly with code 3221225781 and process name FabricApplicationGateway.exe
端口使用情况:
netstat -anob | find "19081"
<no return>
【问题讨论】: