Skip to content

FTPS connection not closed properly getting TIME_WAIT #77

Description

@vinodKumarPula

var FTPS = require('ftps');
var ftpClient = new FTPS({
host: 'localhost',
username: 'test',
password: 'test',
protocol: 'ftp',
requireSSHKey: false,
timeout:10,
retries:5,
additionalLftpCommands: [
'set ftp:ssl-allow false',
'set ssl:verify-certificate no',
'set ftp:ssl-force false',
'set passive-mode yes'
].join(';')
});
ftpClient.put(localPath, remotePath).exec((er,res)=>{});
...............................
Hi, Above is my code its working properly but the issue is its making too many connections and having too many connections in TIME_WAIT state
Screenshot from 2019-06-11 21-40-15

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions