oracle / oracle/oci-java-sdk

Manual Endpoint Configuration Required for ZprClient in OCI Java SDK

Open
#635 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

SDK
Dominant language
Java
Stars
243
Forks
171
Avg merge
30m
Merged PRs (30d)
4

Description

Update: This has been fixed in v3.50.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 Java SDK then you have to manually update the endpoint.

Description

Users of the OCI Java 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 3.50.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:

        ZprClient zprClient =
                ZprClient.builder()
                        .build(provider);
        zprClient.setEndpoint("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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue identifies ZprClient endpoint configuration as the affected area and provides a manual setEndpoint workaround. Check the v3.50.2 release status first; done means no manual endpoint override is required for ZprClient in the affected regions.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, cloud
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.