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

Videos over 5000KB do not save #2

Open
SlugTeamSix opened this issue Jun 8, 2024 · 3 comments
Open

Videos over 5000KB do not save #2

SlugTeamSix opened this issue Jun 8, 2024 · 3 comments

Comments

@SlugTeamSix
Copy link

SlugTeamSix commented Jun 8, 2024

I have no issues with pictures, short videos (under 10 seconds and 5000KB) and audio. Any videos longer/larger than that do not save, causing the phone to return a 502 error.

Copying from the Discord bug report-
Product: LB Phone, lb-upload
Issue: cannot upload any “long” videos, returns error 502 (HTTP Bad Gateway). Video does not get saved to the uploads folder at all. Short videos (under 12 seconds or 5000kb) work just fine. Pictures save. Audio saves. Issue specifically affects videos, and only over what appears to be 5000kb. Have tried numerous fixes with no luck. Increasing file limits, installing node modules for lb-upload and adding numerous prints has not helped identify the cause.
When: when recording videos over ~12 seconds
How to recreate: record a video over ~12 seconds and save using lb-upload.
Attachment: image
Version: lb-phone: 1.7.5, lb-upload: 2.0.0
Framework: QB, ox_inventory
Has this bug appeared more than once? If so, how often?: Every time you try to record a video over 12 seconds.

@Cocodrulo
Copy link

if you change this, it should work:

Config.Limits.FileSize = 50 -- in MB

@TheAimWolf
Copy link

I have the same problem. The max FileSize does not matter. It is some kind of timeout problem I guess.

@TheAimWolf
Copy link

I fixed it. I wrote my own handler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants