Open Fmstrat opened 3 months ago
@TranceLove
Any news on this? Trying to hold off on Google updates since this breaks a primary use case. Thanks!
Short answer: #4101 to the fix.
Longer answer: #4101 seems fix the problem, but this is to revert the change we did before to make other things work. Still running the regressions when I'm free, but not very satisfying. So I think for the time being the best workaround would be refrain from using SSH connections with default path to open, i.e. just browse from the root.
Even longer answer: deep down the classes, the culprit was the way lookup the connection parameters and connection instance from the connection pool, when the connection string in database has default path to open included, e.g.
ssh://user@127.0.0.1:22222/home/user
When the user opens /home/user/subfolder
, current codebase has problem looking up connection with ssh://user@127.0.0.1:22222/home/user/subfolder
.
I'm seeing some refactoring required to accommodate this, like separating the base URI and default path, so code can always lookup the connection using ssh://user@127.0.0.1:22222
.
Otherwise, as a band-it solution, we deduct the path elements one by one, and try to match the connection string with database and connection pool until there is one; but this is inefficient and IMO not a good approach.
On the other hand, we may just drop the connection pool and use singletons to store the SSH/FTP connections instead. We have only 2 tabs, and perhaps 90% usecases we are copying files between device and remote server, but not between remote servers, so this might work as well. But this is refactoring equally expensive as the above "split URI to base path and default path" method.
Thank you! The default path info is helpful as that allows me to upgrade, too.
Describe the bug When using SSH connections, either the system can't validate the host key, or the second folder deep shows no files.
To Reproduce Problem 1: Steps to reproduce the behavior:
Problem 2:
Expected behavior Functional SSH with existing connections after upgrade
Smartphone (please complete the following information):