[英]can't connect to remote appfabric cache
I have installed Windows Server AppFabric. 我已经安装了Windows Server AppFabric。 The cluster is running fine. 群集运行正常。 Now I try to remotely access the cache from an ASP.NET application. 现在,我尝试从ASP.NET应用程序远程访问缓存。 This does not work. 这是行不通的。 I get an error message saying the server rejected client authentication" 我收到一条错误消息,说服务器拒绝了客户端身份验证”
The message is clear, but I have no ideau how I can resolve it. 消息很清楚,但是我不知道如何解决。 I don't know how sending my credentials. 我不知道如何发送我的凭据。
any idea? 任何想法?
a 2 servers cluster installed on VM on Windows Azure. Windows Azure的VM上安装了2个服务器群集。 the local server is my laptop 本地服务器是我的笔记本电脑
I correctly set the virtual network and the VPN. 我正确设置了虚拟网络和VPN。
Each server can access or ping each other, so I am sure the network works. 每个服务器都可以互相访问或ping通,因此我确定网络可以正常工作。
The cluster is running and get-cache is OK 集群正在运行,get-cache正常
I didn't forget to set endpoints on each cluster 我没有忘记在每个群集上设置端点
I created on all 3 servers this account: appFabricAccount with the same password. 我在所有3台服务器上创建了一个具有相同密码的帐户: appFabricAccount 。
Important : this is on premises AppFabric, not Azure AppFabric. 重要提示 :这是在内部使用AppFabric,而不是Azure AppFabric。 Azure is there only to host my VMs. Azure仅在这里托管我的VM。
Can you try adding 'NT Authority\\Network Service' to existing accounts using grant-CacheAllowedClientAccount and try? 您可以尝试使用Grant-CacheAllowedClientAccount将“ NT Authority \\ Network Service”添加到现有帐户并尝试吗? Since you are accessing it from outside local network , this might be required.. 由于您是从本地局域网外部访问它,因此可能需要这样做。
I think the problem is solved. 我认为问题已经解决。
I forgave to run the web application into an application pool running on the identity: appFabricAccount 我原谅将Web应用程序运行到以以下身份运行的应用程序池中:appFabricAccount
I did it. 我做的。
I still have an error, but this is a versionning problem. 我仍然有一个错误,但这是一个版本控制问题。 I consider the problem as resolved. 我认为问题已经解决。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.