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

TLS timeout after a while #369

Open
ptorrent opened this issue Feb 20, 2024 · 0 comments
Open

TLS timeout after a while #369

ptorrent opened this issue Feb 20, 2024 · 0 comments

Comments

@ptorrent
Copy link

ptorrent commented Feb 20, 2024

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
}
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