-
Notifications
You must be signed in to change notification settings - Fork 181
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 fail to send #4243
Comments
I see:
So you're getting a 502 status code from the homeserver. This status code is usually returned for errors with federation, could you confirm whether the room you're uploading the videos too is in the same HS as you or on a different one? There might be some issue in the SDK preventing uploading media through federation from working properly. Another option is the 502 could mean the file is too large, but AFAICT this is only used in the |
Hi Not using federation. Its my homeserver and room is from that homeserver |
After checking the related synapse code and confirming nothing should be returning a Could you double check if that's the case? Maybe it's working on EA because the video is compressed with higher compression and passes this check? |
Already tried uploading other much bigger files, they seem to upload fine |
Then I'm sorry to ask again, but could you give us some more info about the videos (format, codec, size maybe?) and upload additional logs when you receive an error uploading them? Sadly, we need some more info to debug this issue. |
This one was done using matrix.org HS. Error also happend logcat (1).log |
Thanks for the logs and video! I think I found the issue:
Which should be fixed by #4247 once merged (should, but I couldn't confirm it does because I can't reproduce the issue, not even with your video). If you want to double check, you can download the APK in the PR to test the fix, just take into account this will be installed as a separate app and it's in debug mode, so performance is way worse than on an officially released one. |
Same thing. Still not working |
I'm sorry to hear that, could you try again with this one instead? Here we try to use a time interpolator that forces the timestamps to be linear, which should fix the issue, but I'm not sure if that could break the video somehow. I'm also trying to find the affected OS version, which I suspect is some faulty vendor's implementation of some codec in Android 12, but I couldn't reproduce it using an emulator. |
Now its just neverending loop of sendings (it never stops) |
@jmartinesp hi, any news or if you have suggestion if i can try anything to help you rule out issue? |
Steps to reproduce
Some videos fail to send
I will include log, hopefully it can help
They can be sent using element-android normally but with EXA it just fails or goes into neverending loop
logs.2025-02-07-11.log
logcat.log
Outcome
What did you expect?
To send video files normally
What happened instead?
Neverendinf loop if media optimisation is off or failed to send message if its on
Your phone model
mi10t
Operating system version
No response
Application version and app store
synapse 1.123
Homeserver
No response
Will you send logs?
Yes
Are you willing to provide a PR?
No
The text was updated successfully, but these errors were encountered: