I've been trying to get AppDynamics running in SaaS version for a couple of days now.
I have a node 0.12 evnvrionment and a multi-cluster / single instance setup (I can control how I launch my app).
When I run the machine in debug mode (NODE_ENV = development) it works ok, but whenever I run it in another enivironment it doesn't work, I keep getting the same issue as attached. I have tried to setup an independent proxy, which works well, for multi-cluster, but I cannot get it to run as none development environment.
Can anyone help please?
appdynamics v4.1.7.0 (14-11-2015 10:01:33.800): agent.tmpDir = "/tmp/appd/ e66580fae4f00c00c578c53001ad91 08"
appdynamics v4.1.7.0 (14-11-2015 10:01:33.802): agent.proxyCtrlDir = "/home/webappuser/apps/order- manager-proxy"
appdynamics v4.1.7.0 (14-11-2015 10:01:33.804): Loaded native extention.
appdynamics v4.1.7.0 (14-11-2015 10:01:33.809): uncaughtException:
appdynamics v4.1.7.0 (14-11-2015 10:01:33.809): ERROR: TypeError: undefined is not a function
at ProxyTransport.init (/home/webappuser/apps/order- manager/node_modules/ appdynamics/lib/proxy/proxy- transport.js:38:17)
at Agent.init (/home/webappuser/apps/order- manager/node_modules/ appdynamics/lib/core/agent.js: 233:23)
at self.(anonymous function) [as profile] (/home/webappuser/apps/order- manager/node_modules/ appdynamics/lib/core/agent.js: 393:26)
at Object.<anonymous> (/home/webappuser/apps/order- manager/server.js:1:86)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
[
{
"err": "TypeError: undefined is not a function\n at ProxyTransport.init (/home/webappuser/apps/order- manager/node_modules/ appdynamics/lib/proxy/proxy-t
me/webappuser/apps/order- manager/node_modules/ appdynamics/lib/core/agent.js: 233:23)\n at self.(anonymous function) [as profile] (/home/webappuser/apps/orde
e/agent.js:393:26)\n at Object.<anonymous> (/home/webappuser/apps/order- manager/server.js:1:86)\n at Module._compile (module.js:460:26)\n at Object.M
at Module.load (module.js:355:32)\n at Function.Module._load (module.js:310:12)\n at Function.Module.runMain (module.js:501:10)\n at startup (nod
"t": "14-11-2015 10:01:33.812"
}
]
[
{
"msg": "agent.tmpDir = \"/tmp/appd/ e66580fae4f00c00c578c53001ad91 08\"",
"t": "14-11-2015 10:01:33.802"
},
{
"msg": "agent.proxyCtrlDir = \"/home/webappuser/apps/order- manager-proxy\"",
"t": "14-11-2015 10:01:33.803"
},
{
"msg": "Loaded native extention.",
"t": "14-11-2015 10:01:33.804"
},
{
"msg": "uncaughtException:",
"t": "14-11-2015 10:01:33.809"
}
]
appdynamics v4.1.7.0 (14-11-2015 10:08:01.770): agent.tmpDir = "/tmp/appd/ 3ca6cd8557b291a7cccfe94137b20d 98"
appdynamics v4.1.7.0 (14-11-2015 10:08:01.773): agent.proxyCtrlDir = "/home/webappuser/apps/order- manager-proxy"
appdynamics v4.1.7.0 (14-11-2015 10:08:01.775): Loaded native extention.
appdynamics v4.1.7.0 (14-11-2015 10:08:01.780): uncaughtException:
appdynamics v4.1.7.0 (14-11-2015 10:08:01.780): ERROR: TypeError: undefined is not a function
at ProxyTransport.init (/home/webappuser/apps/order- manager/node_modules/ appdynamics/lib/proxy/proxy- transport.js:38:17)
at Agent.init (/home/webappuser/apps/order- manager/node_modules/ appdynamics/lib/core/agent.js: 233:23)
at self.(anonymous function) [as profile] (/home/webappuser/apps/order- manager/node_modules/ appdynamics/lib/core/agent.js: 393:26)
at Object.<anonymous> (/home/webappuser/apps/order- manager/server.js:1:86)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
[
{
"err": "TypeError: undefined is not a function\n at ProxyTransport.init (/home/webappuser/apps/order- manager/node_modules/ appdynamics/lib/proxy/proxy-t
me/webappuser/apps/order- manager/node_modules/ appdynamics/lib/core/agent.js: 233:23)\n at self.(anonymous function) [as profile] (/home/webappuser/apps/orde
e/agent.js:393:26)\n at Object.<anonymous> (/home/webappuser/apps/order- manager/server.js:1:86)\n at Module._compile (module.js:460:26)\n at Object.M
at Module.load (module.js:355:32)\n at Function.Module._load (module.js:310:12)\n at Function.Module.runMain (module.js:501:10)\n at startup (nod
"t": "14-11-2015 10:08:01.783"
}
]
[
{
"msg": "agent.tmpDir = \"/tmp/appd/ 3ca6cd8557b291a7cccfe94137b20d 98\"",
"t": "14-11-2015 10:08:01.773"
},
{
"msg": "agent.proxyCtrlDir = \"/home/webappuser/apps/order- manager-proxy\"",
"t": "14-11-2015 10:08:01.773"
},
{
"msg": "Loaded native extention.",
"t": "14-11-2015 10:08:01.775"
},
{
"msg": "uncaughtException:",
"t": "14-11-2015 10:08:01.780"
}