Manual Endpoint Configuration Required for ZprClient in the OCI Python SDK
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 20/100
Hướng nghiên cứu
Issue này trỏ đến ZprClient và endpoint dịch vụ của nó nhưng không nêu tệp nguồn hay bài kiểm thử nào. Trước tiên, hãy kiểm tra bản phát hành v2.135.2 và tài liệu ZPR API; lỗi được báo cáo được xem là đã hoàn tất khi người dùng không còn cần workaround service_endpoint thủ công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 474
- Fork
- 321
- Merge trung bình
- 23 phút
- Pull request đã merge (30 ngày)
- 4
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của oracle/oci-python-sdk
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
oracle/oci-python-sdk#890 · 3 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
oracle/oci-python-sdk#879 · 3 bình luận ·
-
Example uses non-existent API Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 66/100
oracle/oci-python-sdk#878 ·
-
SDK
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
oracle/oci-python-sdk#861 · 5 bình luận ·
-
SDK
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 48/100
oracle/oci-python-sdk#852 ·
Tất cả issue của oracle/oci-python-sdk
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
xinnan-tech/xiaozhi-fde-talk#263 ·
-
rules
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
huggingface/Repo2RLEnv#163 · 1 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
huggingface/sentence-transformers#4074 ·
-
comp/dashboard invalid P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
NousResearch/hermes-agent#121143 ·