ibm-messaging / mq-mqi-nodejs

Calling IBM MQ from Node.js - a JavaScript MQI wrapper
Apache License 2.0
79 stars 41 forks source link

[ibmmq] npm install error: 403 Forbidden #165

Closed namhyuck-kim-otsk closed 1 year ago

namhyuck-kim-otsk commented 1 year ago

Please include the following information in your ticket.

Hi. I'm getting an npm install error when installing ibmmq package.

It was working perfectly fine last week, but I'm getting this error when I try to rebuild the image via Dockerfile today.

There were no changes made to the code.

Many thanks in advance.

"dependencies": {
    "ibmmq": "^1.0.5",
}
#10 18.91 npm ERR! code 1
#10 18.91 npm ERR! path /app/node_modules/ibmmq
#10 18.92 npm ERR! command failed
#10 18.92 npm ERR! command sh -c node postinstall.js
#10 18.92 npm ERR! Downloading IBM MQ Redistributable C Client runtime libraries - version 9.3.3.0
#10 18.92 npm ERR! Getting https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqdev/redist/9.3.3.0-IBM-MQC-Redist-LinuxX64.tar.gz
#10 18.92 npm ERR! Removing 9.3.3.0-IBM-MQC-Redist-LinuxX64.tar.gz
#10 18.92 npm ERR! Error occurred downloading IBM MQ Redistributable C Client: 'Request Failed.
#10 18.92 npm ERR! Status Code: 403
#10 18.92 npm ERR! You will need to manually install it.
namhyuck-kim-otsk commented 1 year ago

It looks like the corresponding file has been removed from the directory or its permission has changed. https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqdev/redist/

image

revathskumar commented 1 year ago

I am facing the same issue. But failure is only from Travis CI and Github actions. From the local machine I am able to download the Redistributable Client packages.

wget https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqdev/redist/9.3.3.0-IBM-MQC-Redist-LinuxX64.tar.gz
ibmmqmet commented 1 year ago

It looks like a load of the files have been inadvertently removed from the download site. Nothing I can do directly, I have informed the people who manage the MQ files there.

ibmmqmet commented 1 year ago

Should be fixed now

namhyuck-kim-otsk commented 1 year ago

Thank you for the prompt response.

osamaadam commented 1 year ago

This has happened again today 😞

image