-
-
Notifications
You must be signed in to change notification settings - Fork 687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sendto failed: EPIPE (Broken pipe) #6
Comments
What are you using on your server side? |
this maybe because you have used inputstream. and the close sequence not correct. You may first close inputstream ,then close the outputstream,this cause EPIPE (Broken pipe) error。 |
The code that handles file upload is here: https://github.com/alexbbb/android-upload-service/blob/master/src/com/alexbbb/uploadservice/UploadService.java#L139 The "broken pipe" happens when you try to write to a connection that has already been closed by the peer. Never experienced such an issue. Check if you're trying to upload bigger size data than the maximum allowed by your server per each request. |
Closing the issue due to unreproducible condition that leads to the error and lack of feedback |
I faced same issue.It happens only when i'm connected through mobile internet (over WiFi is working pretty good). First file that i uploaded is ok but with the second one i got same error "sendto failed: EPIPE (Broken pipe)". |
someone found a solution? |
@SilvestreRamirez yes, check this and this |
hello,
I implemented your library in my project and it works great for small pics...
but most of the time when i try to upload big images ,i am getting following exception
java.net.SocketException: sendto failed: EPIPE (Broken pipe)...
Or some times it's just displaying error notification...
can you please suggest me??
The text was updated successfully, but these errors were encountered: