tus / tus/tus-android-client

Software casued connection abort while switching network

Open
#65 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
182
Forks
49
Avg merge
7d 20h
Merged PRs (30d)
2

Description

Describe the bug
Hello, i am facing strange issue while uploading file from android device using tus client. It gives "javax.net.ssl.SSLException: Write error: ssl=0xb400007824f03618: I/O error during system call, Software caused connection abort" exception

To Reproduce
Steps to reproduce the behavior:

  1. Start file upload using wifi connection
  2. Then switch network from Wifi to mobile network
  3. See error

Error
javax.net.ssl.SSLException: Write error: ssl=0xb400007824f03618: I/O error during system call, Software caused connection abort
at com.google.android.gms.org.conscrypt.NativeCrypto.SSL_write(Native Method)
at com.google.android.gms.org.conscrypt.NativeSsl.write(:com.google.android.gms@222413044@22.24.13 (190400-455379205):3)
at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket$SSLOutputStream.write(:com.google.android.gms@222413044@22.24.13 (190400-455379205):5)
at com.android.okhttp.okio.Okio$1.write(Okio.java:78)
at com.android.okhttp.okio.AsyncTimeout$1.write(AsyncTimeout.java:157)
at com.android.okhttp.okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.java:177)
at com.android.okhttp.okio.RealBufferedSink.write(RealBufferedSink.java:47)
at com.android.okhttp.internal.http.Http1xStream$ChunkedSink.write(Http1xStream.java:327)
at com.android.okhttp.okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.java:177)
at com.android.okhttp.okio.RealBufferedSink$1.write(RealBufferedSink.java:199)
at io.tus.java.client.TusUploader.uploadChunk(TusUploader.java:190)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at io.tus.java.client.TusUploader.uploadChunk, identified in the stack trace, and review how an upload behaves when the Android device switches from Wi-Fi to mobile data. Reproduce the network change during an upload and determine the expected recovery behavior; the issue provides no test file or specific fix criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.