Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Manual Endpoint Configuration Required for ZprClient in the OCI Python SDK

未关闭
#705 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
20/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
python
领域
api, cloud

调研方向

该 issue 指向 ZprClient 及其服务端点,但没有指出源文件或测试。首先检查 v2.135.2 发布版本和 ZPR API 文档;当用户不再需要手动的 service_endpoint workaround 时,所报告的缺陷就算完成。

由索引模型根据 Issue 内容生成。

描述

SDK

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

oracle/oci-python-sdk 的其他 Issue

查看 oracle/oci-python-sdk 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。