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

Warning: ftp_rawlist(): SSL read failed #400

Open
fvsadem opened this issue Nov 2, 2022 · 1 comment
Open

Warning: ftp_rawlist(): SSL read failed #400

fvsadem opened this issue Nov 2, 2022 · 1 comment

Comments

@fvsadem
Copy link

fvsadem commented Nov 2, 2022

Hi,

I try using FTPS scheme with ssl = true, but it doesn't seems to work.
I have the following error and nothing is transfered :

Warning: ftp_rawlist(): SSL read failed in phar:///var/www/html/phploy.phar/vendor/league/flysystem/src/Adapter/Ftp.php on line 570

Call Stack:
    0.0013     612168   1. {main}() /var/www/html/phploy.phar:0
    0.0014     614512   2. include('phar:///var/www/html/phploy.phar/phploy.php') /var/www/html/phploy.phar:10
    0.0041    1087968   3. Banago\PHPloy\PHPloy->__construct($opt = ???) phar:///var/www/html/phploy.phar/phploy.php:9
    0.0107    1602464   4. Banago\PHPloy\PHPloy->deploy() phar:///var/www/html/phploy.phar/src/PHPloy.php:336
    0.0267    1965776   5. Banago\PHPloy\PHPloy->compare($localRevision = 'HEAD') phar:///var/www/html/phploy.phar/src/PHPloy.php:889
    0.2751    2094536   6. League\Flysystem\Filesystem->read($path = '.revision') phar:///var/www/html/phploy.phar/src/PHPloy.php:1026
    0.2751    2094536   7. League\Flysystem\Filesystem->assertPresent($path = '.revision') phar:///var/www/html/phploy.phar/vendor/league/flysystem/src/Filesystem.php:179
    0.2751    2094536   8. League\Flysystem\Filesystem->has($path = '.revision') phar:///var/www/html/phploy.phar/vendor/league/flysystem/src/Filesystem.php:388
    0.2752    2094536   9. League\Flysystem\Adapter\AbstractFtpAdapter->has($path = '.revision') phar:///var/www/html/phploy.phar/vendor/league/flysystem/src/Filesystem.php:57
    0.2752    2094536  10. League\Flysystem\Adapter\Ftp->getMetadata($path = '.revision') phar:///var/www/html/phploy.phar/vendor/league/flysystem/src/Adapter/AbstractFtpAdapter.php:610
    0.3906    2094536  11. League\Flysystem\Adapter\Ftp->ftpRawlist($options = '-A', $path = '.revision') phar:///var/www/html/phploy.phar/vendor/league/flysystem/src/Adapter/Ftp.php:403
    0.3983    2094576  12. ftp_rawlist($ftp = resource(145) of type (FTP Buffer), $directory = '-A .revision') phar:///var/www/html/phploy.phar/vendor/league/flysystem/src/Adapter/Ftp.php:570


Oh Snap: File not found at path: .revision

When i use ssl = false, everything is working properly...

I looked into the pureftpd log when using SSL = True and found this :
... [INFO] TLS: Enabled TLSv1.3 with TLS_AES_256_GCM_SHA384, 256 secret bits cipher

Is phploy compatible with TLS 1.3 ?

phploy version: 4.9.3

Thanks

@fvsadem
Copy link
Author

fvsadem commented Nov 2, 2022

PS : Everything is working fine when i use filezilla, Connection with TLS is well established.

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

1 participant