Splunk AppDynamics

appd is not available for nodejs

dorowo_topope
Explorer

https://cdn.appdynamics.com/packages/nodejs/23.3.0.0/appdynamics-libagent-napi-native-osx-x64-v19.tg...

```
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>4CWXKH0ADWB5A3Z1</RequestId>
<HostId>IJWj3tUmCzpZ0pAbh3Kamn86VZOFlRha1MhM9BzCsWgIDnhHM6U1UyHqxkfv28IeZGLa4yjXy2U=</HostId>
</Error>
```
Labels (3)
Tags (1)
0 Karma
1 Solution

dorowo_topope
Explorer

sure, it's seems that libs are available if user is logged in the appd platform, so it's impossible to download it like it's written in the tech documentation by running ```npm install appdynamics``` it's not supposed to work,

the download is available manually from appd platform, no other way around, i didn't know it.

thanks

View solution in original post

dorowo_topope
Explorer

sure, it's seems that libs are available if user is logged in the appd platform, so it's impossible to download it like it's written in the tech documentation by running ```npm install appdynamics``` it's not supposed to work,

the download is available manually from appd platform, no other way around, i didn't know it.

thanks

sidj
Explorer

Thanks Dorowo based on your comment after trying to fix this for hours I found the solution 

1, Download agent from https://accounts.appdynamics.com/downloads 

2. Run npm install /my/local/path/appdynamics-nodejs-standalone-linux-x64-v21-24.1.0.9734.tgz

iamryan
Community Manager
Community Manager

Hi @dorowo.topope,

Can you share how you managed to fix it? It can help other members in the future. 

0 Karma

dorowo_topope
Explorer

ok i seemed managed to fix it, we can close a thread 

0 Karma

dorowo_topope
Explorer

no it's not the case, the url is not available, any version won't work in that case

anyway i did try v18 and having the same issue

npm ERR! Receiving... https://cdn.appdynamics.com/packages/nodejs/23.3.0.0/appdynamics-libagent-napi-native-win32-x64-v18....
npm ERR! Error requesting archive.
npm ERR! Status: 403
npm ERR! Request options: {
npm ERR! "uri": "https://cdn.appdynamics.com/packages/nodejs/23.3.0.0/appdynamics-libagent-napi-native-win32-x64-v18....",
npm ERR! "followRedirect": true,
npm ERR! "headers": {
npm ERR! "User-Agent": "npm/9.5.1 node/v18.16.0 win32 x64 workspaces/false"
npm ERR! },

did you try to install it yourself?

0 Karma

dorowo_topope
Explorer

mac os
➜ ~ node -v
v19.8.1

➜ ~ uname -a
Darwin Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64 x86_64

➜ ~ npm -v
9.5.1

you should be able to reproduce by running npm install appdynamics  

0 Karma

Sunil_Agarwal
Communicator

Hi @dorowo.topope ,  

When you run npm install appdynamics, You will see out like below... 

npm ERR! Testing: BaseUrl set is:https://cdn.appdynamics.com/packages/nodejs/
npm ERR! Agent version 23.3.0
npm ERR! Get agent version result is:23.3.0.0
npm ERR! Agent version 23.3.0
npm ERR! npm WARN EBADENGINE Unsupported engine {
npm ERR! npm WARN EBADENGINE   package: 'appdynamics-protobuf@23.3.0',
npm ERR! npm WARN EBADENGINE   required: { node: '>= 0.8.0 <=v18.*' },
npm ERR! npm WARN EBADENGINE   current: { node: 'v19.7.0', npm: '9.6.1' }


Currently we support node: '>= 0.8.0 <=v18.*' , As you are using v19.8.1, hence the issue. Please try to downgrade your NodeJS version and try?

0 Karma

dorowo_topope
Explorer

im running npm install appdynamics to be able to support nodejs

0 Karma

Sunil_Agarwal
Communicator

Could you share below details? 

0 Karma

Sunil_Agarwal
Communicator

Hi @dorowo.topope 

Could you please be more descriptive about where you got this link from and what you're attending to accomplish with this package?

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