-
Notifications
You must be signed in to change notification settings - Fork 266
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 Upload always fails in Element when run through Tor #1691
Comments
#1690 related. |
Not seeing any logs linking to this issue |
This is the network output after using ctrl+I and attempting to upload. It's exactly as I said in the post. It starts the upload, it reaches 30s (timeout=30000) and then cancels itself. All statuses are 200 until that point where it turns to (canceled) type: xhr. |
Should see them shortly. |
Looks like a duplicate of element-hq/element-web#25756 |
That one might be cloudflare, can confirm my Homeserver doesn't use cloudflare, nor am I attempting to send multiple files, just the one. Also I'm using the desktop version not the web version, just to confirm. Perhaps, related instead of duplicate? The fix I would believe would be to extend the timeout locally but I have no idea how to go about this. |
|
I'm going to call this 'platform specific' to reflect the fact that it only happens through Tor. Is this still a bug? If so, we could accept a PR for this but realistically it's unlikely to make it onto our roadmap. |
Yes this is still a bug as I haven't been able to get Element to compile properly since (something changed in the software stack and my system won't work well with it -_-). Given how important Tor is to maintaining Anonymity and Security and given Matrix's unique selling point (secure, decentralized communication), I've been constantly surprised that there hasn't been more testing done with Tor, which would allow a better reach to those that need the ability to communicate securely the most (see China, Iran or Russia for examples). I'm aware that Element/Matrix are largely focused on other things right now, but this is a relatively (compared to some of the things I've seen being discussed) quick win. Expose the timeout variable so that it can be configured in the settings, default it to 30s. It's confused me for a while, why this isn't already a thing, but again, I do understand that there has been bigger fish to fry. |
Steps to reproduce
Steps to reproduce
How to Replicate
Have TOR daemon running.
run:
a.
nohup sh -c 'element-desktop --proxy-server=socks5://127.0.0.1:9050 --profile DebugProfile' > ~/nohup-DebugProfile.out &
Attempt to send video to another person.
What I expect to happen
Video uploads
What actually happens
Video bar progresses quickly then error declaring that the upload has failed appears.
Network Tab shows:
Upload status: Cancelled after 30.23s
It seems quite obvious what's happening, but how do I fix it?
Outcome
What did you expect?
File to upload
What happened instead?
File cancelled itself
Operating system
Linux
Application version
1.11.67
How did you install the app?
Built from source
Homeserver
No response
Will you send logs?
No - The networking output shows clearly what element is doing and why it won't upload the video. Timeout is reached.
The text was updated successfully, but these errors were encountered: