When I try to run an agent on a MAC i get the folling exception
INFO [WrapperSimpleAppMain] [AgentContext] Requesting fingerprint, url: https://my.company.com/builds/agentServer/GetFingerprint.action?hostName=myhost.mycompany.net&version=3&agentUuid=47ccd75d-d0eb-46f5-9c25-13533f70deb5
INFO [WrapperSimpleAppMain] [RemoteAgentHttpClientFactory] Creating a new HTTP client...
INFO [WrapperSimpleAppMain] [AgentContext] Authenticating against Bamboo server at https://my.company.com/builds/agentServer/
INFO [WrapperSimpleAppMain] [AgentContext] Successfully authenticated with Bamboo server
Exiting due to fatal exception.
java.lang.ArrayIndexOutOfBoundsException: 1
at com.atlassian.bamboo.agent.bootstrap.GetFingerprintResponse.<init>(GetFingerprintResponse.java:24)
at com.atlassian.bamboo.agent.bootstrap.AgentContext.initFingerprint(AgentContext.java:119)
at com.atlassian.bamboo.agent.bootstrap.AgentContext.initServerSession(AgentContext.java:101)
at com.atlassian.bamboo.agent.bootstrap.AgentContext.run(AgentContext.java:88)
at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.run(AgentBootstrap.java:111)
at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.main(AgentBootstrap.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
at java.lang.Thread.run(Thread.java:748)
FATAL [WrapperSimpleAppMain] [AgentBootstrap] Exiting due to fatal exception.
With Windows based agent everything works fine.
Hi @Rump_ Matthias,
The issue mentioned suggests a networking problem.
Please refer to Troubleshooting Remote Agents documentation.
Also, please make sure:
bootstrapVersion=1
&fingerprint=-1111111111111111111
&instanceFingerprint=2222222222222222222
&agentClassName=com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent
&userProperty.bamboo.agent.brokerCertificate=MIICwD...Wx3GzA
&userProperty.bamboo.agent.brokerUrl=failover:(tcp://BAMBOO_BROKER_CLIENT_URL:54663?wireFormat.maxInactivityDuration=300000)?initialReconnectDelay=15000&maxReconnectAttempts=10&userProperty.bamboo.agent.heartbeatInterval=60
Kind regards,
Rafael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.