MaterialFiles icon indicating copy to clipboard operation
MaterialFiles copied to clipboard

Adding SMB server returns exception error

Open ChinoKaffu opened this issue 3 years ago • 10 comments

Screenshot_2021-10-31-20-13-40-700_me.zhanghai.android.files.jpg

ChinoKaffu avatar Oct 31 '21 12:10 ChinoKaffu

sanple did a test that it is not the folder's share property is the problem and disproving it by using another file explorer and try to access the network shared folder which it did (also making sure independent variables are kept the same)

steps to reproduce:

  1. open app
  2. slide to open left pane > add storage > smb server
  3. app searches for network shared folders (takes about 2 mins) > select target folder/computer
  4. set Authentication to Anonymous (folder shared does not require any special credentials so even logging as anonymous should work)
  5. click add
  6. open side pane > click newly added storage and then it shows this screenshot sample1

phone used:
Redmi Note 8, OS used and ver: MIUI global 12.0.2 (gingko variant), Android Version: Android 11 RKQ1.201004.002

ChinoKaffu avatar Nov 06 '21 12:11 ChinoKaffu

exact same issue, I thought I forgot my credentials but downloaded other file apps to check and found that this app has issues with adding SMB server.

App Version: 1.3.1 phone used: Lenovo P2 LineageOS 16 based on Android 9

Zephyr73 avatar Dec 08 '21 04:12 Zephyr73

Confirm this issue. I have a local SMB setup. It works fine using other clients

App Version: 1.5.1 Phone: Poco f3 (Alioth) LineageOS 19.1 (A12.1)

philip-johnson45 avatar May 20 '22 04:05 philip-johnson45

It works fine for me (and probably a lot of other users). Everyone's network setup can be vastly different so unless you can provide a clue about why the socket timeout is happening, this bug won't be actioanble for me.

zhanghai avatar May 20 '22 07:05 zhanghai

It got fixed after 1.4.0 update. I am not sure of the reason why it occurred tho.

Zephyr73 avatar May 20 '22 15:05 Zephyr73

I just downloaded 1.5.1 from github Releases. Formerly it was from F-droid. It fixed. I have no clue of what happened.

philip-johnson45 avatar May 24 '22 06:05 philip-johnson45

There's no difference about SMB between the F-Droid version and the Play version - the only differences were that F-Droid build removed Firebase & junrar (to be fully OSS), and it's signed by F-Droid instead of me. I think it has to be something else related to your SMB & network setup.

zhanghai avatar May 24 '22 07:05 zhanghai

Same issue (can connect via SolidExplorer but not this program) [different exception though] - may be old SMB v1 version unsupported (SolidExplorer has special option for this & my ReadyNAS Duo only supports SMB v1)?

Screenshot_20231116-212625

MayMih avatar Nov 16 '23 18:11 MayMih

Correct, SMBv1 is too old and unsupported.

zhanghai avatar Nov 16 '23 20:11 zhanghai