I am unable to connect Remote Agent from Bamboo server. It is showing below error message.
Command:
java -Dbamboo.agent.ignoreServerCertName=true -jar atlassian-bamboo-agent-installer-6.5.0.jar https://bamboo.cm.company.com/agentServer/ -t c01af358a80f6d5dsafds94b1d3e231031as
Error Message:
JVM exited while starting the application.
INFO | jvm 5 | 2019/06/13 20:32:11 | 2019-06-13 20:32:11,078 ERROR WrapperSimpleAppMain] [AgentContext] An error has occurred when requesting fingerprint: HTTP/1.1 404 Not Found
INFO | jvm 5 | 2019/06/13 20:32:11 | Exiting due to fatal exception.
INFO | jvm 5 | 2019/06/13 20:32:11 | com.atlassian.bamboo.agent.bootstrap.RemoteAgentHttpException: Response: [HTTP/1.1 404 Not Found] received after fingerprint request.
INFO | jvm 5 | 2019/06/13 20:32:11 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.initFingerprint(AgentContext.java:156)
INFO | jvm 5 | 2019/06/13 20:32:11 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.initServerSession(AgentContext.java:101)
INFO | jvm 5 | 2019/06/13 20:32:11 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.run(AgentContext.java:88)
INFO | jvm 5 | 2019/06/13 20:32:11 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.run(AgentBootstrap.java:111)
INFO | jvm 5 | 2019/06/13 20:32:11 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.main(AgentBootstrap.java:50)
INFO | jvm 5 | 2019/06/13 20:32:11 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 5 | 2019/06/13 20:32:11 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO | jvm 5 | 2019/06/13 20:32:11 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 5 | 2019/06/13 20:32:11 | at java.lang.reflect.Method.invoke(Method.java:498)
INFO | jvm 5 | 2019/06/13 20:32:11 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO | jvm 5 | 2019/06/13 20:32:11 | at java.lang.Thread.run(Thread.java:748)
INFO | jvm 5 | 2019/06/13 20:32:11 | 2019-06-13 20:32:11,083 FATAL [WrapperSimpleAppMain] [AgentBootstrap] Exiting due to fatal exception.
INFO | jvm 5 | 2019/06/13 20:32:11 | com.atlassian.bamboo.agent.bootstrap.RemoteAgentHttpException: Response: [HTTP/1.1 404 Not Found] received after fingerprint request.
INFO | jvm 5 | 2019/06/13 20:32:11 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.initFingerprint(AgentContext.java:156)
INFO | jvm 5 | 2019/06/13 20:32:11 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.initServerSession(AgentContext.java:101)
INFO | jvm 5 | 2019/06/13 20:32:11 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.run(AgentContext.java:88)
INFO | jvm 5 | 2019/06/13 20:32:11 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.run(AgentBootstrap.java:111)
INFO | jvm 5 | 2019/06/13 20:32:11 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.main(AgentBootstrap.java:50)
INFO | jvm 5 | 2019/06/13 20:32:11 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 5 | 2019/06/13 20:32:11 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO | jvm 5 | 2019/06/13 20:32:11 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 5 | 2019/06/13 20:32:11 | at java.lang.reflect.Method.invoke(Method.java:498)
INFO | jvm 5 | 2019/06/13 20:32:11 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO | jvm 5 | 2019/06/13 20:32:11 | at java.lang.Thread.run(Thread.java:748)
FATAL | wrapper | 2019/06/13 20:32:11 | There were 5 failed launches in a row, each lasting less than 3 seconds. Giving up.
FATAL | wrapper | 2019/06/13 20:32:11 | There may be a configuration problem: please check the logs.
STATUS | wrapper | 2019/06/13 20:32:11 | <-- Wrapper Stopped
Waiting for the agent process to finish...
Underlying agent process has terminated cleanly,
Bamboo Agent Installer is shutting down, the underlying agent process has already been shut down.
Hi @poovaraj
Thank you for sharing the logs =]
I hope that you didn't have other errors before this one, otherwise, I'll kindly ask you to share them with us as well.
This type of error may have different reasons which also includes unsupported Java version on the remote agent.
I have a couple of questions that will help us to understand this scenario better:
1. Yes. Other Agent is running successfully using same command
2. Yes. Agent is able to resolve bamboo.cm.company.com address. (Company name is hidden here)
3. Bamboo version is around 6.5 and Remote agent is having java 1.8 version.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @poovaraj
What is the difference between the agent that works and this one in terms of:
Did you see any error in the agent logs before the ones you shared here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The agent log file which has the agent logs is <Agent_Bamboo_Home>/logs/atlassian-bamboo.log.
To discover what is your <Agent_Bamboo_Home> please in your Bamboo UI navigate to: Admin >> Agents >> (select your agent) >> System properties >> Bamboo paths >> Bamboo Home.
Please let me know if you have any issues to find it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My system is not allowing non-matching certificates in HTTPClient while creating a new http client in my system. Could you please let me know how to allow non-matching certificates in HTTPClient in MAC system ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.