oci-dotnet-sdk icon indicating copy to clipboard operation
oci-dotnet-sdk copied to clipboard

Manual Endpoint Configuration Required for ZprClient in OCI .Net SDK

Open rkumarpa opened this issue 4 months ago • 0 comments

If you are using or want to use ZprClient in OCI .NET SDK then you have to manually update the endpoint.

Description

Users of the OCI .NET 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 96.1.0.

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 client = new ZprClient(AuthProvider);
    client.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.

rkumarpa avatar Oct 01 '24 22:10 rkumarpa