google / samba-documents-provider

Access network file shares directly from the Android Downloads/Files app
GNU General Public License v3.0
650 stars 127 forks source link

Failed to mount share. #58

Open pbl987 opened 5 years ago

pbl987 commented 5 years ago

I am getting the above error message, which is very useful.

The share itself is working on another device (a printer) !!! I am using Win 10.

here is the logcat output:

01-28 04:13:39.418 19625 19736 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE 01-28 04:13:39.484 19625 19736 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8960.so from current namespace instead of sphal namespace. 01-28 04:13:40.522 19625 19694 D NativeSambaClient: Reading dir at smb://192.168.178.10/NetzwerkFreigabe. 01-28 04:13:40.522 19625 19694 V NativeSambaClient: Requesting authentication data for server: 192.168.178.10 and share: NetzwerkFreigabe. 01-28 04:13:40.544 19625 19736 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE 01-28 04:13:40.562 19625 19736 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8960.so from current namespace instead of sphal namespace. 01-28 04:13:45.539 19625 19694 E NativeSambaClient: Failed to open dir at smb://192.168.178.10/NetzwerkFreigabe. Errno: 6e 01-28 04:13:45.540 19625 29947 E DocumentMetadata: Failed to load children. 01-28 04:13:45.540 19625 29947 E DocumentMetadata: java.io.IOException: Failed to read directory smb://192.168.178.10/NetzwerkFreigabe 01-28 04:13:45.540 19625 29947 E DocumentMetadata: at com.google.android.sambadocumentsprovider.nativefacade.NativeSambaFacade.readDir(NativeSambaFacade.java:63) 01-28 04:13:45.540 19625 29947 E DocumentMetadata: at com.google.android.sambadocumentsprovider.nativefacade.SambaFacadeClient$SambaServiceHandler.processMessage(SambaFacadeClient.java:167) 01-28 04:13:45.540 19625 29947 E DocumentMetadata: at com.google.android.sambadocumentsprovider.nativefacade.BaseClient$BaseHandler.handleMessage(BaseClient.java:51) 01-28 04:13:45.540 19625 29947 E DocumentMetadata: at android.os.Handler.dispatchMessage(Handler.java:106) 01-28 04:13:45.540 19625 29947 E DocumentMetadata: at android.os.Looper.loop(Looper.java:164) 01-28 04:13:45.540 19625 29947 E DocumentMetadata: at com.google.android.sambadocumentsprovider.nativefacade.SambaMessageLooper.prepare(SambaMessageLooper.java:73) 01-28 04:13:45.540 19625 29947 E DocumentMetadata: at com.google.android.sambadocumentsprovider.nativefacade.SambaMessageLooper.access$000(SambaMessageLooper.java:23) 01-28 04:13:45.540 19625 29947 E DocumentMetadata: at com.google.android.sambadocumentsprovider.nativefacade.SambaMessageLooper$1.run(SambaMessageLooper.java:28) 01-28 04:13:45.540 19625 29947 E DocumentMetadata: at java.lang.Thread.run(Thread.java:764) 01-28 04:13:45.540 19625 29947 E DocumentMetadata: Caused by: android.system.ErrnoException: readDir failed: ETIMEDOUT (Connection timed out) 01-28 04:13:45.540 19625 29947 E DocumentMetadata: at com.google.android.sambadocumentsprovider.nativefacade.NativeSambaFacade.readDir(Native Method) 01-28 04:13:45.540 19625 29947 E DocumentMetadata: at com.google.android.sambadocumentsprovider.nativefacade.NativeSambaFacade.readDir(NativeSambaFacade.java:61) 01-28 04:13:45.540 19625 29947 E DocumentMetadata: ... 8 more 01-28 04:13:45.541 19625 29947 I ShareManager: Failed to mount server. 01-28 04:13:45.541 19625 29947 I ShareManager: java.io.IOException: Failed to read directory smb://192.168.178.10/NetzwerkFreigabe 01-28 04:13:45.541 19625 29947 I ShareManager: at com.google.android.sambadocumentsprovider.nativefacade.NativeSambaFacade.readDir(NativeSambaFacade.java:63) 01-28 04:13:45.541 19625 29947 I ShareManager: at com.google.android.sambadocumentsprovider.nativefacade.SambaFacadeClient$SambaServiceHandler.processMessage(SambaFacadeClient.java:167) 01-28 04:13:45.541 19625 29947 I ShareManager: at com.google.android.sambadocumentsprovider.nativefacade.BaseClient$BaseHandler.handleMessage(BaseClient.java:51) 01-28 04:13:45.541 19625 29947 I ShareManager: at android.os.Handler.dispatchMessage(Handler.java:106) 01-28 04:13:45.541 19625 29947 I ShareManager: at android.os.Looper.loop(Looper.java:164) 01-28 04:13:45.541 19625 29947 I ShareManager: at com.google.android.sambadocumentsprovider.nativefacade.SambaMessageLooper.prepare(SambaMessageLooper.java:73) 01-28 04:13:45.541 19625 29947 I ShareManager: at com.google.android.sambadocumentsprovider.nativefacade.SambaMessageLooper.access$000(SambaMessageLooper.java:23) 01-28 04:13:45.541 19625 29947 I ShareManager: at com.google.android.sambadocumentsprovider.nativefacade.SambaMessageLooper$1.run(SambaMessageLooper.java:28) 01-28 04:13:45.541 19625 29947 I ShareManager: at java.lang.Thread.run(Thread.java:764) 01-28 04:13:45.541 19625 29947 I ShareManager: Caused by: android.system.ErrnoException: readDir failed: ETIMEDOUT (Connection timed out) 01-28 04:13:45.541 19625 29947 I ShareManager: at com.google.android.sambadocumentsprovider.nativefacade.NativeSambaFacade.readDir(Native Method) 01-28 04:13:45.541 19625 29947 I ShareManager: at com.google.android.sambadocumentsprovider.nativefacade.NativeSambaFacade.readDir(NativeSambaFacade.java:61) 01-28 04:13:45.541 19625 29947 I ShareManager: ... 8 more 01-28 04:13:45.544 19625 19625 E MountServerTask: Failed to mount share. 01-28 04:13:45.544 19625 19625 E MountServerTask: java.io.IOException: Failed to read directory smb://192.168.178.10/NetzwerkFreigabe 01-28 04:13:45.544 19625 19625 E MountServerTask: at com.google.android.sambadocumentsprovider.nativefacade.NativeSambaFacade.readDir(NativeSambaFacade.java:63) 01-28 04:13:45.544 19625 19625 E MountServerTask: at com.google.android.sambadocumentsprovider.nativefacade.SambaFacadeClient$SambaServiceHandler.processMessage(SambaFacadeClient.java:167) 01-28 04:13:45.544 19625 19625 E MountServerTask: at com.google.android.sambadocumentsprovider.nativefacade.BaseClient$BaseHandler.handleMessage(BaseClient.java:51) 01-28 04:13:45.544 19625 19625 E MountServerTask: at android.os.Handler.dispatchMessage(Handler.java:106) 01-28 04:13:45.544 19625 19625 E MountServerTask: at android.os.Looper.loop(Looper.java:164) 01-28 04:13:45.544 19625 19625 E MountServerTask: at com.google.android.sambadocumentsprovider.nativefacade.SambaMessageLooper.prepare(SambaMessageLooper.java:73) 01-28 04:13:45.544 19625 19625 E MountServerTask: at com.google.android.sambadocumentsprovider.nativefacade.SambaMessageLooper.access$000(SambaMessageLooper.java:23) 01-28 04:13:45.544 19625 19625 E MountServerTask: at com.google.android.sambadocumentsprovider.nativefacade.SambaMessageLooper$1.run(SambaMessageLooper.java:28) 01-28 04:13:45.544 19625 19625 E MountServerTask: at java.lang.Thread.run(Thread.java:764) 01-28 04:13:45.544 19625 19625 E MountServerTask: Caused by: android.system.ErrnoException: readDir failed: ETIMEDOUT (Connection timed out) 01-28 04:13:45.544 19625 19625 E MountServerTask: at com.google.android.sambadocumentsprovider.nativefacade.NativeSambaFacade.readDir(Native Method) 01-28 04:13:45.544 19625 19625 E MountServerTask: at com.google.android.sambadocumentsprovider.nativefacade.NativeSambaFacade.readDir(NativeSambaFacade.java:61) 01-28 04:13:45.544 19625 19625 E MountServerTask: ... 8 more