After following this tutorial to install Remote Agent on Windows.
I cannot successfully install the Agent.
I think the problem is when it writes the classpath file(s) back the the Bamboo Server it is failing.
We have opened all ports on both our remote EC2 and our Bamboo Server EC2, but nothing works. We have allowed all modify/read/write in our folder security settings on both EC2s.
Here is my log:
22:49:28 | 2018-01-24 22:49:27,963 INFO [WrapperSimpleAppMain] [AgentBootstrap] Starting Agent Bootstrap using Java 1.8.0_161 from Oracle Corporation. Default charset: windows-1252, file name encoding: Cp1252
INFO | jvm 2 | 2018/01/24 22:49:28 | 2018-01-24 22:49:27,963 INFO [WrapperSimpleAppMain] [AgentBootstrap] Agent bootstrap using endpoint: http://***/agentServer/installntservice
INFO | jvm 2 | 2018/01/24 22:49:28 | 2018-01-24 22:49:27,978 INFO [WrapperSimpleAppMain] [RemoteAgentHomeLocatorForBootstrap] Using agent home located at [C:\bamboo-agent]
INFO | jvm 2 | 2018/01/24 22:49:28 | 2018-01-24 22:49:27,978 INFO [WrapperSimpleAppMain] [RemoteAgentHomeLocatorForBootstrap] Using agent home located at [C:\bamboo-agent]
INFO | jvm 2 | 2018/01/24 22:49:28 | 2018-01-24 22:49:27,978 INFO [WrapperSimpleAppMain] [AgentUuidInitializer] Found agent UUID '*****' in temporary UUID file 'C:\bamboo-agent\uuid-temp.properties'
INFO | jvm 2 | 2018/01/24 22:49:28 | 2018-01-24 22:49:27,978 INFO [WrapperSimpleAppMain] [AgentContext] Requesting fingerprint, url: *****/installntservice/GetFingerprint.action?hostName=********&version=3&agentUuid=************
INFO | jvm 2 | 2018/01/24 22:49:28 | 2018-01-24 22:49:27,994 INFO [WrapperSimpleAppMain] [RemoteAgentHttpClientFactory] Creating a new HTTP client...
INFO | jvm 2 | 2018/01/24 22:49:28 | 2018-01-24 22:49:28,900 INFO [WrapperSimpleAppMain] [AgentContext] Authenticating against Bamboo server at *********/agentServer/installntservice/
INFO | jvm 2 | 2018/01/24 22:49:29 | 2018-01-24 22:49:29,010 INFO [WrapperSimpleAppMain] [AgentContext] Successfully authenticated with Bamboo server
INFO | jvm 2 | 2018/01/24 22:49:29 | 2018-01-24 22:49:29,010 INFO [WrapperSimpleAppMain] [BootstrapUpdater] Checking if bootstrap C:\bamboo-agent\lib\bamboo-agent-bootstrap.jar is up to date, using url: ************/installntservice/GetJar?name=bootstrap-with-deps&checksum=********&fingerprint=*********************
INFO | jvm 2 | 2018/01/24 22:49:29 | 2018-01-24 22:49:29,056 WARN [WrapperSimpleAppMain] [BootstrapUpdater] Unable to update bootstrap: HTTP/1.1 404 Not Found, continuing with the existing bootstrap.
INFO | jvm 2 | 2018/01/24 22:49:29 | 2018-01-24 22:49:29,056 INFO [WrapperSimpleAppMain] [AgentContext] Bootstrap Type: [REMOTE], agent class: com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent
INFO | jvm 2 | 2018/01/24 22:49:29 | 2018-01-24 22:49:29,056 INFO [WrapperSimpleAppMain] [AgentContext] Preparing for a classloader switch
INFO | jvm 2 | 2018/01/24 22:49:29 | 2018-01-24 22:49:29,056 INFO [WrapperSimpleAppMain] [RemoteAgentHomeLocatorForBootstrap] Using agent home located at [C:\bamboo-agent]
INFO | jvm 2 | 2018/01/24 22:49:29 | 2018-01-24 22:49:29,056 INFO [WrapperSimpleAppMain] [ClasspathBuilder] Syncing [C:\bamboo-agent\classpath] with **********/agentServer/installntservice/classpath.zip?fingerprint=*************
INFO | jvm 2 | 2018/01/24 22:49:29 | 2018-01-24 22:49:29,213 INFO [WrapperSimpleAppMain] [ClasspathBuilder] 334 file(s) currently in [C:\bamboo-agent\classpath]
INFO | jvm 2 | 2018/01/24 22:49:29 | 2018-01-24 22:49:29,260 ERROR [WrapperSimpleAppMain] [ClasspathBuilder] An error has occurred when retrieving classpath data: HTTP/1.1 404 Not Found
INFO | jvm 2 | 2018/01/24 22:49:29 | Exiting due to fatal exception.
INFO | jvm 2 | 2018/01/24 22:49:29 | com.atlassian.bamboo.agent.bootstrap.RemoteAgentHttpException: Response: [HTTP/1.1 404 Not Found] received after 'classpath.zip' retrieval request.
INFO | jvm 2 | 2018/01/24 22:49:29 | at com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder.getRemoteResources(ClasspathBuilder.java:118)
INFO | jvm 2 | 2018/01/24 22:49:29 | at com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder.build(ClasspathBuilder.java:59)
INFO | jvm 2 | 2018/01/24 22:49:29 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.newClassLoader(AgentContext.java:388)
INFO | jvm 2 | 2018/01/24 22:49:29 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.run(AgentContext.java:98)
INFO | jvm 2 | 2018/01/24 22:49:29 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.run(AgentBootstrap.java:117)
INFO | jvm 2 | 2018/01/24 22:49:29 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.main(AgentBootstrap.java:52)
INFO | jvm 2 | 2018/01/24 22:49:29 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 2 | 2018/01/24 22:49:29 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 2 | 2018/01/24 22:49:29 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 2 | 2018/01/24 22:49:29 | at java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 2 | 2018/01/24 22:49:29 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO | jvm 2 | 2018/01/24 22:49:29 | at java.lang.Thread.run(Unknown Source)
INFO | jvm 2 | 2018/01/24 22:49:29 | 2018-01-24 22:49:29,260 FATAL [WrapperSimpleAppMain] [AgentBootstrap] Exiting due to fatal exception.
INFO | jvm 2 | 2018/01/24 22:49:29 | com.atlassian.bamboo.agent.bootstrap.RemoteAgentHttpException: Response: [HTTP/1.1 404 Not Found] received after 'classpath.zip' retrieval request.
INFO | jvm 2 | 2018/01/24 22:49:29 | at com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder.getRemoteResources(ClasspathBuilder.java:118)
INFO | jvm 2 | 2018/01/24 22:49:29 | at com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder.build(ClasspathBuilder.java:59)
INFO | jvm 2 | 2018/01/24 22:49:29 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.newClassLoader(AgentContext.java:388)
INFO | jvm 2 | 2018/01/24 22:49:29 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.run(AgentContext.java:98)
INFO | jvm 2 | 2018/01/24 22:49:29 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.run(AgentBootstrap.java:117)
INFO | jvm 2 | 2018/01/24 22:49:29 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.main(AgentBootstrap.java:52)
INFO | jvm 2 | 2018/01/24 22:49:29 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 2 | 2018/01/24 22:49:29 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 2 | 2018/01/24 22:49:29 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 2 | 2018/01/24 22:49:29 | at java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 2 | 2018/01/24 22:49:29 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO | jvm 2 | 2018/01/24 22:49:29 | at java.lang.Thread.run(Unknown Source)
ERROR | wrapper | 2018/01/24 22:49:29 | JVM exited while starting the application.
STATUS | wrapper | 2018/01/24 22:49:33 | Launching a JVM...
INFO | jvm 3 | 2018/01/24 22:49:34 | Wrapper (Version 3.2.3-atlassian-1) http://wrapper.tanukisoftware.org
INFO | jvm 3 | 2018/01/24 22:49:34 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.