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

getMessages and putMessages methods from Queue not using the default retry configuration #234

Open
ezequielramos opened this issue Sep 27, 2023 · 0 comments

Comments

@ezequielramos
Copy link

For some reason these two methods are not using the default retry configuration oci.common.OciSdkDefaultRetryConfiguration as the others methods on this same lib.

It appears to has a problem on the node-sshpk library, which is used by http-signature which is used by oci.common.signer.DefaultRequestSigner.signHttpRequest, that only happens the first time that I try to used it. The message error that I got was this:

{
  code: 'ERR_OSSL_DSO_COULD_NOT_LOAD_THE_SHARED_LIBRARY',
  message: 'error:25066067:DSO support routines:dlfcn_load:could not load the shared library',
  requestEndpoint: 'POST https://cell-1.queue.messaging.sa-saopaulo-1.oci.oraclecloud.com/20210201/queues/<queue_id>/messages',
  troubleshootingPage: 'See https://docs.oracle.com/en-us/iaas/Content/API/Concepts/sdk_troubleshooting.htm for help troubleshooting this error, or contact support and provide this full error message.'
}

Debugging it, this was the line that was throwing the error:
image

But it was only happening when I used these two methods for first (which drove me crazy for a while).
So I saw that the difference of these methods to the others was the default retry configuration being used. When I changed it to be the same as the others, the problem was gone.

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