Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

failed upload restarts in loop #1120

Closed
ylecollen opened this issue Apr 12, 2017 · 4 comments
Closed

failed upload restarts in loop #1120

ylecollen opened this issue Apr 12, 2017 · 4 comments
Labels
Milestone

Comments

@ylecollen
Copy link
Contributor

Vurpo reported that an upload which failed started again the upload in loop.

It should stop after the first failure.

@ylecollen
Copy link
Contributor Author

from his logs
04-12 14:10:18.892 205993 D/MXMediaUploadWorkerTask: doInBackground : totalWritten 180191 / totalSize 180191
04-12 14:10:18.905 205985 E/MXMediaUploadWorkerTask: doInBackground ; failed with error class java.net.ProtocolException - unexpected end of stream

The upload started again 2 seconds later.

@ara4n
Copy link
Member

ara4n commented Aug 27, 2018

People seem to be reporting this more and more - e.g. https://github.com/matrix-org/riot-android-rageshakes/issues/3011.

@ara4n ara4n added P1 and removed P2 labels Aug 27, 2018
@bmarty bmarty added this to the Sprint 14 milestone Aug 28, 2018
@bmarty
Copy link
Member

bmarty commented Aug 28, 2018

  • From Rageshake log:
08-27 21:13:22.550 23164 27144 E MXMediaUploadWorkerTask: MXMediaUploadWorkerTask mark/reset not supported
08-27 21:13:22.550 23164 27144 E MXMediaUploadWorkerTask: java.io.IOException: mark/reset not supported
08-27 21:13:22.550 23164 27144 E MXMediaUploadWorkerTask: 	at java.io.InputStream.reset(InputStream.java:348)
08-27 21:13:22.550 23164 27144 E MXMediaUploadWorkerTask: 	at org.matrix.androidsdk.db.MXMediaUploadWorkerTask.<init>(MXMediaUploadWorkerTask.java:178)
  • Also:
08-27 20:11:06.754Z java.lang.IllegalStateException: Can't compress a recycled bitmap
	at android.graphics.Bitmap.checkRecycled(Bitmap.java:386)
	at android.graphics.Bitmap.compress(Bitmap.java:1237)
	at org.matrix.androidsdk.db.MXMediasCache.saveBitmap(MXMediasCache.java:543)

@bmarty
Copy link
Member

bmarty commented Dec 12, 2018

This two issues has been fixed

@bmarty bmarty closed this as completed Dec 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants