Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
03-15-2023 02:20 PM
Hi,
I have a new Node app and am trying to install the AppDynamics package. This fails with a 403 when downloading some files.
This is from a Windows 11 machine using Node 18.15.0. We also have Mac M1 developers who also need to be able to install this package.
Seeing as this is a 403 is there some kind of authentication needed? Or is the file just not available over the VPN. If I paste the download URL into a browser I also get a 403.
Thanks
installing packageappdynamics-libagent-napi-native
v18.15.0
Testing: BaseUrl set is:https://cdn.appdynamics.com/packages/nodejs/
Agent version 23.3.0
Get agent version result is:23.3.0.0
Agent version 23.3.0
baseUrl is:https://cdn.appdynamics.com/packages/nodejs/
DownloadURL is:https://cdn.appdynamics.com/packages/nodejs/23.3.0.0/appdynamics-libagent-napi-native-win32-x64-v18.tgz
https://cdn.appdynamics.com/packages/nodejs/23.3.0.0/appdynamics-libagent-napi-native-win32-x64-v18.tgz
Agent version 23.3.0
Downloadinghttps://cdn.appdynamics.com/packages/nodejs/23.3.0.0/appdynamics-libagent-napi-native-win32-x64-v18.tgz
Saving toC:\Users\alanm\AppData\Local\Temp\appdynamics-23.3.0.0\appdynamics-libagent-napi-native-win32-x64-v18.tgz
user agent: yarn/1.22.19 npm/? node/v18.15.0 win32 x64
Receiving... https://cdn.appdynamics.com/packages/nodejs/23.3.0.0/appdynamics-libagent-napi-native-win32-x64-v18.tgz
Error requesting archive.
Status: 403
Request options: {
"uri": "https://cdn.appdynamics.com/packages/nodejs/23.3.0.0/appdynamics-libagent-napi-native-win32-x64-v18.tgz",
"followRedirect": true,
"headers": {
"User-Agent": "yarn/1.22.19 npm/? node/v18.15.0 win32 x64"
},
"gzip": true,
"encoding": null,
"strictSSL": true,
"hostname": "cdn.appdynamics.com",
"path": "/packages/nodejs/23.3.0.0/appdynamics-libagent-napi-native-win32-x64-v18.tgz"
}
Response headers: {
"content-type": "application/xml",
"transfer-encoding": "chunked",
"connection": "close",
"date": "Wed, 15 Mar 2023 21:13:36 GMT",
"server": "nginx/1.16.1",
"x-cache": "Error from cloudfront",
"via": "1.1 9910b161083ec8200ad24e6d6beec168.cloudfront.net (CloudFront)",
"x-amz-cf-pop": "SYD1-C1",
Solved! Go to Solution.
03-16-2023 02:50 PM
Hi @Alan.Mangroo,
I found this existing post, it's a bit old, but the problem/error seem to be similar.
https://community.appdynamics.com/t5/Dynamic-Languages-Node-JS-Python/Unable-to-npm-install-appdynam...
Let me know if it helps.
Thanks,
Ryan, Cisco AppDynamics Community Manager
Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Check out Observabiity in Action
new deep dive videos weekly in the Knowledge Base.
03-16-2023 03:08 PM
Thanks for the reply @Ryan.Paredez
I did see this and tried their solution.
Using the following in package.json does not change anything. This file does exist and I believe that it should then download two more files.
"appdynamics": "https://registry.npmjs.org/appdynamics/-/appdynamics-22.11.0.tgz",
These are the two files it is failing to download, are they really available via the CDN?
https://cdn.appdynamics.com/packages/nodejs/22.11.0.0/appdynamics-native-native-win32-x64-v18.tgz
https://cdn.appdynamics.com/packages/nodejs/22.11.0.0/appdynamics-native-native-win32-x64-v18.tgz
I cant find them in registry.npmjs.org so cannot use direct links to them. Same thing with 23.3.0.
Also clearing the cache makes no difference.
03-16-2023 03:15 PM
@Alan.Mangroo As I keep looking, I saw something else to make sure the environment is compatible.
https://docs.appdynamics.com/appd/23.x/latest/en/application-monitoring/install-app-server-agents/no...
Thanks,
Ryan, Cisco AppDynamics Community Manager
Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Check out Observabiity in Action
new deep dive videos weekly in the Knowledge Base.
03-16-2023 03:56 PM
Thanks again @Ryan.Paredez
I think this makes sense then, Windows 11 is not supported. I just tried the same on Ubuntu using WSL, that worked so I think we can make this work for us.
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form