Splunk AppDynamics

Unable to install AppDynamics into Node app

Alan_Mangroo
Explorer

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",
Labels (1)
Tags (1)
0 Karma
1 Solution

iamryan
Community Manager
Community Manager
0 Karma

iamryan
Community Manager
Community Manager

@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...

0 Karma

Alan_Mangroo
Explorer

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.

iamryan
Community Manager
Community Manager

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. 

0 Karma

Alan_Mangroo
Explorer

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.

0 Karma
Get Updates on the Splunk Community!

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...