webconfig加了
<ActiveReports11>
<WebService publicURI="http://192.168.1.6:1002"/>
</ActiveReports11>
在nginx下 配置 ip_hash; 的模式下 是可以了的
我们的缓存是支持分布式的 去掉id_hash的负载的情况下 随机跳转服务器 这样在前面的接口就报错了
http://192.168.1.6:1002/AR/WebSe ... x/GetReportProperty
返回的
{__type: "GrapeCity.ActiveReports.Web.Models.GetReportPropertyResult", PropertyValue: null,…}
Error: {Description: "Report is not available.", ErrorCode: 9}
PropertyValue: null
Token: "cf049f4a-3424-4dfa-88f5-aec7e361c304"
__type: "GrapeCity.ActiveReports.Web.Models.GetReportPropertyResult"
还有什么配置可以解决这个情况么?
还是想把id_hash去掉 不然负载其实还是根据ip分配到同一台机器上了的 |