问题排查
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本页介绍了各种错误场景,并提供了有关解决这些错误的指导。
连接错误场景
本部分介绍了实例可能会遇到的连接问题。
防火墙规则导致的连接错误
防火墙规则可能会阻止 Memorystore for Valkey 使用的端口,从而导致连接错误。您应允许列出两个实例的 Private Service Connect 端点的所有端口。如需详细了解这些端点,请参阅预留的网络地址。
由组织政策导致的连接错误。
您可以设置组织政策,阻止 PSC 连接到 Memorystore for Valkey 实例。
如果您的组织政策使用 .restrictPrivateServiceConnectProducer
政策,请将 961333125034
文件夹编号列入许可名单,该文件夹专门用于 Memorystore for Valkey。例如:
name: organizations/Consumer-org-1/policies/compute.restrictPrivateServiceConnectProducer
spec:
rules:
- values:
allowedValues:
- under:folders/961333125034
如果您的组织政策使用 .disablePrivateServiceConnectCreationForConsumers
政策,您应允许列表 SERVICE_PRODUCERS
。例如:
name: organizations/Consumer-org-1/policies/compute.disablePrivateServiceConnectCreationForConsumers
spec:
rules:
- values:
allowedValues:
- SERVICE_PRODUCERS
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-02-26。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-02-26。"],[],[]]