<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Installation - Cannot connect agent to agent controller in AppD Archive</title>
    <link>https://community.splunk.com/t5/AppD-Archive/Installation-Cannot-connect-agent-to-agent-controller/m-p/728905#M3256</link>
    <description>&lt;P&gt;Hi Gavin,&lt;/P&gt;

&lt;P&gt;Ya, this is sort of a bind. Your SaaS controller is incompatible with the 4.2 agent you're trying to connect with, yet you need the 4.2 agent to support the nodejs version you're using. The good news is that the 4.1.10 version of the agent should support the nodejs version you're using with your app. Could you give this a try?&lt;/P&gt;

&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Rachel&lt;/P&gt;</description>
    <pubDate>Tue, 12 Apr 2016 15:41:55 GMT</pubDate>
    <dc:creator>Kyle_Furlong</dc:creator>
    <dc:date>2016-04-12T15:41:55Z</dc:date>
    <item>
      <title>Installation - Cannot connect agent to agent controller</title>
      <link>https://community.splunk.com/t5/AppD-Archive/Installation-Cannot-connect-agent-to-agent-controller/m-p/728904#M3255</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Am trying to get my trial of appdynamics going and have encountered some problems.&lt;/P&gt;

&lt;P&gt;1. When running npm install appdynamics@4.1.7&lt;/P&gt;


&lt;PRE&gt;npm install appdynamics@4.1.7
npm ERR! Linux 2.6.32-573.3.1.el6.x86_64
npm ERR! argv "/export/home/hms/.nvm/versions/node/v4.3.2/bin/node" "/export/home/hms/.nvm/versions/node/v4.3.2/bin/npm" "install" "appdynamics@4.1.7"
npm ERR! node v4.3.2
npm ERR! npm v2.14.12
npm ERR! code ENOTSUP
npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your version of node/npm: appdynamics@4.1.7
npm ERR! notsup Required: {"node":"&amp;gt;=0.8.0 &amp;lt;=0.12.7"}
npm ERR! notsup Actual: {"npm":"2.14.12","node":"4.3.2"}&lt;/PRE&gt;
&lt;P&gt;However, running npm install appdynamics@next works. However, when running the app with the require config, I get&lt;/P&gt;


&lt;PRE&gt;appdynamics v4.2.1.0 (12-03-2016 17:40:44.272): agent.tmpDir = "/tmp/appd/e6f6445998aaf02e82aafdbee8ecfb53"
appdynamics v4.2.1.0 (12-03-2016 17:40:44.277): agent.proxyCtrlDir = "/tmp/appd/e6f6445998aaf02e82aafdbee8ecfb53/proxy/c"
appdynamics v4.2.1.0 (12-03-2016 17:40:44.279): Loaded native extention.
appdynamics v4.2.1.0 (12-03-2016 17:40:44.282): launching proxy from master node 0
appdynamics v4.2.1.0 (12-03-2016 17:40:44.303): ProcessScanner - maxSnapshotsPerPeriod: 2
appdynamics v4.2.1.0 (12-03-2016 17:40:44.303): ProcessScanner - snapshotCountResetPeriodMS: 60000
appdynamics v4.2.1.0 (12-03-2016 17:40:44.303): ProcessScanner - autoSnapshotDurationSeconds: 10
appdynamics v4.2.1.0 (12-03-2016 17:40:44.322): found cluster module
appdynamics v4.2.1.0 (12-03-2016 17:40:44.323): found fs module
appdynamics v4.2.1.0 (12-03-2016 17:40:44.324): found http module
appdynamics v4.2.1.0 (12-03-2016 17:40:44.333): found https module
appdynamics v4.2.1.0 (12-03-2016 17:40:44.335): found net module
appdynamics v4.2.1.0 (12-03-2016 17:40:44.362): found pg module
appdynamics v4.2.1.0 (12-03-2016 17:40:44.399): found redis module
appdynamics
appdynamics v4.2.1.0 (12-03-2016 17:40:44.428): proxyArgs = [
"-d",
"/opt/cqm_onramp/server/node_modules/appdynamics/node_modules/appdynamics-proxy/proxy",
"-r",
"/tmp/appd/e6f6445998aaf02e82aafdbee8ecfb53/proxy/r",
"-j",
"/opt/cqm_onramp/server/node_modules/appdynamics/node_modules/appdynamics-jre/jre",
"--",
"/tmp/appd/e6f6445998aaf02e82aafdbee8ecfb53/proxy/c",
"/tmp/appd/e6f6445998aaf02e82aafdbee8ecfb53/proxy/l",
"-Dregister=false"
]
&lt;/PRE&gt;
&lt;P&gt;However, further down in the logs I get:&lt;/P&gt;

