gpt4 book ai didi

caching - 无法让 Azure 缓存正常工作。 "There is a temporary failure. Please retry later."

转载 作者:行者123 更新时间:2023-12-02 08:38:55 25 4
gpt4 key购买 nike

所以,今天我

  1. 安装了 azure SDK 2.1,并且
  2. 使用单个 WorkerRole 创建了一个新项目,
  3. 使用 NuGet 获取缓存包,
  4. 将角色的缓存设置为“并置”
  5. 在 app.config 中将主机设置为“WorkerRole1”
  6. 评论了安全部分,因为这只是一个测试
  7. 在“运行”中插入以下行 `DataCache c = new DataCacheFactory().GetDefaultCache();
  8. 点击调试

尝试执行上面的行时出现此错误:

There is a temporary failure. Please retry later. (One or more specified cache servers are unavailable, which could be caused by busy network or servers. For on-premises cache clusters, also verify the following conditions. Ensure that security permission has been granted for this client account, and check that the AppFabric Caching Service is allowed through the firewall on all cache hosts. Also the MaxBufferSize on the server must be greater than or equal to the serialized object size sent from the client.)

我环顾四周(大约 5 个小时)并没有找到任何解释......有人可以帮忙吗?

最佳答案

我安装了旧版本的 SDK(版本 1.8 和 2.0),现在它可以工作了...看图...

关于caching - 无法让 Azure 缓存正常工作。 "There is a temporary failure. Please retry later.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18497244/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com