Agent Installation Error: Server has not specified Agent bootstrap version.
Asked by Tyler Berryhill:

I'm trying to install a remote agent and I'm getting the following error message. I've only seen one other thread, from 2016, referencing this same error but no resolution was ever posted. I'm using agent version 6.1.1, Oracle JDK 8, and Linux Mint 19.  

```
ERROR | wrapper | 2019/04/19 06:34:39 | JVM exited while starting the application.
INFO | jvm 1 | 2019/04/19 06:34:39 | 2019-04-19 06:34:39,807 INFO [WrapperSimpleAppMain] [AgentContext] Successfully authenticated with Bamboo server
INFO | jvm 1 | 2019/04/19 06:34:39 | Exiting due to fatal exception.
INFO | jvm 1 | 2019/04/19 06:34:39 | java.net.ProtocolException: Server has not specified Agent bootstrap version. Please re-install the agent.
INFO | jvm 1 | 2019/04/19 06:34:39 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.validateBootstrapVersion(AgentContext.java:201)
INFO | jvm 1 | 2019/04/19 06:34:39 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.initFingerprint(AgentContext.java:120)
INFO | jvm 1 | 2019/04/19 06:34:39 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.initServerSession(AgentContext.java:101)
INFO | jvm 1 | 2019/04/19 06:34:39 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.run(AgentContext.java:88)
INFO | jvm 1 | 2019/04/19 06:34:39 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.run(AgentBootstrap.java:111)
INFO | jvm 1 | 2019/04/19 06:34:39 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.main(AgentBootstrap.java:50)
INFO | jvm 1 | 2019/04/19 06:34:39 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2019/04/19 06:34:39 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO | jvm 1 | 2019/04/19 06:34:39 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2019/04/19 06:34:39 | at java.lang.reflect.Method.invoke(Method.java:498)
INFO | jvm 1 | 2019/04/19 06:34:39 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO | jvm 1 | 2019/04/19 06:34:39 | at java.lang.Thread.run(Thread.java:748
```


Answers:
author: Kurt Klinner
body: [@Tyler Berryhill](/t5/user/viewprofilepage/user-id/3064001)

Hi Tyler

welcome to the community.

Which version of Bamboo are you running? How did you install the agent?

Cheers

Kurt

comments: author: Tyler Berryhill
body: Hi [@Kurt Klinner](/t5/user/viewprofilepage/user-id/734136) ,

I'm using Bamboo 6.1.1 and I'm installing it in linux using the following command:

$ java -Dbamboo.home=/home/\<myuser\>/bamboo -Dbamboo.agent.ignoreServerCertName=true -jar /home/\<myuser\>/bamboo/atlassian-bamboo-agent-installer-6.1.1.jar http://\<mybamboo-server\>/agentServer/


author: Kurt Klinner
body: [@Tyler Berryhill](/t5/user/viewprofilepage/user-id/3064001) looks good at first sight.

The url of the bamboo server is also right - correct? Just asking as you use ignoreServerCertName as option but referer to an http url

Cheers

Kurt


author: Tyler Berryhill
body: [@Kurt Klinner](/t5/user/viewprofilepage/user-id/734136)

I was able to get this working. I re-downloaded the agent .jar and I no longer got this error message. The version numbers were the same for both the original file and the re-downloaded one but the md5 was different. I'm not sure what changed between the two but I no longer see that error.


Tags: remote-agent