Broken Pipe error
Closed this issue · 4 comments
Hi,
I got a broken pipe exception during uploading artifact to amazon. Is there a way to fix that?
22.14% 15 MiB/72 MiB
22.15% 15 MiB/72 MiB
22.16% 15 MiB/72 MiB
22.17% 15 MiB/72 MiB
22.18% 15 MiB/72 MiB [INFO] Unable to execute HTTP request: Broken pipe
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
at sun.security.ssl.OutputRecord.writeBuffer(OutputRecord.java:431)
at sun.security.ssl.OutputRecord.write(OutputRecord.java:417)
at sun.security.ssl.SSLSocketImpl.writeRecordInternal(SSLSocketImpl.java:876)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:847)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
at org.apache.http.impl.io.AbstractSessionOutputBuffer.write(AbstractSessionOutputBuffer.java:181)
at org.apache.http.impl.io.ContentLengthOutputStream.write(ContentLengthOutputStream.java:115)
at org.apache.http.entity.InputStreamEntity.writeTo(InputStreamEntity.java:142)
at com.amazonaws.http.RepeatableInputStreamRequestEntity.writeTo(RepeatableInputStreamRequestEntity.java:153)
at org.apache.http.entity.HttpEntityWrapper.writeTo(HttpEntityWrapper.java:89)
at org.apache.http.impl.client.EntityEnclosingRequestWrapper$EntityWrapper.writeTo(EntityEnclosingRequestWrapper.java:108)
at org.apache.http.impl.entity.EntitySerializer.serialize(EntitySerializer.java:117)
at org.apache.http.impl.AbstractHttpClientConnection.sendRequestEntity(AbstractHttpClientConnection.java:265)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.sendRequestEntity(ManagedClientConnectionImpl.java:203)
at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:236)
at com.amazonaws.http.protocol.SdkHttpRequestExecutor.doSendRequest(SdkHttpRequestExecutor.java:47)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:685)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:487)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:728)
at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:489)
at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:310)
at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3604)
at com.amazonaws.services.s3.AmazonS3Client.doUploadPart(AmazonS3Client.java:2742)
at com.amazonaws.services.s3.AmazonS3Client.uploadPart(AmazonS3Client.java:2727)
at com.amazonaws.services.s3.transfer.internal.UploadPartCallable.call(UploadPartCallable.java:33)
at com.amazonaws.services.s3.transfer.internal.UploadPartCallable.call(UploadPartCallable.java:23)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Thank you in advance!
Kevin
Are you running on OpenJDK? Try on Oracles
-----Original Message-----
From: "kevinsdooapp" notifications@github.com
Sent: 12/30/2015 5:49
To: "ingenieux/beanstalker" beanstalker@noreply.github.com
Subject: [beanstalker] Broken Pipe error (#80)
Hi,
I got a broken pipe exception during uploading artifact to amazon Is there a way to fix that?
2214% 15 MiB/72 MiB
2215% 15 MiB/72 MiB
2216% 15 MiB/72 MiB
2217% 15 MiB/72 MiB
2218% 15 MiB/72 MiB [INFO] Unable to execute HTTP request: Broken pipe
javanetSocketException: Broken pipe
at javanetSocketOutputStreamsocketWrite0(Native Method)
at javanetSocketOutputStreamsocketWrite(SocketOutputStreamjava:109)
at javanetSocketOutputStreamwrite(SocketOutputStreamjava:153)
at sunsecuritysslOutputRecordwriteBuffer(OutputRecordjava:431)
at sunsecuritysslOutputRecordwrite(OutputRecordjava:417)
at sunsecuritysslSSLSocketImplwriteRecordInternal(SSLSocketImpljava:876)
at sunsecuritysslSSLSocketImplwriteRecord(SSLSocketImpljava:847)
at sunsecuritysslAppOutputStreamwrite(AppOutputStreamjava:123)
at orgapachehttpimplioAbstractSessionOutputBufferwrite(AbstractSessionOutputBufferjava:181)
at orgapachehttpimplioContentLengthOutputStreamwrite(ContentLengthOutputStreamjava:115)
at orgapachehttpentityInputStreamEntitywriteTo(InputStreamEntityjava:142)
at comamazonawshttpRepeatableInputStreamRequestEntitywriteTo(RepeatableInputStreamRequestEntityjava:153)
at orgapachehttpentityHttpEntityWrapperwriteTo(HttpEntityWrapperjava:89)
at orgapachehttpimplclientEntityEnclosingRequestWrapper$EntityWrapperwriteTo(EntityEnclosingRequestWrapperjava:108)
at orgapachehttpimplentityEntitySerializerserialize(EntitySerializerjava:117)
at orgapachehttpimplAbstractHttpClientConnectionsendRequestEntity(AbstractHttpClientConnectionjava:265)
at orgapachehttpimplconnManagedClientConnectionImplsendRequestEntity(ManagedClientConnectionImpljava:203)
at orgapachehttpprotocolHttpRequestExecutordoSendRequest(HttpRequestExecutorjava:236)
at comamazonawshttpprotocolSdkHttpRequestExecutordoSendRequest(SdkHttpRequestExecutorjava:47)
at orgapachehttpprotocolHttpRequestExecutorexecute(HttpRequestExecutorjava:121)
at orgapachehttpimplclientDefaultRequestDirectortryExecute(DefaultRequestDirectorjava:685)
at orgapachehttpimplclientDefaultRequestDirectorexecute(DefaultRequestDirectorjava:487)
at orgapachehttpimplclientAbstractHttpClientdoExecute(AbstractHttpClientjava:863)
at orgapachehttpimplclientCloseableHttpClientexecute(CloseableHttpClientjava:82)
at orgapachehttpimplclientCloseableHttpClientexecute(CloseableHttpClientjava:57)
at comamazonawshttpAmazonHttpClientexecuteOneRequest(AmazonHttpClientjava:728)
at comamazonawshttpAmazonHttpClientexecuteHelper(AmazonHttpClientjava:489)
at comamazonawshttpAmazonHttpClientexecute(AmazonHttpClientjava:310)
at comamazonawsservicess3AmazonS3Clientinvoke(AmazonS3Clientjava:3604)
at comamazonawsservicess3AmazonS3ClientdoUploadPart(AmazonS3Clientjava:2742)
at comamazonawsservicess3AmazonS3ClientuploadPart(AmazonS3Clientjava:2727)
at comamazonawsservicess3transferinternalUploadPartCallablecall(UploadPartCallablejava:33)
at comamazonawsservicess3transferinternalUploadPartCallablecall(UploadPartCallablejava:23)
at javautilconcurrentFutureTaskrun(FutureTaskjava:266)
at javautilconcurrentThreadPoolExecutorrunWorker(ThreadPoolExecutorjava:1142)
at javautilconcurrentThreadPoolExecutor$Workerrun(ThreadPoolExecutorjava:617)
at javalangThreadrun(Threadjava:745)
Thank you in advance!
Kevin
—
Reply to this email directly or view it on GitHub.
Plus, are you on a slow/unreliable network of some sorts? Try disabling multipartUpload as well
It worked before I change of internet provider. Yes the connection is slower but anyway it shouldn't fail. Is there a timeout option?
How can I disable multipartUpload?
Basically the multipart upload tries to open parallel connections, so one might have got stuck and one of the parts (hence the name) failed.
(and another reason I particularly love fast-deploy).
http://beanstalker.ingenieux.com.br/beanstalk-maven-plugin/upload-source-bundle-mojo.html