File attachment (video) invalid response on bigger files? #2686

Closed
opened 2026-02-05 04:47:55 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @towerplease on GitHub (Mar 2, 2022).

Describe the Bug

I am currently uploading a lot of videofiles to bookstacks to migrate our video documentary from filesystem to bookstacks. First everything went fine, files were about 50-100 MB in size, but now i have a file with 200 MB and when i try to upload, everything seems fine, but i cannot view the video-file. When i view the attachment:

https://bs.domain.tld/attachments/121 it only give me "ERR_INVALID_RESPONSE". I also tried to reupload, but it looks like about 100 MB is the biggest videofile. I also cannot download the file.

When i use a "normal" File, like .zip i can download the file as expected.

Is there any known issue to that?

Thank you in advance!

Steps to Reproduce

Create or edit new page
upload videofile (.mp4) as attachment.
try to insert as video or open attachment
Error -> ERR_INVALID_RESPONSE appears

Expected Behaviour

Videofile should be played in browser / in embedded page

Screenshots or Additional Context

No response

Browser Details

Opera

Exact BookStack Version

v22.02.1

PHP Version

7.4.3

Hosting Environment

Ubuntu 20.04 Virtual Machine / 4 Core/4GB RAM

Originally created by @towerplease on GitHub (Mar 2, 2022). ### Describe the Bug I am currently uploading a lot of videofiles to bookstacks to migrate our video documentary from filesystem to bookstacks. First everything went fine, files were about 50-100 MB in size, but now i have a file with 200 MB and when i try to upload, everything seems fine, but i cannot view the video-file. When i view the attachment: https://bs.domain.tld/attachments/121 it only give me "ERR_INVALID_RESPONSE". I also tried to reupload, but it looks like about 100 MB is the biggest videofile. I also cannot download the file. When i use a "normal" File, like .zip i can download the file as expected. Is there any known issue to that? Thank you in advance! ### Steps to Reproduce Create or edit new page upload videofile (.mp4) as attachment. try to insert as video or open attachment Error -> ERR_INVALID_RESPONSE appears ### Expected Behaviour Videofile should be played in browser / in embedded page ### Screenshots or Additional Context _No response_ ### Browser Details Opera ### Exact BookStack Version v22.02.1 ### PHP Version 7.4.3 ### Hosting Environment Ubuntu 20.04 Virtual Machine / 4 Core/4GB RAM
OVERLORD added the 🐛 Bug label 2026-02-05 04:47:55 +03:00
Author
Owner

@towerplease commented on GitHub (Mar 3, 2022):

The Issue is resolved. But i have no idea why...

After i had the issue yesterday, i wanted to check it today and it was just gone. Everything just works now... No idea why, havent change anything.

@towerplease commented on GitHub (Mar 3, 2022): The Issue is resolved. But i have no idea why... After i had the issue yesterday, i wanted to check it today and it was just gone. Everything just works now... No idea why, havent change anything.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2686