OpenCut-app / OpenCut-app/OpenCut

[BUG] stuck on "Upload", "Processing your files (0%)

Open
#551 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
89.8k
Forks
8.9k
PR merge metrics
No merged PRs in 30d

Description

Platform

Debian 13

Browser

Firefox ESR 128.13.0

Current Behavior

When I try to upload a video it just gets stuck on "Upload", "Processing your files (0%). When I check my network activity I can see that nothing is uploading. Not sure what the problem is

bob@debian:~/OpenCut/apps/web$ bun dev
$ next dev --turbopack
   ▲ Next.js 15.4.5 (Turbopack)
   - Local:        http://localhost:3000
   - Network:      http://10.0.2.15:3000
   - Environments: .env.local

 ✓ Starting...
 ✓ Compiled middleware in 180ms
 ✓ Ready in 1379ms
 ○ Compiling / ...
 ✓ Compiled / in 4.9s
 GET / 200 in 5646ms
 ○ Compiling /_not-found/page ...
 ✓ Compiled /_not-found/page in 700ms
 GET /landing-page-dark.png 404 in 849ms
 ⨯ The requested resource isn't a valid image for /landing-page-dark.png received null
 ○ Compiling /projects ...
 ✓ Compiled /projects in 774ms
 GET /projects 200 in 842ms
 ○ Compiling /editor/[project_id] ...
 ✓ Compiled /editor/[project_id] in 2.7s
 GET /editor/978f0c68-d729-4593-9478-521505b2dc03 200 in 3531ms
 ○ Compiling /api/sounds/search ...
 ✓ Compiled /api/sounds/search in 580ms
Error searching sounds: TypeError: fetch failed
    at async GET (src/app/api/sounds/search/route.ts:94:24)
  92 |   try {
  93 |     const ip = request.headers.get("x-forwarded-for") ?? "anonymous";
> 94 |     const { success } = await baseRateLimit.limit(ip);
     |                        ^
  95 |
  96 |     if (!success) {
  97 |       return NextResponse.json({ error: "Too many requests" }, { status: 429 }); {
  [cause]: [AggregateError: ] { code: 'ECONNREFUSED' }
}
 GET /api/sounds/search?page_size=50&sort=downloads 500 in 5287ms
 GET /editor/978f0c68-d729-4593-9478-521505b2dc03 200 in 691ms
Error searching sounds: TypeError: fetch failed
    at async GET (src/app/api/sounds/search/route.ts:94:24)
  92 |   try {
  93 |     const ip = request.headers.get("x-forwarded-for") ?? "anonymous";
> 94 |     const { success } = await baseRateLimit.limit(ip);
     |                        ^
  95 |
  96 |     if (!success) {
  97 |       return NextResponse.json({ error: "Too many requests" }, { status: 429 }); {
  [cause]: [AggregateError: ] { code: 'ECONNREFUSED' }
}
 GET /api/sounds/search?page_size=50&sort=downloads 500 in 4544ms
Image
Expected Behavior

I upload a video and thats it. After that I can work with it in opencut

Recurrence Probability

Always

Steps To Reproduce
  1. start opencloud
  2. go to projects
  3. create or use old one
  4. try to upload a video
  5. not working - at least for me
Anything else?

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the upload failure from the projects page into editor/[project_id] on Debian 13 with Firefox ESR 128.13.0, and inspect network activity while the progress remains at 0%. Review the reported src/app/api/sounds/search/route.ts error separately to determine whether it is related. Done means a video upload completes and the video is available for editing.

Written by the indexing model from the issue text.

Assessment

Tech stack
bun, next.js, typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.