Coder Social home page Coder Social logo

Comments (7)

alexbbb avatar alexbbb commented on May 17, 2024

What are you using on your server side?

from android-upload-service.

cheneygan avatar cheneygan commented on May 17, 2024

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。
if u close inputstream befor outputstream,that is ok.

from android-upload-service.

alexbbb avatar alexbbb commented on May 17, 2024

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.

from android-upload-service.

alexbbb avatar alexbbb commented on May 17, 2024

Closing the issue due to unreproducible condition that leads to the error and lack of feedback

from android-upload-service.

gStanev avatar gStanev commented on May 17, 2024

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)".

from android-upload-service.

SilvestreRamirez avatar SilvestreRamirez commented on May 17, 2024

someone found a solution?

from android-upload-service.

gotev avatar gotev commented on May 17, 2024

@SilvestreRamirez yes, check this and this

from android-upload-service.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.