Comments (7)
What are you using on your server side?
from android-upload-service.
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.
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.
Closing the issue due to unreproducible condition that leads to the error and lack of feedback
from android-upload-service.
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.
someone found a solution?
from android-upload-service.
@SilvestreRamirez yes, check this and this
from android-upload-service.
Related Issues (20)
- memory leak HOT 2
- Actual file size is not matched with upload file size shown in UploadService HOT 3
- Hey Please add support for java or someone give java example with events(ie:onprogress,oncompleted) HOT 1
- Android 13 support Required HOT 3
- Is there any way tto upload multiple files using different url in same nnotification HOT 1
- java.lang.InstantiationException HOT 1
- Initial notification ignores custom notificationHandlerFactory HOT 7
- Stop Observing from RequestObserver using unregister causing a crash. HOT 3
- Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. HOT 6
- Google Play will soon require that apps target API level 33 or higher. This will be required for new apps and updates starting on August 31, 2023. HOT 4
- Single notification about all ongoing uploads HOT 3
- Please add support for Android 34 HOT 4
- Java Code Samples? HOT 1
- How to get uploaded file infomation that returned by service api
- Question: Is it possible to send a HTTP request once an upload task finishes? HOT 5
- Question on crash message when closing the app: Unable to create service net.gotev.uploadservice.UploadService HOT 16
- Missing default constructor for SchemeHandler classes HOT 3
- Incompatible version of Kotlin error after upgrading to 4.9.2 HOT 3
- register gotev receiver HOT 2
- Result of uploading file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-upload-service.