zhanghai / zhanghai/MaterialFiles

SMB File Transfer Error

Open
#1,554 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
9k
Forks
736
PR merge metrics
No merged PRs in 30d

Description

While moving a 700mb file from an Android 16 device to an SMB folder (hosted in Windows 10) over WiFi, the speed drops to 1Mbps (instead of around 5Mbps with the interface flickering, as if to start showing a pop up window but immediately closing.

At the end of the transfer, the transfer fails and the following notification received:

Error while moving [file name]
There was an error moving the file into [folder name]

java.IO.IOException: com.hierynomus.s
mbj.common.SMBRuntimeException:
com.hierynomus.protocol.tra
nsport.TransportException:
java.util.concurrent.ExecutionException:
com.hierynomus.smbj.com
mon.SMBRuntimeException:
java.util.concurrent.TimeoutException: Ti...

Image

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 by reproducing the 700 MB transfer from an Android 16 device to a Windows 10 SMB folder over WiFi, then inspect the reported SMBJ timeout stack trace. Compare the observed slowdown and failure with a successful smaller transfer. Done means the transfer completes without the timeout and reports the file as moved successfully.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.