Remote Agent fails to start up: HTTP status code 404 received in response to fingerprint request
Symptoms
The remote agent fails to start with this error:
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:
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
# 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=
Last modified on Apr 25, 2022
Powered by Confluence and Scroll Viewport.