【发布时间】:2016-12-09 09:58:04
【问题描述】:
我的服务结构应用程序在本地运行没有问题: http://localhost:8080/api/values
当部署到 Azure 时,它只是静止不动,我最终会超时。 http://cluster-myapp.centralus.cloudapp.azure.com/api/values
在四处挖掘之后,我发现一些信息表明需要使用新规则和新探测来更新 Azure 负载均衡器。我这样做了,但仍然是同样的问题。这是我所拥有的:
ServiceManifest.xml
<Resources>
<Endpoints>
<!-- This endpoint is used by the communication listener to obtain the port on which to
listen. Please note that if your service is partitioned, this port is shared with
replicas of different partitions that are placed in your code. -->
<Endpoint Protocol="http" Name="ServiceEndpoint" Type="Input" Port="8080" />
</Endpoints>
我添加了一个 Probe 如下:
...还有这个 LB 规则
我没有看到任何日志、错误或任何东西,所以我现在很难过。任何帮助将不胜感激。
【问题讨论】:
标签: azure azure-service-fabric