-
Notifications
You must be signed in to change notification settings - Fork 43
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
Getting MQRC_ENVIRONMENT_ERROR [2012] error after updating to v2.1.0 #192
Comments
Guys, this issue is open since two weeks. Can anyone help here please? |
If you are using a newer version of Node.js, then I think In this pattern I would expect either the handle or the
Note : Still no |
Hey @chughts, Thanks for addressing the issue. the connectionHandle is a promise which resolves queue manager.
PS: I am using Node v22. |
Which call is failing open or get ? |
open is failing |
I think you are going to have to untangle the code a bit to debug it. As a test try waiting on |
Hello, I recently upgraded my
ibmmq
package version to v2.1.0 and getting following error while trying to use theGet
operation to read messages from the queue(MQError) GET[async]: MQCC = MQCC_FAILED [2] MQRC = MQRC_ENVIRONMENT_ERROR [2012]
I have able to subscribe to the queue using Get Operation correctly with version v1.0.6. Note, that I have disabled
useCtl
so that Get operation does not require Ctl to finish reading messages usingsetTuningParameters({ useCtl: false });
Here is the code block I am using to subscribe to the queue.
The text was updated successfully, but these errors were encountered: