Exception java.net.SocketException: Broken pipe
CompletedWe are trying to upload ppt files to the box cloud storage
URL - https://upload.view-api.box.com/1/documents
File Name - Data Scientist_Ver3.0_complete.pptx
Headers [
Authorization: Token "token is same as configuration on admin box support",
Content-Type: multipart/form-data;
boundary=----------------fileabxbcs
]
but it gives an error:
ERROR -
2023 04 17 11:40:48:019 (c.j.t.f.DocumentUpload:209) :[main] ERROR - Exception
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method) ~[na:1.7.0_79]
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113) ~[na:1.7.0_79]
at java.net.SocketOutputStream.write(SocketOutputStream.java:159) ~[na:1.7.0_79]
at sun.security.ssl.OutputRecord.writeBuffer(OutputRecord.java:377) ~[na:1.7.0_79]
at sun.security.ssl.OutputRecord.write(OutputRecord.java:363) ~[na:1.7.0_79]
at sun.security.ssl.SSLSocketImpl.writeRecordInternal(SSLSocketImpl.java:849) ~[na:1.7.0_79]
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:820) ~[na:1.7.0_79]
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122) ~[na:1.7.0_79]
at org.apache.http.impl.io.SessionOutputBufferImpl.streamWrite(SessionOutputBufferImpl.java:123) ~[httpcore-4.3.3.jar:4.3.3]
at org.apache.http.impl.io.SessionOutputBufferImpl.flushBuffer(SessionOutputBufferImpl.java:135) ~[httpcore-4.3.3.jar:4.3.3]
at org.apache.http.impl.io.SessionOutputBufferImpl.write(SessionOutputBufferImpl.java:164) ~[httpcore-4.3.3.jar:4.3.3]
at org.apache.http.impl.io.ContentLengthOutputStream.write(ContentLengthOutputStream.java:115) ~[httpcore-4.3.3.jar:4.3.3]
at org.apache.http.entity.mime.content.FileBody.writeTo(FileBody.java:120) ~[httpmime-4.3.6.jar:4.3.6]
at org.apache.http.entity.mime.AbstractMultipartForm.doWriteTo(AbstractMultipartForm.java:150) ~[httpmime-4.3.6.jar:4.3.6]
at org.apache.http.entity.mime.AbstractMultipartForm.writeTo(AbstractMultipartForm.java:173) ~[httpmime-4.3.6.jar:4.3.6]
at org.apache.http.entity.mime.MultipartFormEntity.writeTo(MultipartFormEntity.java:97) ~[httpmime-4.3.6.jar:4.3.6]
at org.apache.http.impl.DefaultBHttpClientConnection.sendRequestEntity(DefaultBHttpClientConnection.java:155) ~[httpcore-4.3.3.jar:4.3.3]
at org.apache.http.impl.conn.CPoolProxy.sendRequestEntity(CPoolProxy.java:149) ~[httpclient-4.3.6.jar:4.3.6]
at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:236) ~[httpcore-4.3.3.jar:4.3.3]
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121) ~[httpcore-4.3.3.jar:4.3.3]
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:254) ~[httpclient-4.3.6.jar:4.3.6]
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195) ~[httpclient-4.3.6.jar:4.3.6]
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86) ~[httpclient-4.3.6.jar:4.3.6]
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108) ~[httpclient-4.3.6.jar:4.3.6]
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) ~[httpclient-4.3.6.jar:4.3.6]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) ~[httpclient-4.3.6.jar:4.3.6]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106) ~[httpclient-4.3.6.jar:4.3.6]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57) ~[httpclient-4.3.6.jar:4.3.6]
at com.jamochatech.tools.fileupload.DocumentUpload.uploadFileToBoxView(DocumentUpload.java:186) [ExcelEngine.jar:na]
at com.jamochatech.tools.fileupload.DocumentUpload.parseExcel(DocumentUpload.java:334) [ExcelEngine.jar:na]
at com.jamochatech.tools.fileupload.DocumentUpload.main(DocumentUpload.java:597) [ExcelEngine.jar:na]
2023 04 17 11:40:48:019 (c.j.t.f.DocumentUpload:209) :[main] ERROR - Exception
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method) ~[na:1.7.0_79]
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113) ~[na:1.7.0_79]
at java.net.SocketOutputStream.write(SocketOutputStream.java:159) ~[na:1.7.0_79]
at sun.security.ssl.OutputRecord.writeBuffer(OutputRecord.java:377) ~[na:1.7.0_79]
at sun.security.ssl.OutputRecord.write(OutputRecord.java:363) ~[na:1.7.0_79]
at sun.security.ssl.SSLSocketImpl.writeRecordInternal(SSLSocketImpl.java:849) ~[na:1.7.0_79]
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:820) ~[na:1.7.0_79]
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122) ~[na:1.7.0_79]
at org.apache.http.impl.io.SessionOutputBufferImpl.streamWrite(SessionOutputBufferImpl.java:123) ~[httpcore-4.3.3.jar:4.3.3]
at org.apache.http.impl.io.SessionOutputBufferImpl.flushBuffer(SessionOutputBufferImpl.java:135) ~[httpcore-4.3.3.jar:4.3.3]
at org.apache.http.impl.io.SessionOutputBufferImpl.write(SessionOutputBufferImpl.java:164) ~[httpcore-4.3.3.jar:4.3.3]
at org.apache.http.impl.io.ContentLengthOutputStream.write(ContentLengthOutputStream.java:115) ~[httpcore-4.3.3.jar:4.3.3]
at org.apache.http.entity.mime.content.FileBody.writeTo(FileBody.java:120) ~[httpmime-4.3.6.jar:4.3.6]
at org.apache.http.entity.mime.AbstractMultipartForm.doWriteTo(AbstractMultipartForm.java:150) ~[httpmime-4.3.6.jar:4.3.6]
at org.apache.http.entity.mime.AbstractMultipartForm.writeTo(AbstractMultipartForm.java:173) ~[httpmime-4.3.6.jar:4.3.6]
at org.apache.http.entity.mime.MultipartFormEntity.writeTo(MultipartFormEntity.java:97) ~[httpmime-4.3.6.jar:4.3.6]
at org.apache.http.impl.DefaultBHttpClientConnection.sendRequestEntity(DefaultBHttpClientConnection.java:155) ~[httpcore-4.3.3.jar:4.3.3]
at org.apache.http.impl.conn.CPoolProxy.sendRequestEntity(CPoolProxy.java:149) ~[httpclient-4.3.6.jar:4.3.6]
at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:236) ~[httpcore-4.3.3.jar:4.3.3]
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121) ~[httpcore-4.3.3.jar:4.3.3]
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:254) ~[httpclient-4.3.6.jar:4.3.6]
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195) ~[httpclient-4.3.6.jar:4.3.6]
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86) ~[httpclient-4.3.6.jar:4.3.6]
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108) ~[httpclient-4.3.6.jar:4.3.6]
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) ~[httpclient-4.3.6.jar:4.3.6]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) ~[httpclient-4.3.6.jar:4.3.6]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106) ~[httpclient-4.3.6.jar:4.3.6]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57) ~[httpclient-4.3.6.jar:4.3.6]
at com.jamochatech.tools.fileupload.DocumentUpload.uploadFileToBoxView(DocumentUpload.java:186) [ExcelEngine.jar:na]
at com.jamochatech.tools.fileupload.DocumentUpload.parseExcel(DocumentUpload.java:334) [ExcelEngine.jar:na]
at com.jamochatech.tools.fileupload.DocumentUpload.main(DocumentUpload.java:597) [ExcelEngine.jar:na]
2023 04 17 11:40:48:020 (c.j.t.f.DocumentUpload:344) :[main] ERROR - NULLResponse-for occupation insert from boxview: DocumentName: Data Scientist_Ver3.0_complete.pptx, occupationId: 28
Please sign in to leave a comment.
Comments
1 comment