Remote Agent fails to start up: HTTP status code 404 received in response to fingerprint request
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
The remote agent fails to start with this error:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
INFO | jvm 1 | 2022/04/25 12:25:16 | 2022-04-25 12:25:16,269 FATAL [WrapperSimpleAppMain] [AgentBootstrap] Exiting due to fatal exception.
INFO | jvm 1 | 2022/04/25 12:25:16 | com.atlassian.bamboo.agent.bootstrap.RemoteAgentHttpException: Response: [HTTP/1.1 404 ] received after fingerprint request.
INFO | jvm 1 | 2022/04/25 12:25:16 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.initFingerprint(AgentContext.java:165)
INFO | jvm 1 | 2022/04/25 12:25:16 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.initServerSession(AgentContext.java:109)
INFO | jvm 1 | 2022/04/25 12:25:16 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.run(AgentContext.java:96)
INFO | jvm 1 | 2022/04/25 12:25:16 | at com.atlassian.bamboo.agent.bootstrap.RemoteAgentBootstrap.run(RemoteAgentBootstrap.java:109)
INFO | jvm 1 | 2022/04/25 12:25:16 | at com.atlassian.bamboo.agent.bootstrap.RemoteAgentBootstrap.main(RemoteAgentBootstrap.java:56)
INFO | jvm 1 | 2022/04/25 12:25:16 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2022/04/25 12:25:16 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO | jvm 1 | 2022/04/25 12:25:16 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2022/04/25 12:25:16 | at java.lang.reflect.Method.invoke(Method.java:498)
INFO | jvm 1 | 2022/04/25 12:25:16 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.main(AgentBootstrap.java:21)
INFO | jvm 1 | 2022/04/25 12:25:16 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2022/04/25 12:25:16 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO | jvm 1 | 2022/04/25 12:25:16 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2022/04/25 12:25:16 | at java.lang.reflect.Method.invoke(Method.java:498)
INFO | jvm 1 | 2022/04/25 12:25:16 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:349)
INFO | jvm 1 | 2022/04/25 12:25:16 | at java.lang.Thread.run(Thread.java:748)
STATUS | wrapper | 2022/04/25 12:25:18 | on_exit trigger matched. Restarting the JVM. (Exit code: 1)
Bamboo server logs include:
1
2022-04-25 12:29:21,237 ERROR [http-nio-8815-exec-24] [BambooStrutsUnknownHandler] There is no Action mapped for namespace [/] and action name [GetFingerprint] associated with context path [/b815].
Cause
The bamboo Server URL is incorrectly configured on the Bamboo remote agent and the Bamboo server cannot find the corresponding action.
Resolution
Action names are case sensitive, make sure to use the command (take notice of Bamboo Hostname being used) from Bamboo Administration -> Agents -> Install Remote Agent page.
Check the <BAMBOO_AGENT>/conf/wrapper.conf for the URL as well.
wrapper.conf
1 2 3 4 5
# Application parameters. Add parameters as needed starting from 1 wrapper.app.parameter.1=com.atlassian.bamboo.agent.bootstrap.AgentBootstrap wrapper.app.parameter.2=http://127.0.0.1:8815/b815/agentServer/ wrapper.app.parameter.3=
Was this helpful?