AppFabric 缓存:错误代码:SubStatus:出现临时故障。请稍后重试

发布于 2024-11-28 19:42:12 字数 1166 浏览 5 评论 0原文

我们有一个使用 SQL 配置提供程序运行的 3 台机器缓存集群。该服务在缓存主机上的域帐户下运行(我们不使用安全性)。 SQL 服务器也在域用户帐户下运行。我们在网络服务下运行缓存服务时遇到问题,根本无法连接到 SQL。但这样的配置可以让集群顺利启动并运行。

有 2 种类型的缓存客户端。其中一个缓存客户端是一个本机 c++ exe,在与缓存服务运行相同的域帐户下运行。这些缓存客户端位于不同的计算机上。所有此类客户端都可以成功连接到缓存主机。

第二种类型的缓存客户端是在网络服务下运行的 .NET Web 应用程序。该客户端无法向缓存主机写入/提取任何内容。它能够成功初始化缓存工厂,但失败并显示:

`Creating Region for general use in default cache

Error in Cache Call : ErrorCode<ERRCA0017>:SubStatus<ES0001>:There is a temporary     failure. Please retry later. : http://go.microsoft.com/fwlink/?LinkId=164049
at Microsoft.ApplicationServer.Caching.DataCache.ThrowException(ResponseBody respBody)
at Microsoft.ApplicationServer.Caching.DataCache.CreateRegion(String region)
at CacheAPISample.Program.CreateRegion(String myRegion)
at CacheAPISample.Program.RunSampleTest()
at CacheAPISample.Program.Main(String[] args)`

从错误描述中没有表明这是什么类型的错误。我已确保domain\clientmachinename$ 是允许的缓存客户端。安全和保护已关闭。防火墙规则已启用(鉴于客户端类型 1 可以成功调用,因此排除了防火墙问题)。

到目前为止,我已经尝试过:

  1. 使用客户端类型 2 的域用户运行示例测试。并确保域用户是允许的缓存客户端。

  2. 映射缓存服务器的主机。

我应该怎样做才能找到错误的实际根本原因?缓存主机上的日志是干净的。没有错误。

We have a 3 machine cache cluster running with SQL configuration provider. The service is running under a domain account on the cache hosts (We are not using Security). The SQL server is also running under the a domain user account. We had issues with caching service running under Network Service and could not connect to SQL at all. But this configuration allowed the cluster to be up and running smoothly.

There are 2 types of cache clients. One of the cache clients is a native c++ exe running under the same domain account that the cache service runs on. These cache clients are on different machines. All such clients can successfully connect to the cache host.

The second type of a cache client is a .NET web application that runs under Network Service. This client is unable to write/fetch anything into the cache host. It is able successfully initialize the cache factory but fails with :

`Creating Region for general use in default cache

Error in Cache Call : ErrorCode<ERRCA0017>:SubStatus<ES0001>:There is a temporary     failure. Please retry later. : http://go.microsoft.com/fwlink/?LinkId=164049
at Microsoft.ApplicationServer.Caching.DataCache.ThrowException(ResponseBody respBody)
at Microsoft.ApplicationServer.Caching.DataCache.CreateRegion(String region)
at CacheAPISample.Program.CreateRegion(String myRegion)
at CacheAPISample.Program.RunSampleTest()
at CacheAPISample.Program.Main(String[] args)`

From the error description there is no indication of what kind of error would this be. I have made sure the domain\clientmachinename$ is a allowed cache client. Security and Protection are turned off. Firewall rules are enabled (Given client type 1 can successfully call, firewall is ruled out as an issue).

So far I have tried:

  1. Running sample tests with a domain user from client type 2. And also making sure the domain user is a allowed cache client.

  2. Host mapping the cache server.

What should I do to get down to the actual root cause of the error? The logs at the cache hosts are clean. There are no errors.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

爱的那么颓废 2024-12-05 19:42:12

作为后续措施,我相信通过确保客户端系统可以通过计算机名称(使用 etc/hosts hack)而不是通过 FQDN 解析 AppFabric 服务器,可以部分解决这个问题。这似乎是一个已知问题。不幸的是,对于此故障和其他实际故障,错误消息是相同的。

Just as a followup, I believe this was partly resolved by ensuring that the client system could resolve the AppFabric server by machine name (using etc/hosts hack) not by FQDN. This appears to be a known issue out there. Unfortunately the error message is the same for this and other real failures.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文