I'm trying to connect to a SaaS trial with a Machine Agent behind an authenticated proxy. I did set the proxy username and passwordfile. I have included the contents of my log file below:
[main] 24 Aug 2015 18:00:19,832 INFO SystemAgent - ####################################################################################
[main] 24 Aug 2015 18:00:19,833 INFO SystemAgent - Agent Install Directory [/opt/MachineAgent-4.1.0.5]
[main] 24 Aug 2015 18:00:19,834 INFO SystemAgent - Using Agent Version [Machine Agent v4.1.0.5 GA Build Date 2015-07-14 17:58:17]
[main] 24 Aug 2015 18:00:19,836 INFO SystemAgent - JVM Runtime:
java.home=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.85-2.6.1.2.el7_1.x86_64/jre
java.vm.vendor=Oracle Corporation
java.vm.name=OpenJDK 64-Bit Server VM
java.runtime.version=1.7.0_85-mockbuild_2015_07_11_12_24-b00
java.io.tmpdir=/tmp
user.language=en
user.country=US
user.variant=
Default locale=en_US
[main] 24 Aug 2015 18:00:19,836 INFO SystemAgent - OS Runtime:
os.name=Linux
os.arch=amd64
os.version=3.10.0-229.11.1.el7.x86_64
user.name=root
user.home=/root
user.dir=/home/cyotee
[main] 24 Aug 2015 18:00:19,839 INFO SystemAgent - JVM Args : -Dappdynamics.http.proxyHost=10.129.100.223 | -Dappdynamics.http.proxyPort=8080 | -Dappdynamics.http.proxyUser=rgreathouse | -Dappdynamics.http.proxyPasswordFile=/opt/MachineAgent-4.1.0.5/conf/proxy_password |
[main] 24 Aug 2015 18:00:19,879 INFO SystemAgent - JVM Runtime Name: 6004@localhost.localdomain
[main] 24 Aug 2015 18:00:19,879 INFO SystemAgent - JVM PID: 6004
[main] 24 Aug 2015 18:00:19,879 INFO SystemAgent - Machine Agent is resolving bootstrap info....
[main] 24 Aug 2015 18:00:20,683 INFO SystemAgent - Orchestration is disabled - disabling virtualization resolvers by default.
[main] 24 Aug 2015 18:00:20,765 INFO SystemAgent - Full Agent Registration Info Resolver found system property [appdynamics.agent.create.agent.info.if.missing] for appdynamics.agent.create.agent.info.if.missing [false]
[main] 24 Aug 2015 18:00:20,780 INFO SystemAgent - Default Host Identifier Resolver using host name for unique host identifier [localhost.localdomain]
[main] 24 Aug 2015 18:00:20,787 INFO SystemAgent - Default IP Address Resolver found IP addresses [[172.17.42.1, fe80:0:0:0:a00:27ff:fe87:72b8%2, 10.0.2.15]]
[main] 24 Aug 2015 18:00:20,815 INFO SystemAgent - Full Agent Registration Info Resolver using selfService [false]
[main] 24 Aug 2015 18:00:20,816 INFO SystemAgent - Full Agent Registration Info Resolver using application name [null]
[main] 24 Aug 2015 18:00:20,816 INFO SystemAgent - Full Agent Registration Info Resolver using tier name [null]
[main] 24 Aug 2015 18:00:20,816 INFO SystemAgent - Full Agent Registration Info Resolver using node name [null]
[main] 24 Aug 2015 18:00:20,831 INFO SystemAgent - XML Controller Info Resolver found controller host [paid138.saas.appdynamics.com]
[main] 24 Aug 2015 18:00:20,832 INFO SystemAgent - XML Controller Info Resolver found controller port [80]
[main] 24 Aug 2015 18:00:20,847 INFO SystemAgent - XML Agent Account Info Resolver using account name [OpenSourceArchitect]
[main] 24 Aug 2015 18:00:20,848 INFO SystemAgent - XML Agent Account Info Resolver using account access key [rjsauy3bldnb]
[main] 24 Aug 2015 18:00:21,222 INFO SystemAgent - Using proxy settings [10.129.100.223:8080]
[main] 24 Aug 2015 18:00:21,241 INFO SystemAgent - Using proxy authentication with user [rgreathouse]
[main] 24 Aug 2015 18:00:21,555 INFO SystemAgent - Machine Agent resolved bootstrap info!
[main] 24 Aug 2015 18:00:21,559 INFO SystemAgent - Creating machine agent scheduler, pool size: 2
[main] 24 Aug 2015 18:00:21,602 INFO SystemAgent - Creating machine agent monitor scheduler, pool size: 4
[main] 24 Aug 2015 18:00:21,613 INFO SystemAgent - Started Agent Schedulers
[main] 24 Aug 2015 18:00:21,613 INFO SystemAgent - Scheduling Machine Agent Registration ....
[main] 24 Aug 2015 18:00:21,616 INFO RegistrationChannel - Reregistration Check is : [disabled].
[Agent-Scheduler-1] 24 Aug 2015 18:00:21,638 INFO RegistrationChannel - using controller host [paid138.saas.appdynamics.com]; controller port [80]
[Agent-Scheduler-1] 24 Aug 2015 18:00:21,673 INFO RegistrationChannel - setting unique host information Host Name [localhost.localdomain]
[Agent-Scheduler-1] 24 Aug 2015 18:00:21,674 INFO RegistrationChannel - setting agent version [Machine Agent v4.1.0.5 GA Build Date 2015-07-14 17:58:17]
[Agent-Scheduler-1] 24 Aug 2015 18:00:21,674 INFO RegistrationChannel - setting agent properties [null]
[Agent-Scheduler-1] 24 Aug 2015 18:00:21,674 INFO RegistrationChannel - setting agent install dir [/opt/MachineAgent-4.1.0.5]
[Agent-Scheduler-1] 24 Aug 2015 18:00:21,674 INFO RegistrationChannel - setting agent type [MACHINE_AGENT]
[Agent-Scheduler-1] 24 Aug 2015 18:00:21,675 INFO RegistrationChannel - Sending Registration request
[Agent-Scheduler-1] 24 Aug 2015 18:00:22,072 ERROR RegistrationChannel - HTTP Request failed: HTTP/1.1 407 Proxy Authentication Required
[Agent-Scheduler-1] 24 Aug 2015 18:00:22,074 WARN RegistrationChannel - Could not connect to the controller/invalid response from controller, cannot get registration information
Hi Robert,
I am afraid that you could be hitting recent issue we discovered on one of the customer using particular proxy, before i jump into the conclusion whether that could be issue, would like to check few things with you:
a) Can you confirm whether password is plain text password or an encrypted one?
b) attach the logs folder archive at /opt/MachineA
c) can you provide the proxy vendor/type you are using ?
d) While you confirm above details can you check with local proxy without authentication to get over authenticated proxy and see how it goes with error "HTTP Request failed: HTTP/1.1 407 Proxy Authentication Required" on restart of machine agent jvm process?
a) Can you confirm whether password is plain text password or an encrypted one?
Plaintext, first and only line, only data in file
b) attach the logs folder archive at /opt/MachineA
Done
c) can you provide the proxy vendor/type you are using ?
Squid/3.4.12
d) While you confirm above details can you check with local proxy without authentication to get over authenticated proxy and see how it goes with error "HTTP Request failed: HTTP/1.1 407 Proxy Authentication Required" on restart of machine agent jvm process?
I will work on this while you review the log.
Hi Robert,
Can you please get in touch with Jeff for machineagent.zip build sftp details and try once , Hope this is your email id robert.i.greathouse@gmail.com which i added in cc on email conversation, keep us posted how it goes