Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH/SFTP connection shows "No File" #4018

Open
windforain opened this issue Dec 18, 2023 · 3 comments
Open

SSH/SFTP connection shows "No File" #4018

windforain opened this issue Dec 18, 2023 · 3 comments
Assignees
Labels
Area-Ssh/Scp/Sftp Issue-Bug Related unexpected behavior or something worth investigating.

Comments

@windforain
Copy link

Describe the bug
In version 3.8.5 (9a11e3e), the SSH/SFTP connection to my Alibaba Cloud SFTP Server showed "No file" instead of displaying right files.
While in version 3.8.4 (0185003), I repeated the same procedure, and got the right result.

To Reproduce
Steps to reproduce the behavior:

  1. Create Cloud Connection
  2. Choose SCP/SFTP Connection
  3. Choose SSH/SFTP Protocol
  4. Input the IP Address, Username, and Password
  5. Click CREATE
  6. It Showed a popup-window "Login Failure: wrong username or password."
  7. It Jumped to the "SCP/SFTP connection" Page but Displayed "No file", and Showed the popup-window in Procedure 6 Again.

Expected behavior
Get files on SFTP Server displayed.

Screenshots
In version 3.8.5:

In version 3.8.4 with same procedure:

Smartphone (please complete the following information):

  • Device: [houji (Xiaomi 14)]
  • OS: [Linux Android 14 - 34]
  • Rooted: [No]
  • Version: [3.8.5]

Additional context
I have tried to enter a wrong password deliberately, and the APP showed the response only in Procedure 6, not in Procedure 7, which is a right response.

And here's the related trace stack:

sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda22@5074f1f
2023-12-18 22:49:11.155 31595-31659 OpenGLRenderer          com.amaze.filemanager.debug          D  endAllActiveAnimators on 0xb400007b8deb8800 (RippleDrawable) with handle 0xb400007b6ff94c20
2023-12-18 22:49:11.268 31595-31658 TrafficStats            com.amaze.filemanager.debug          D  tagSocket(148) with statsTag=0xffffffff, statsUid=-1
2023-12-18 22:49:11.579 31595-31595 WindowOnBackDispatcher  com.amaze.filemanager.debug          W  sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda22@c412cde
2023-12-18 22:49:11.584 31595-31840 c.a.f.d.UtilsHandler    com.amaze.filemanager.debug          E  [AsyncTask #3        ] Error getting auth private key for URI [ssh://root:[email protected]:22]androidx.room.EmptyResultSetException: Query returned empty result set: SELECT ssh_key FROM sftp WHERE path = ?
                                                                                                    	at com.amaze.filemanager.database.daos.SftpEntryDao_Impl$14.call(SftpEntryDao_Impl.java:553)
                                                                                                    	at com.amaze.filemanager.database.daos.SftpEntryDao_Impl$14.call(SftpEntryDao_Impl.java:537)
                                                                                                    	at androidx.room.RxRoom$5.subscribe(RxRoom.java:232)
                                                                                                    	at io.reactivex.internal.operators.single.SingleCreate.subscribeActual(SingleCreate.java:39)
                                                                                                    	at io.reactivex.Single.subscribe(Single.java:3603)
                                                                                                    	at io.reactivex.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(SingleSubscribeOn.java:89)
                                                                                                    	at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:578)
                                                                                                    	at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
                                                                                                    	at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57)
                                                                                                    	at java.util.concurrent.FutureTask.run(FutureTask.java:264)
                                                                                                    	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
                                                                                                    	at java.lang.Thread.run(Thread.java:1012)
