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

Error Message: Unable to list contents for '', shallow listing #1775

Closed
danielrona opened this issue Mar 20, 2024 · 3 comments
Closed

Error Message: Unable to list contents for '', shallow listing #1775

danielrona opened this issue Mar 20, 2024 · 3 comments

Comments

@danielrona
Copy link

Bug Report

Q A
Flysystem Version 3.25.1
Adapter Name flysystem-adapter-sftp3
Adapter version 3.25.1

Summary

Error Message: Unable to list contents for '', shallow listing

Since upgrading from 3.25.0 to 3.25.1 probably related to "Early simple return of connectivity check. Set connection to null on disconnect."), without that it works just fine.

How to reproduce

I can only reproduce this with 1 of the many sftp servers we have to connect to.

Server responds with SSH-2.0-PSFTPd, wich seems to be a implementation for windows systems

Connecting with 3.25.0 to SFTP works

Connecting with 3.25.1 to SFTP fails with Error Message: Unable to list contents for '', shallow listing

When removing commit 53ddb77e1c54a7bc58af1e5d91baafe1f6bd84d8 it still works.

Solution

We're going to use a custom Adapter for said SFTP, just thought this might be worth an issue if other users experience the same.

@frankdejonge
Copy link
Member

@danielrona since the affected version, a new version was released which makes the PING an opt-in feature, is the problem still there for that version?

@danielrona
Copy link
Author

@frankdejonge I haven't tried it yet but I'll give it a go in the next days and report back

@danielrona
Copy link
Author

@frankdejonge yes, as expected f27e4c8 fixed it.

name : league/flysystem-sftp-v3
versions : * 3.26.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants