Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Issues Connecting Bamboo to bitbucket server

I am trying to connect my bamboo server to the bitbucket server, I thought to install the remote agent would make it easier.  I got the installer on the server and it does not install? I changed the system variable to set the JAVA_HOME. I run the command that is given on the bamboo site. The command will run but it says it fails 3 times and the wrapper has stopped. this is the error I get. I replaced certain things with just zeros.

INFO | jvm 4 | 2019/04/16 12:41:10 | 2019-04-16 12:41:10,418 INFO [WrapperSimpleAppMain] [AgentBootstrap] Agent bootstrap using endpoint: http://000.000.000.00:8085/agentserver/agentServer/
INFO | jvm 4 | 2019/04/16 12:41:10 | 2019-04-16 12:41:10,449 INFO [WrapperSimpleAppMain] [RemoteAgentHomeLocatorForBootstrap] Using agent home located at [C:\Users\a_mcastro\bamboo-agent-home]
INFO | jvm 4 | 2019/04/16 12:41:10 | 2019-04-16 12:41:10,449 INFO [WrapperSimpleAppMain] [RemoteAgentHomeLocatorForBootstrap] Using agent home located at [C:\Users\a_mcastro\bamboo-agent-home]
INFO | jvm 4 | 2019/04/16 12:41:10 | 2019-04-16 12:41:10,449 INFO [WrapperSimpleAppMain] [AgentUuidInitializer] Found agent UUID '5be5ead8-a301-4c4d-aa80-9070eebd580c' in temporary UUID file 'C:\Users\a_mcastro\bamboo-agent-home\uuid-temp.properties'
INFO | jvm 4 | 2019/04/16 12:41:10 | 2019-04-16 12:41:10,465 INFO [WrapperSimpleAppMain] [AgentContext] Requesting fingerprint, url: http://000.000.000.00:8085/agentserver/agentServer/GetFingerprint.action?hostName=BitBucket.aff.local&version=3&agentUuid=5be5ead8-a301-4c4d-aa80-9070eebd580c&securityToken=000000000000000000000000000000000000
INFO | jvm 4 | 2019/04/16 12:41:10 | 2019-04-16 12:41:10,465 INFO [WrapperSimpleAppMain] [RemoteAgentHttpClientFactory] Creating a new HTTP client...
INFO | jvm 4 | 2019/04/16 12:41:11 | 2019-04-16 12:41:10,918 INFO [WrapperSimpleAppMain] [AgentContext] Authenticating against Bamboo server at http://000.000.000.00:8085/agentserver/agentServer/
INFO | jvm 4 | 2019/04/16 12:41:11 | 2019-04-16 12:41:10,996 ERROR [WrapperSimpleAppMain] [AgentContext] An error has occurred when requesting fingerprint: HTTP/1.1 404
INFO | jvm 4 | 2019/04/16 12:41:11 | Exiting due to fatal exception.
INFO | jvm 4 | 2019/04/16 12:41:11 | com.atlassian.bamboo.agent.bootstrap.RemoteAgentHttpException: Response: [HTTP/1.1 404 ] received after fingerprint request.
INFO | jvm 4 | 2019/04/16 12:41:11 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.initFingerprint(AgentContext.java:156)
INFO | jvm 4 | 2019/04/16 12:41:11 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.initServerSession(AgentContext.java:101)
INFO | jvm 4 | 2019/04/16 12:41:11 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.run(AgentContext.java:88)
INFO | jvm 4 | 2019/04/16 12:41:11 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.run(AgentBootstrap.java:111)
INFO | jvm 4 | 2019/04/16 12:41:11 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.main(AgentBootstrap.java:50)
INFO | jvm 4 | 2019/04/16 12:41:11 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 4 | 2019/04/16 12:41:11 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 4 | 2019/04/16 12:41:11 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 4 | 2019/04/16 12:41:11 | at java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 4 | 2019/04/16 12:41:11 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO | jvm 4 | 2019/04/16 12:41:11 | at java.lang.Thread.run(Unknown Source)
INFO | jvm 4 | 2019/04/16 12:41:11 | 2019-04-16 12:41:10,996 FATAL [WrapperSimpleAppMain] [AgentBootstrap] Exiting due to fatal exception.
INFO | jvm 4 | 2019/04/16 12:41:11 | com.atlassian.bamboo.agent.bootstrap.RemoteAgentHttpException: Response: [HTTP/1.1 404 ] received after fingerprint request.
INFO | jvm 4 | 2019/04/16 12:41:11 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.initFingerprint(AgentContext.java:156)
INFO | jvm 4 | 2019/04/16 12:41:11 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.initServerSession(AgentContext.java:101)
INFO | jvm 4 | 2019/04/16 12:41:11 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.run(AgentContext.java:88)
INFO | jvm 4 | 2019/04/16 12:41:11 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.run(AgentBootstrap.java:111)
INFO | jvm 4 | 2019/04/16 12:41:11 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.main(AgentBootstrap.java:50)
INFO | jvm 4 | 2019/04/16 12:41:11 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 4 | 2019/04/16 12:41:11 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 4 | 2019/04/16 12:41:11 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 4 | 2019/04/16 12:41:11 | at java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 4 | 2019/04/16 12:41:11 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO | jvm 4 | 2019/04/16 12:41:11 | at java.lang.Thread.run(Unknown Source)
ERROR | wrapper | 2019/04/16 12:41:11 | JVM exited while starting the application.
STATUS | wrapper | 2019/04/16 12:41:15 | Launching a JVM...
INFO | jvm 5 | 2019/04/16 12:41:15 | Wrapper (Version 3.2.3-atlassian-1) http://wrapper.tanukisoftware.org
INFO | jvm 5 | 2019/04/16 12:41:15 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
INFO | jvm 5 | 2019/04/16 12:41:15 |
INFO | jvm 5 | 2019/04/16 12:41:16 | 2019-04-16 12:41:15,938 INFO [WrapperSimpleAppMain] [AgentBootstrap] Starting Agent Bootstrap using Java 1.8.0_201 from Oracle Corporation. Default charset: windows-1252, file name encoding: Cp1252
INFO | jvm 5 | 2019/04/16 12:41:16 | 2019-04-16 12:41:15,938 INFO [WrapperSimpleAppMain] [AgentBootstrap] Agent bootstrap using endpoint: http://000.000.000.00:8085/agentserver/agentServer/
INFO | jvm 5 | 2019/04/16 12:41:16 | 2019-04-16 12:41:15,938 INFO [WrapperSimpleAppMain] [RemoteAgentHomeLocatorForBootstrap] Using agent home located at [C:\Users\a_mcastro\bamboo-agent-home]
INFO | jvm 5 | 2019/04/16 12:41:16 | 2019-04-16 12:41:15,938 INFO [WrapperSimpleAppMain] [RemoteAgentHomeLocatorForBootstrap] Using agent home located at [C:\Users\a_mcastro\bamboo-agent-home]
INFO | jvm 5 | 2019/04/16 12:41:16 | 2019-04-16 12:41:15,938 INFO [WrapperSimpleAppMain] [AgentUuidInitializer] Found agent UUID '5be5ead8-a301-4c4d-aa80-9070eebd580c' in temporary UUID file 'C:\Users\a_mcastro\bamboo-agent-home\uuid-temp.properties'
INFO | jvm 5 | 2019/04/16 12:41:16 | 2019-04-16 12:41:15,953 INFO [WrapperSimpleAppMain] [AgentContext] Requesting fingerprint, url: http://000.000.000.00:8085/agentserver/agentServer/GetFingerprint.action?hostName=BitBucket.aff.local&version=3&agentUuid=5be5ead8-a301-4c4d-aa80-9070eebd580c&securityToken=000000000000000000000000000000000000
INFO | jvm 5 | 2019/04/16 12:41:16 | 2019-04-16 12:41:15,953 INFO [WrapperSimpleAppMain] [RemoteAgentHttpClientFactory] Creating a new HTTP client...
INFO | jvm 5 | 2019/04/16 12:41:16 | 2019-04-16 12:41:16,406 INFO [WrapperSimpleAppMain] [AgentContext] Authenticating against Bamboo server at http://000.000.000.00:8085/agentserver/agentServer/
INFO | jvm 5 | 2019/04/16 12:41:16 | 2019-04-16 12:41:16,469 ERROR [WrapperSimpleAppMain] [AgentContext] An error has occurred when requesting fingerprint: HTTP/1.1 404
INFO | jvm 5 | 2019/04/16 12:41:16 | Exiting due to fatal exception.
INFO | jvm 5 | 2019/04/16 12:41:16 | com.atlassian.bamboo.agent.bootstrap.RemoteAgentHttpException: Response: [HTTP/1.1 404 ] received after fingerprint request.
INFO | jvm 5 | 2019/04/16 12:41:16 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.initFingerprint(AgentContext.java:156)
INFO | jvm 5 | 2019/04/16 12:41:16 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.initServerSession(AgentContext.java:101)
INFO | jvm 5 | 2019/04/16 12:41:16 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.run(AgentContext.java:88)
INFO | jvm 5 | 2019/04/16 12:41:16 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.run(AgentBootstrap.java:111)
INFO | jvm 5 | 2019/04/16 12:41:16 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.main(AgentBootstrap.java:50)
INFO | jvm 5 | 2019/04/16 12:41:16 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 5 | 2019/04/16 12:41:16 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 5 | 2019/04/16 12:41:16 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 5 | 2019/04/16 12:41:16 | at java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 5 | 2019/04/16 12:41:16 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO | jvm 5 | 2019/04/16 12:41:16 | at java.lang.Thread.run(Unknown Source)
INFO | jvm 5 | 2019/04/16 12:41:16 | 2019-04-16 12:41:16,469 FATAL [WrapperSimpleAppMain] [AgentBootstrap] Exiting due to fatal exception.
INFO | jvm 5 | 2019/04/16 12:41:16 | com.atlassian.bamboo.agent.bootstrap.RemoteAgentHttpException: Response: [HTTP/1.1 404 ] received after fingerprint request.
INFO | jvm 5 | 2019/04/16 12:41:16 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.initFingerprint(AgentContext.java:156)
INFO | jvm 5 | 2019/04/16 12:41:16 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.initServerSession(AgentContext.java:101)
INFO | jvm 5 | 2019/04/16 12:41:16 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.run(AgentContext.java:88)
INFO | jvm 5 | 2019/04/16 12:41:16 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.run(AgentBootstrap.java:111)Do I need to set an Inbound firewall rule for my bamboo server to allow bitbucket to connect to it? I also tried to use the install without the wrapper and I get this error.

