Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video Preview Upload Fails #12

Open
Tracked by #23
brandonaaskov opened this issue Nov 2, 2021 · 3 comments
Open
Tracked by #23

Video Preview Upload Fails #12

brandonaaskov opened this issue Nov 2, 2021 · 3 comments
Labels
bug Something isn't working cms CMS work

Comments

@brandonaaskov
Copy link

Overview

I tried uploading a preview video for an NFT that was very large for something like that and got an error but could only discover what it was after digging into the network requests: https://share.brandonontheinternet.com/X6ub9oZR

To reproduce

Steps to reproduce the behavior:

  1. Go to the CMS
  2. Create an NFT Template
  3. Try to upload a video to the CMS that's too big
  4. See error

Expected behavior

It uploads the video or tells me in the UI that the file is too large.

@brandonaaskov brandonaaskov added the bug Something isn't working label Nov 2, 2021
@brandonaaskov
Copy link
Author

This is also true for uploading to the "Asset File", not just the preview image.

@smonn
Copy link
Contributor

smonn commented Nov 2, 2021

Ping @kevlarr. To avoid me staring myself blind at Directus code, is there a configurable file size upload limit (or request size limit) in Cloud Run or baked into the CMS docker image? FWIW, large uploads work fine both when running Directus locally and also when uploading large files in the Firebase Storage console.

@smonn smonn added the cms CMS work label Nov 2, 2021
@kevlarr
Copy link
Contributor

kevlarr commented Nov 2, 2021

@smonn AFAIK the load balancers fronting Cloud Run services have a 32MB request limit if HTTP1, but no such limit if HTTP2 (which I think would be a question for Directus..?). I don't think there would be an issue with the GCS bucket storage itself.

@smonn smonn mentioned this issue Nov 2, 2021
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cms CMS work
Projects
None yet
Development

No branches or pull requests

3 participants