Skip to content

Video file fails to dowload #216

@progtologist

Description

@progtologist

This error is consistent for both vert.sh and self-hosting, I upload a big video file (800MB), streams properly to vertd, vertd converts without problems but then... for some reason vertd deletes the file before it is downloaded and prints the following error on the console:

converters vertd opened ws connection to vertd
Dvkma7s1.js:4 converters vertd sent startJob message
454Dvkma7s1.js:4 converters vertd received message progressUpdate
Dvkma7s1.js:4 converters vertd received message jobFinished
Dvkma7s1.js:4 converters vertd job finished
Dvkma7s1.js:4 converters vertd downloading from https://eu.vertd.vert.sh/api/download/b27e2040-41f9-4561-8fd4-79acf8ecf82c/03f6bde3660084ca9adf894a25d9b9e02037880c91ef25a4906bd8d703fd7767504cddfb996453f59c3508ab5697f162d4fc905b36d8b7edf5301bc7cbac1037
Dvkma7s1.js:4 Uncaught (in promise) NotReadableError: The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.

When self hosted, the vertd logs print:

2026-01-07 16:40:53.717806+00:00[2026-01-07T16:40:53Z INFO  vertd::http::services::upload] uploaded file: test.mkv
2026-01-07 16:41:39.291291+00:00[2026-01-07T16:41:39Z INFO  vertd::converter] running 'ffmpeg -hide_banner -loglevel error -progress pipe:1 -hwaccel cuda -i input/8bcc2181-ce07-452a-a6ce-352efcffbcef.mkv -c:v h264_nvenc -c:a aac -strict experimental -preset medium -b:v 10600000 -map_metadata 0 -map_chapters 0 output/8bcc2181-ce07-452a-a6ce-352efcffbcef.mp4'
2026-01-07 16:44:53.928766+00:00[2026-01-07T16:44:53Z INFO  vertd::http::services::download] all bytes successfully sent for output/8bcc2181-ce07-452a-a6ce-352efcffbcef.mp4
2026-01-07 16:45:23.930020+00:00[2026-01-07T16:45:23Z INFO  vertd::http::services::download] removing file after successful download: output/8bcc2181-ce07-452a-a6ce-352efcffbcef.mp4

No errors on the vert logs, just some successful GET with curl :

::1 - - [07/Jan/2026:16:40:29 +0000] "GET / HTTP/1.1" 200 26277 "-" "curl/8.17.0" "-"
::1 - - [07/Jan/2026:16:40:59 +0000] "GET / HTTP/1.1" 200 26277 "-" "curl/8.17.0" "-"
::1 - - [07/Jan/2026:16:41:29 +0000] "GET / HTTP/1.1" 200 26277 "-" "curl/8.17.0" "-"
::1 - - [07/Jan/2026:16:41:59 +0000] "GET / HTTP/1.1" 200 26277 "-" "curl/8.17.0" "-"
::1 - - [07/Jan/2026:16:42:30 +0000] "GET / HTTP/1.1" 200 26277 "-" "curl/8.17.0" "-"
::1 - - [07/Jan/2026:16:43:00 +0000] "GET / HTTP/1.1" 200 26277 "-" "curl/8.17.0" "-"
::1 - - [07/Jan/2026:16:43:30 +0000] "GET / HTTP/1.1" 200 26277 "-" "curl/8.17.0" "-"
::1 - - [07/Jan/2026:16:44:00 +0000] "GET / HTTP/1.1" 200 26277 "-" "curl/8.17.0" "-"
::1 - - [07/Jan/2026:16:44:30 +0000] "GET / HTTP/1.1" 200 26277 "-" "curl/8.17.0" "-"
::1 - - [07/Jan/2026:16:45:00 +0000] "GET / HTTP/1.1" 200 26277 "-" "curl/8.17.0" "-"
::1 - - [07/Jan/2026:16:45:30 +0000] "GET / HTTP/1.1" 200 26277 "-" "curl/8.17.0" "-"

and of course many successful

GET /lettermark.jpg HTTP/1.1

As you can see, 50 seconds after vertd has completed sending the file to vert (I guess?), the file gets removed. This happens although I have not clicked the download button on the browser!

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