【发布时间】:2018-02-11 08:52:03
【问题描述】:
我创建了一个带有无状态服务的服务结构服务应用程序。我已将其部署在 Azure 服务结构集群中。
ServiceManifest.xml 中的端点是
<Endpoint Name="WebEndpoint" Protocol="http" Port="80" Type="Input"/>
当我检查服务结构资源管理器时,它显示一切正常。但是当我从浏览器点击客户端连接端点cluster_name.southeastasia.cloudapp.azure.com:19000 时,它返回ERR_INVALID_HTTP_RESPONSE。
当签入提琴手时,它显示HTTP/1.0 200 This buggy server did not return headers。
除了第 3 步和第 4 步之外,我一直关注 this article。
通过浏览器点击时如何在客户端连接端点上获得有效响应?
更新:
我已经在 localhost 和 Azure Service Fabric Cluster 上发布了https://github.com/Azure-Samples/service-fabric-dotnet-getting-started/tree/vs2015。
localhost 服务结构集群上的端点:http://localhost:8081/
Azure 服务结构集群上的端点:http://10.0.0.4:8081/
我在 localhost 端点上得到了上面显示的屏幕,但另一个是 ERR_CONNECTION_TIMED_OUT。我缺少什么设置?
【问题讨论】:
标签: c# azure azure-service-fabric service-fabric-stateless