oci-typescript-sdk
oci-typescript-sdk copied to clipboard
Queue endpoint is not configured properly
In oci-queue the template for the endpoint service is not configured properly.
Request cannot be retried. Not Retrying. Exception occurred : Error: Please use endpoint https://cell-1.queue.messaging.<region>.oci.oraclecloud.com
The issue seems to be here: https://github.com/oracle/oci-typescript-sdk/blob/c2ae9b364b590ab98b50a497ce3e63c788e525f5/lib/queue/lib/client.ts#L36
There is also bugs in other language SDKs:
- https://github.com/oracle/oci-java-sdk/issues/666
- https://github.com/oracle/oci-go-sdk/issues/467
@amirzahavi Use below function to initialize service endpoint: queue_client = oci.queue.QueueClient(config)
queue_client.init(config, service_endpoint="https://cell-1.queue.messaging.{region}.oci.oraclecloud.com")