Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Getting error while adding a remote agent (javax.net.ssl.sslexception ssl peer shut down incorrectly

Ghulam_Alekuzei
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 20, 2020

Hello, 

We recently upgraded Bamboo license in order to setup remote agents on Bamboo. While setting up a remote agent we get following error described below. I have already looked into this page https://confluence.atlassian.com/bamkb/troubleshooting-remote-agent-216957427.html

We are using https protocol on Bamboo server and I made sure that port 443 and 54663 are accessible from agent. The error is following;

Exiting due to fatal exception.
javax.net.ssl.SSLException: SSL peer shut down incorrectly
at sun.security.ssl.InputRecord.readV3Record(Unknown Source)
at sun.security.ssl.InputRecord.read(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
at sun.security.ssl.AppInputStream.read(Unknown Source)
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)
at org.apache.http.impl.io.SessionInputBufferImpl.read(SessionInputBufferImpl.java:198)
at org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:176)
at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:135)
at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:148)
at com.atlassian.bamboo.agent.bootstrap.BootstrapUtils.copyStream(BootstrapUtils.java:84)
at com.atlassian.bamboo.agent.bootstrap.BootstrapUtils.copyStreamToFile(BootstrapUtils.java:109)
at com.atlassian.bamboo.agent.bootstrap.BootstrapUtils.copyResponseToFile(BootstrapUtils.java:103)
at com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder.lambda$download$9(ClasspathBuilder.java:170)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:223)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:165)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:140)
at com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder.download(ClasspathBuilder.java:163)
at com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder.sync(ClasspathBuilder.java:111)
at com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder.getClassLoader(ClasspathBuilder.java:58)
at com.atlassian.bamboo.agent.bootstrap.AgentContext.newClassLoader(AgentContext.java:329)
at com.atlassian.bamboo.agent.bootstrap.AgentContext.run(AgentContext.java:93)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
at java.lang.Thread.run(Unknown Source)
2020-02-20 13:32:31,868 FATAL [WrapperSimpleAppMain] [AgentBootstrap] Exiting due to fatal exception.
javax.net.ssl.SSLException: SSL peer shut down incorrectly
at sun.security.ssl.InputRecord.readV3Record(Unknown Source)
at sun.security.ssl.InputRecord.read(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
at sun.security.ssl.AppInputStream.read(Unknown Source)
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)
at org.apache.http.impl.io.SessionInputBufferImpl.read(SessionInputBufferImpl.java:198)
at org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:176)
at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:135)
at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:148)
at com.atlassian.bamboo.agent.bootstrap.BootstrapUtils.copyStream(BootstrapUtils.java:84)
at com.atlassian.bamboo.agent.bootstrap.BootstrapUtils.copyStreamToFile(BootstrapUtils.java:109)
at com.atlassian.bamboo.agent.bootstrap.BootstrapUtils.copyResponseToFile(BootstrapUtils.java:103)
at com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder.lambda$download$9(ClasspathBuilder.java:170)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:223)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:165)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:140)
at com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder.download(ClasspathBuilder.java:163)
at com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder.sync(ClasspathBuilder.java:111)
at com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder.getClassLoader(ClasspathBuilder.java:58)
at com.atlassian.bamboo.agent.bootstrap.AgentContext.newClassLoader(AgentContext.java:329)
at com.atlassian.bamboo.agent.bootstrap.AgentContext.run(AgentContext.java:93)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
at java.lang.Thread.run(Unknown Source)
ERROR | wrapper | 2020/02/20 13:32:32 | JVM exited unexpectedly. 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events