-
Notifications
You must be signed in to change notification settings - Fork 214
Closed
Labels
Description
I created a simple script to upload a file with the TUS js client to the tus-node-server (with fastify)
When I lunch the client upload script and kill it (CTRL + C) after a few chunks have been uploaded, the server crashes with the following error:
tus-node-server [PatchHandler] Error: aborted
at connResetException (node:internal/errors:717:14)
at abortIncoming (node:_http_server:750:17)
at socketOnClose (node:_http_server:744:3)
at Socket.emit (node:events:524:35)
at Socket.emit (node:domain:489:12)
at TCP.<anonymous> (node:net:316:12) {
code: 'ECONNRESET'
} +7s
[Error: ENOENT: no such file or directory, lstat '/var/folders/r4/m30b545s1q93w60kgjk5lym00000gn/T/pfoNhWXgiL-0'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/var/folders/r4/m30b545s1q93w60kgjk5lym00000gn/T/pfoNhWXgiL-0'
}
Once this error happens the only way to recover is to restart the server