Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QueueClient - Wrong endpoint template #666

Open
marcieldeg opened this issue Mar 11, 2025 · 1 comment
Open

QueueClient - Wrong endpoint template #666

marcieldeg opened this issue Mar 11, 2025 · 1 comment

Comments

@marcieldeg
Copy link

marcieldeg commented Mar 11, 2025

oci-java-sdk-queue, version 3.59.0.

Please adjust the queue endpoint.

Class com.oracle.bmc.queue.QueueClient, line 22:

from
.serviceEndpointTemplate("https://messaging.{region}.oci.{secondLevelDomain}")
to
.serviceEndpointTemplate("https://cell-1.queue.messaging.{region}.oci.{secondLevelDomain}")

As a workaround for this issue, I am forced to set the endpoint manually, which is not desirable.

Error detalis:

Exception in thread "main" com.oracle.bmc.model.BmcException: Error returned by GetMessages operation in Queue service.(404, NotAuthorizedOrNotFound, false) Please use endpoint https://cell-1.queue.messaging.us-ashburn-1.oci.oraclecloud.com (opc-request-id: XXXX)
Timestamp: 2025-03-11T12:51:54.191Z
Client version: Oracle-JavaSDK/3.59.0
Request Endpoint: https://messaging.us-ashburn-1.oci.oraclecloud.com/20210201/queues/{queue-id}/messages

@marcieldeg
Copy link
Author

This is according to the documentation at this link:
https://docs.oracle.com/en-us/iaas/Content/queue/messages.htm#messages__messages-endpoint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant