dimanche 5 février 2017

leagure/sftp Connection closed prematurely

I've got a long-living process controlled by supervisor written in php, it's a Laravel command listening on a redis channel. It pushes data from the channel to another server via SFTP using the leagure/sftp library when the data arrives. The problem that it works normally only during about 12 hours after starting the process and starts returning the following error thereafter:

File: /var/www/html/hub/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php

Line: 3416

Code: 0

Message: Connection closed prematurely

The process needs restarting to work normally another 12 hours.

Do you guys have any idea?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2jSq8Q6
via IFTTT

Aucun commentaire:

Enregistrer un commentaire