Manual Endpoint Configuration Required for ZprClient in the OCI Python SDK
还没有人认领这个 Issue。
评估
调研方向
该 issue 指向 ZprClient 及其服务端点,但没有指出源文件或测试。首先检查 v2.135.2 发布版本和 ZPR API 文档;当用户不再需要手动的 service_endpoint workaround 时,所报告的缺陷就算完成。
由索引模型根据 Issue 内容生成。
描述
Update: This has been fixed in v2.135.2. If you are not able to upgrade to a non-affected version at this time, please use the workaround mentioned below
If you are using or want to use ZprClient in OCI Python SDK then you have to manually update the endpoint.
Description
Users of the OCI Python SDK who wish to utilize ZprClient must manually update the endpoint due to an incorrect configuration in the service endpoint. This issue affects the Zero Trust Packet Routing Service (ZPR) released in version 2.135.1.
Workaround
To resolve this issue, users need to manually set the endpoint when creating a ZprClient instance. Here's an example of how to do this:
zpr_client = oci.zpr.ZprClient(config, service_endpoint="https://zpr.{region}.oci.oraclecloud.com/")
Replace {region} with the appropriate region for your OCI deployment.
The correct endpoint for your specific region can be found in the Oracle Cloud Infrastructure API documentation here.
- 主要语言
- Python
- 星标
- 474
- 派生
- 321
- 平均合并
- 23 分钟
- 30 天内合并 PR
- 4
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
oracle/oci-python-sdk 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 48/100
oracle/oci-python-sdk#890 · 3 条评论 ·
-
难度 4/5 3-5 天 新手友好度 45/100
oracle/oci-python-sdk#879 · 3 条评论 ·
-
难度 3/5 1-2 天 新手友好度 66/100
oracle/oci-python-sdk#878 ·
-
SDK
难度 3/5 1-2 天 新手友好度 55/100
oracle/oci-python-sdk#861 · 5 条评论 ·
-
SDK
难度 2/5 1-3 小时 新手友好度 48/100
oracle/oci-python-sdk#852 ·
查看 oracle/oci-python-sdk 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 86/100
browser-use/browser-use#5905 ·
-
type: enhancement
难度 2/5 1-3 小时 新手友好度 68/100
ynput/ayon-python-api#363 ·
-
bug needs triage
难度 2/5 1-3 小时 新手友好度 88/100
modelscope/FunASR#3728 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
open-compass/opencompass#2655 ·