2019-04-16 12:19:00,539 INFO [main] [AgentBootstrap] Starting Agent Bootstrap using Java 1.8.0_201 from Oracle Corporation. Default charset: windows-1252, file name encoding: Cp1252
2019-04-16 12:19:00,539 ERROR [main] [AgentBootstrap] Incorrect command line syntax. Maximum two arguments allowed. 3 arguments were passed: http://000.000.000.00:8085/age

2 answers

1 accepted

0 votes
Answer accepted

@Michael Castro 

Got it, seems like the agent has issues while authenticating against the bamboo server.

the context seem to be added twice  /agentserver/agentServer/

How did you install the agent? The 404 error is also described at

https://confluence.atlassian.com/bamkb/remote-agent-fails-to-start-up-http-status-code-404-received-in-response-to-fingerprint-request-300814507.html

and is related to the wrong bamboo server url

 

Cheers

Kurt

Honestly, I don't think it is installed. I click on the jira download and it does not run. it opens and closes.

@Michael Castro 

 

i did not get that, "I click on the jira download and it does not run" what exactly do you mean.?

2019-04-17_13-21-19.png
When you click this to download the jar file and I move it to the server. When I double click on it. there is no install action. I also try to unwrap it and it fails..

@Michael Castro 

 

Please check at the page where you download the agent

there is the command stated that you need to run

see also

https://confluence.atlassian.com/bamboo/bamboo-remote-agent-installation-guide-289276832.html

So I ran the command and it fails. the wrapper exists.  

@Michael Castro 

What error / message did you get when the wrapper exited?

Now this is not a need, but I appreciate the help

I changed it just for this, so I wasn't putting my servers IP out there. I also did it for the security token

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

190 views 4 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you