<?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: NodeJS proxyless agent unable to communicate with controller in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/NodeJS-proxyless-agent-unable-to-communicate-with-controller/m-p/727912#M5994</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Richard,&lt;/P&gt;&lt;P&gt;The libagent needs the reference of the custom certificate in order to connect to the controller over the SSL. Can you please get the controller's certificate in &lt;STRONG&gt;.PEM format&lt;/STRONG&gt; and reference the &lt;STRONG&gt;certificate file path&lt;/STRONG&gt; in the agent configuration with the help of&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;certificateFile&lt;/STRONG&gt; configuration option? Please have a look at the agent configurations at&amp;nbsp;&lt;A href="https://docs.appdynamics.com/display/PRO45/Node.js+Settings+Reference" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO45/Node.js+Settings+Reference&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;After referencing the controller certificate file, restart the Node application and see if that helps to resolve this issue?&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Piyush&lt;/P&gt;</description>
    <pubDate>Tue, 07 Apr 2020 16:41:58 GMT</pubDate>
    <dc:creator>Piyush_Mundra</dc:creator>
    <dc:date>2020-04-07T16:41:58Z</dc:date>
    <item>
      <title>NodeJS proxyless agent unable to communicate with controller</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/NodeJS-proxyless-agent-unable-to-communicate-with-controller/m-p/727911#M5993</link>
      <description>&lt;P&gt;I've been attempting to add appdynamics to a set of NodeJS components we have. We use a private AppD Controller within the company firewall running version 4.4.3. I have only been able to get the agent to communicate with the controller via the java proxy on version 4.4.3. Whenever I try to configure libagent:true the agent does start and I get an http error in agent logs (see logs below). I'd additionally tried with different module versions and different nodeJs versions with no luck.&amp;nbsp; Below shows our appD profile added to server.js.&lt;/P&gt;

&lt;P&gt;App Dynamics Profile: { controllerHostName: 'XXXXXXXXXXXX',&lt;BR /&gt;controllerPort: '8181',&lt;BR /&gt;controllerSslEnabled: true,&lt;BR /&gt;accountName: 'XXXXXXX',&lt;BR /&gt;accountAccessKey: 'XXXXXXXXXXX',&lt;BR /&gt;applicationName: 'icg-msst-icgbuild-loki-167539-DEV',&lt;BR /&gt;tierName: 'loki-ui',&lt;BR /&gt;nodeName: 'loki-ui',&lt;BR /&gt;libagent: true,&lt;BR /&gt;debug: true }&lt;BR /&gt;[DEBUG] Appdynamics agent logs: /tmp/appd/66b173439b00d9f3b30dbc626af4dbd8&lt;/P&gt;


&lt;P&gt;NodeJS version: 10.10.0 (build &amp;amp; runtime)&lt;/P&gt;
&lt;P&gt;AppD NodeJS agent version: 20.3.1&lt;/P&gt;
&lt;P&gt;OS version: Red Hat Enterprise Linux Server release 6.10 (Santiago)&lt;/P&gt;

&lt;P&gt;[&lt;FONT color="#FF0000"&gt;Log file redacted&lt;/FONT&gt;]&lt;/P&gt;

&lt;P&gt;^ Post edited by&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/142051"&gt;@Ryan.Paredez&lt;/A&gt;.&amp;nbsp;Please do not attach or paste log files into community post for security and privacy reasons.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2020 13:27:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/NodeJS-proxyless-agent-unable-to-communicate-with-controller/m-p/727911#M5993</guid>
      <dc:creator>Richard_Maybin</dc:creator>
      <dc:date>2020-04-07T13:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: NodeJS proxyless agent unable to communicate with controller</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/NodeJS-proxyless-agent-unable-to-communicate-with-controller/m-p/727912#M5994</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Richard,&lt;/P&gt;&lt;P&gt;The libagent needs the reference of the custom certificate in order to connect to the controller over the SSL. Can you please get the controller's certificate in &lt;STRONG&gt;.PEM format&lt;/STRONG&gt; and reference the &lt;STRONG&gt;certificate file path&lt;/STRONG&gt; in the agent configuration with the help of&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;certificateFile&lt;/STRONG&gt; configuration option? Please have a look at the agent configurations at&amp;nbsp;&lt;A href="https://docs.appdynamics.com/display/PRO45/Node.js+Settings+Reference" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO45/Node.js+Settings+Reference&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;After referencing the controller certificate file, restart the Node application and see if that helps to resolve this issue?&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Piyush&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2020 16:41:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/NodeJS-proxyless-agent-unable-to-communicate-with-controller/m-p/727912#M5994</guid>
      <dc:creator>Piyush_Mundra</dc:creator>
      <dc:date>2020-04-07T16:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: NodeJS proxyless agent unable to communicate with controller</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/NodeJS-proxyless-agent-unable-to-communicate-with-controller/m-p/727913#M5995</link>
      <description>&lt;P&gt;Hi Piyush,&lt;/P&gt;&lt;P&gt;Thanks for the prompt response. I had initially tried certificateFile but not with .PEM format. I've now retried and can successfully communicate with Controller. Should certificate file format also be referenced in Agent settings page? Thanks for the help.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2020 11:00:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/NodeJS-proxyless-agent-unable-to-communicate-with-controller/m-p/727913#M5995</guid>
      <dc:creator>Richard_Maybin</dc:creator>
      <dc:date>2020-04-08T11:00:30Z</dc:date>
    </item>
  </channel>
</rss>

