Manual Endpoint Configuration Required for ZprClient in the OCI Python SDK
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 20/100
Direzione di ricerca
L’issue rimanda a ZprClient e al suo endpoint del servizio, ma non indica alcun file sorgente né alcun test. Controlla prima la release v2.135.2 e la documentazione della ZPR API; il difetto segnalato è risolto quando gli utenti non hanno più bisogno del workaround manuale di service_endpoint.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 474
- Fork
- 321
- Merge medio
- 23m
- PR unite (30g)
- 4
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di oracle/oci-python-sdk
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
oracle/oci-python-sdk#890 · 3 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
oracle/oci-python-sdk#879 · 3 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 66/100
oracle/oci-python-sdk#878 ·
-
SDK
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
oracle/oci-python-sdk#861 · 5 commenti ·
-
SDK
Difficoltà 2/5 1-3 ore Idoneità per principianti 48/100
oracle/oci-python-sdk#852 ·
Tutte le issue di oracle/oci-python-sdk
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
stephrobert/dsoxlab#238 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
sublimehq/package_control#1780 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
nwg-piotr/nwg-displays#145 ·