Skip to content

TLS timeout after a while #369

@ptorrent

Description

@ptorrent

Hello,

After a while, I got only timeout on TLS server. Cannot connect anymore. The only way to make it works again is to reboot the process.

Exemple :

  • Download ~ 700 files from fillezila
  • After ~250 files downloads i start to get this error:
{
  "name": "ftp-srv",
  "hostname": "xxxxx",
  "pid": 3806523,
  "id": "f5371c8a-17f4-4a2a-a84c-0c72d0b0c4ef",
  "ip": "my ip address",
  "directive": "RETR",
  "level": 50,
  "err": {
    "message": "operation timed out",
    "name": "TimeoutError",
    "stack": "TimeoutError: operation timed out\n    at afterTimeout (/yyyyyyyyyyyyyyyyy/ftp/node_modules/bluebird/js/release/timers.js:46:19)\n    at Timeout.timeoutTimeout [as _onTimeout] (/yyyyyyyyyyyyyyyyy/node_modules/bluebird/js/release/timers.js:76:13)\n    at listOnTimeout (node:internal/timers:564:17)\n    at process.processTimers (node:internal/timers:507:7)"
  },
  "msg": "operation timed out",
  "time": "2024-02-20T14:57:17.274Z",
  "v": 0
}

  • Then nothing more.
  • I disconnect the client, try to reconnect it. He is able to login, making chdir and after that again :
{
  "name": "ftp-srv",
  "hostname": "xxxxxx",
  "pid": 3806523,
  "id": "f888b92e-5e4b-431c-960e-9b083d86c43d",
  "ip": "my im address",
  "directive": "LIST",
  "level": 50,
  "err": {
    "message": "operation timed out",
    "name": "TimeoutError",
    "stack": "TimeoutError: operation timed out\n    at afterTimeout (/yyyyyyyyyyyyyyyyy/node_modules/bluebird/js/release/timers.js:46:19)\n    at Timeout.timeoutTimeout [as _onTimeout] (/yyyyyyyyyyyyyyyyy/node_modules/bluebird/js/release/timers.js:76:13)\n    at listOnTimeout (node:internal/timers:564:17)\n    at process.processTimers (node:internal/timers:507:7)"
  },
  "msg": "operation timed out",
  "time": "2024-02-20T15:02:10.158Z",
  "v": 0
}

I've my own FS, fs.list => console.log('LIST'). This log doesnt appears in console log after the issue...

Oh I see now... right after connection I got :

{
  "name": "ftp-srv",
  "hostname": "xxxxx",
  "pid": 3806523,
  "id": "0e1dfd9d-55ff-435d-9c6c-59a358c92f7d",
  "ip": "mon ip address",
  "level": 50,
  "msg": "Satisfy Parameters Error { error: 'Socket not writable' }",
  "time": "2024-02-20T15:09:24.435Z",
  "v": 0
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions