zhanghai / MaterialFiles

Material Design file manager for Android
https://play.google.com/store/apps/details?id=me.zhanghai.android.files
GNU General Public License v3.0
6.11k stars 412 forks source link

Adding SMB server returns exception error #617

Open ChinoKaffu opened 3 years ago

ChinoKaffu commented 3 years ago

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

ChinoKaffu commented 3 years ago

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

Zephyr73 commented 2 years ago

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

philip-johnson45 commented 2 years ago

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)

zhanghai commented 2 years ago

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.

Zephyr73 commented 2 years ago

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

philip-johnson45 commented 2 years ago

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

zhanghai commented 2 years ago

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.

MayMih commented 1 year ago

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

zhanghai commented 1 year ago

Correct, SMBv1 is too old and unsupported.

itzuo commented 5 months ago

我也遇到了这个问题