[GH-ISSUE #849] [BUG]: MP3 & MP4 upload causes Document Processor to become unavailable #498

Closed
opened 2026-02-22 18:19:47 -05:00 by yindo · 1 comment
Owner

Originally created by @StephenHnilica on GitHub (Feb 29, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/849

How are you running AnythingLLM?

Docker (local)

What happened?

MP3 & MP4 upload causes Document Processor to enter into an infinite loop

On the front end you receive this error message:

Document Processor Unavailable
We can't upload your files right now because the document processor is offline. Please try again later.


This happens with mp3s & mp4s. Eventually the upload will time out giving an error message.

Error Uploading File: Fetch Failed

Once the document processor goes offline, no user is able to upload documents.

Once the conversion and/or transcription is complete, the document processor is freed up & the transcription appears available for embedding.

I have done this with the desktop (the .exe), docker (running via onrender) & just running the program via terminal version of Anything LLM.

Running via terminal, a 5 minute audio worked, but if it takes longer than 5 minutes, the error throws a "Failed to fetch".

Are there known steps to reproduce?

Best as I can tell, just upload an mp3 or mp4 file long enough to timeout the process.

Originally created by @StephenHnilica on GitHub (Feb 29, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/849 ### How are you running AnythingLLM? Docker (local) ### What happened? MP3 & MP4 upload causes Document Processor to enter into an infinite loop On the front end you receive this error message: > Document Processor Unavailable > We can't upload your files right now because the document processor is offline. Please try again later. --- This happens with mp3s & mp4s. Eventually the upload will time out giving an error message. > Error Uploading File: Fetch Failed Once the document processor goes offline, no user is able to upload documents. Once the conversion and/or transcription is complete, the document processor is freed up & the transcription appears available for embedding. I have done this with the desktop (the .exe), docker (running via onrender) & just running the program via terminal version of Anything LLM. Running via terminal, a 5 minute audio worked, but if it takes longer than 5 minutes, the error throws a "Failed to fetch". ### Are there known steps to reproduce? Best as I can tell, just upload an mp3 or mp4 file long enough to timeout the process.
yindo added the possible bug label 2026-02-22 18:19:47 -05:00
yindo closed this issue 2026-02-22 18:19:47 -05:00
Author
Owner

@StephenHnilica commented on GitHub (Mar 1, 2024):

A solution might be to have multiple workers / concurrent threads. I've found that relatively easy to implement in the past.

Alternatively, having a separate thread & queuing system for transcription jobs may also resolve the issue.

I'd also suggest handling transcription job notifications / user interactions so users aren't met with an error message that isn't an error & will eventually resolve itself.

@StephenHnilica commented on GitHub (Mar 1, 2024): A solution might be to have multiple workers / concurrent threads. I've found that relatively easy to implement in the past. Alternatively, having a separate thread & queuing system for transcription jobs may also resolve the issue. I'd also suggest handling transcription job notifications / user interactions so users aren't met with an error message that isn't an error & will eventually resolve itself.
yindo changed title from [BUG]: MP3 & MP4 upload causes Document Processor to become unavailable to [GH-ISSUE #849] [BUG]: MP3 & MP4 upload causes Document Processor to become unavailable 2026-06-05 14:35:38 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#498