2023-12-18 22:49:11.600 31595-31595 Choreographer           com.amaze.filemanager.debug          I  Skipped 54 frames!  The application may be doing too much work on its main thread.
2023-12-18 22:49:11.631 31595-31674 TrafficStats            com.amaze.filemanager.debug          D  tagSocket(143) with statsTag=0xffffffff, statsUid=-1
2023-12-18 22:49:11.656  2424-2458  misight_perf            misight                              E   [902001001, com.amaze.filemanager.debug, 31595, long running]
2023-12-18 22:49:11.658 31595-31595 LeakCanary              com.amaze.filemanager.debug          D  Watching instance of androidx.loader.app.LoaderManagerImpl$LoaderViewModel (androidx.loader.app.LoaderManagerImpl$LoaderViewModel received ViewModel#onCleared() callback) with key d83b2d8b-2dba-4742-8302-4942749db912
2023-12-18 22:49:11.658 31595-31595 LeakCanary              com.amaze.filemanager.debug          D  Watching instance of androidx.lifecycle.SavedStateHandlesVM (androidx.lifecycle.SavedStateHandlesVM received ViewModel#onCleared() callback) with key 97d4ab1c-950b-446f-a3d3-ddbfdc0eaeb6
2023-12-18 22:49:11.658 31595-31595 LeakCanary              com.amaze.filemanager.debug          D  Watching instance of leakcanary.internal.ViewModelClearedWatcher (leakcanary.internal.ViewModelClearedWatcher received ViewModel#onCleared() callback) with key 8ff7cb8c-8fc5-40b7-bb71-0e77bbc3c7be
2023-12-18 22:49:11.658 31595-31595 LeakCanary              com.amaze.filemanager.debug          D  Watching instance of com.amaze.filemanager.ui.dialogs.SftpConnectDialog (com.amaze.filemanager.ui.dialogs.SftpConnectDialog received Fragment#onDestroy() callback) with key 4e4b5ea2-0add-48ed-a544-0ffcc385d091
2023-12-18 22:49:11.666  2424-2458  misight_perf            misight                              E   [902001003, com.amaze.filemanager.debug, 31595, doframe latency due to msg]
2023-12-18 22:49:11.678 31595-31595 HandWritingStubImpl     com.amaze.filemanager.debug          I  refreshLastKeyboardType: 1
2023-12-18 22:49:11.678 31595-31595 HandWritingStubImpl     com.amaze.filemanager.debug          I  getCurrentKeyboardType: 1
2023-12-18 22:49:11.690 31595-31595 HandWritingStubImpl     com.amaze.filemanager.debug          I  refreshLastKeyboardType: 1
2023-12-18 22:49:11.690 31595-31595 HandWritingStubImpl     com.amaze.filemanager.debug          I  getCurrentKeyboardType: 1
2023-12-18 22:49:14.220 31595-31840 c.a.f.d.UtilsHandler    com.amaze.filemanager.debug          E  [AsyncTask #3        ] Error getting auth private key for URI [ssh://root:[email protected]:22]androidx.room.EmptyResultSetException: Query returned empty result set: SELECT ssh_key FROM sftp WHERE path = ?
                                                                                                    	at com.amaze.filemanager.database.daos.SftpEntryDao_Impl$14.call(SftpEntryDao_Impl.java:553)
                                                                                                    	at com.amaze.filemanager.database.daos.SftpEntryDao_Impl$14.call(SftpEntryDao_Impl.java:537)
                                                                                                    	at androidx.room.RxRoom$5.subscribe(RxRoom.java:232)
                                                                                                    	at io.reactivex.internal.operators.single.SingleCreate.subscribeActual(SingleCreate.java:39)
                                                                                                    	at io.reactivex.Single.subscribe(Single.java:3603)
                                                                                                    	at io.reactivex.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(SingleSubscribeOn.java:89)
                                                                                                    	at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:578)
                                                                                                    	at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
                                                                                                    	at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57)
                                                                                                    	at java.util.concurrent.FutureTask.run(FutureTask.java:264)
                                                                                                    	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
                                                                                                    	at java.lang.Thread.run(Thread.java:1012)
2023-12-18 22:49:14.220 31595-31595 Compatibil...geReporter com.amaze.filemanager.debug          D  Compat change id reported: 147798919; UID 10318; state: ENABLED
2023-12-18 22:49:14.257 31595-31671 TrafficStats            com.amaze.filemanager.debug          D  tagSocket(108) with statsTag=0xffffffff, statsUid=-1
2023-12-18 22:49:16.707 31595-31652 lemanager.debug         com.amaze.filemanager.debug          I  This is non sticky GC, maxfree is 33554432 minfree is 8388608
2023-12-18 22:49:16.707 31595-31652 lemanager.debug         com.amaze.filemanager.debug          I  Explicit concurrent copying GC freed 543541(20MB) AllocSpace objects, 11(620KB) LOS objects, 74% free, 11MB/46MB, paused 148us,16us total 48.014ms
2023-12-18 22:49:21.250 31595-31595 AutofillManager         com.amaze.filemanager.debug          W  setSaveUiState(915217516, false) called on existing session 915217516; cancelling it
2023-12-18 22:49:21.292 31595-31595 HandWritingStubImpl     com.amaze.filemanager.debug          I  refreshLastKeyboardType: 1
2023-12-18 22:49:21.292 31595-31595 HandWritingStubImpl     com.amaze.filemanager.debug          I  getCurrentKeyboardType: 1
@VishnuSanal VishnuSanal added Issue-Bug Related unexpected behavior or something worth investigating. Area-Ssh/Scp/Sftp labels Dec 20, 2023
@VishnuSanal
Copy link
Member

thanks for this descriptive report! @TranceLove would have a word here :)

@MatheusJCastro
Copy link

MatheusJCastro commented Jul 22, 2024

Any update on this? The problem persist in version 3.10 (from F-Droid).

@TranceLove TranceLove self-assigned this Jul 22, 2024
@Fmstrat
Copy link

Fmstrat commented Dec 3, 2024

Also persists in latest version. Unfortunately makes Amaze unusable for our use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Ssh/Scp/Sftp Issue-Bug Related unexpected behavior or something worth investigating.
Projects
None yet
Development

No branches or pull requests

5 participants