&lt;PRE&gt;[Tue Apr 12 2016 17:41:23] [LOG] appdynamics v4.2.1.0 (12-03-2016 17:41:23.957): { currentVersion: '1460454066535',
agentState: 'UNREGISTERED',
timestampSkew: '0' }&lt;/PRE&gt;

&lt;P&gt;The agent is never registered.&lt;/P&gt;

&lt;P&gt;Looking at the proxy logs, I see this message:&lt;/P&gt;

&lt;PRE&gt;[AD Thread Pool-Global1] 12 Apr 2016 17:44:13,383 INFO com.singularity.CONFIG.ConfigurationChannel - Sending Registration request with: Application Name [xxxxxx], Tier Name [Tier1], Node Name [process-1], Host Name [172.17.103.75] Node Unique Local ID [process-1], Version [Proxy v4.2.1.0 GA SHA-1:.9cd8a13bed4e08c4b99513222de4506d6e00bd4d #8496 55-4.2.1.next-build]
[AD Thread Pool-Global1] 12 Apr 2016 17:44:13,638 WARN com.singularity.CONFIG.ConfigurationChannel - ResponseReadException creating Response Wrapper [qb], : com.singularity.ee.rest.b: Error in controller in processing binary request AppAgent Config Data - Failed to register as agent version 4.2.1.0 on node process-1 is incompatible with controller version 4.1.7
[AD Thread Pool-Global1] 12 Apr 2016 17:44:13,639 WARN com.singularity.CONFIG.ConfigurationChannel - Unable to get AppAgentConfigurationResponse from controller&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;How can I get my trial working?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 09:56:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/AppD-Archive/Installation-Cannot-connect-agent-to-agent-controller/m-p/728904#M3255</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2016-04-12T09:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Installation - Cannot connect agent to agent controller</title>
      <link>https://community.splunk.com/t5/AppD-Archive/Installation-Cannot-connect-agent-to-agent-controller/m-p/728905#M3256</link>
      <description>&lt;P&gt;Hi Gavin,&lt;/P&gt;

&lt;P&gt;Ya, this is sort of a bind. Your SaaS controller is incompatible with the 4.2 agent you're trying to connect with, yet you need the 4.2 agent to support the nodejs version you're using. The good news is that the 4.1.10 version of the agent should support the nodejs version you're using with your app. Could you give this a try?&lt;/P&gt;

&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Rachel&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 15:41:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/AppD-Archive/Installation-Cannot-connect-agent-to-agent-controller/m-p/728905#M3256</guid>
      <dc:creator>Kyle_Furlong</dc:creator>
      <dc:date>2016-04-12T15:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Installation - Cannot connect agent to agent controller</title>
      <link>https://community.splunk.com/t5/AppD-Archive/Installation-Cannot-connect-agent-to-agent-controller/m-p/728906#M3257</link>
      <description>&lt;P&gt;OK, this seems to work. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 10:34:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/AppD-Archive/Installation-Cannot-connect-agent-to-agent-controller/m-p/728906#M3257</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2016-04-13T10:34:06Z</dc:date>
    </item>
  </channel>
</rss>

