-
Notifications
You must be signed in to change notification settings - Fork 235
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
Failure when downloading any remote media #17927
Comments
That is really odd, the error is:
Which is a class from Using a system-wide installation can be slightly brittle, as multiple python packages can clash, i.e. two different packages can install modules under |
I have both multipart and python-multipart installed, that is the cause. |
I've had the same with v1.119.0 on gentoo with distro packages. It seems, synapse uses both multipart and python-multipart (doesn't start with multipart removed) synapse/synapse/http/client.py Line 39 in 850ff14
import python_multipart as multipart |
@alexanderustinov that sounds weird, because gentoo package patches the line as you suggest, see https://github.com/gentoo/gentoo/blob/67abb5404860cf0bdb60b2454e1b98a3b5fb881c/net-im/synapse/synapse-1.119.0.ebuild#L181-L183 and all tests pass for |
@arkamar i've had custom ebuild in an overlay for years. Haven't noticed synapse in ::gentoo, thanks. |
Description
Synapse fails to download any remote media
Steps to reproduce
Homeserver
moechat.kimiblock.top
Synapse Version
1.117
Installation Method
Other (please mention below)
Database
PostgreSQL single server
Workers
Single process
Platform
Arch Linux rolling, all packages has been updated
Configuration
experimental_features:
msc3575_enabled: true
msc3852_enabled: true
msc3026_enabled: true
msc3266_enabled: true
msc2815_enabled: true
msc2815_enabled: true
msc3773_enabled: true
msc3664_enabled: true
msc3881_enabled: true
Push
msc3890_enabled: true
msc3881_enabled: true
msc3391_enabled: true
msc4028_push_encrypted_events: true
enable_media_repo: true
Keep this off!
enable_authenticated_media: false
media_store_path: "media_repo"
max_pending_media_uploads: 4
max_upload_size: 3M
max_image_pixels: 32M
dynamic_thumbnails: true
media_retention:
local_media_lifetime: 14d
remote_media_lifetime: 4d
web_client_location: https://plane.kimiblock.top
presence:
enabled: true
Relevant log output
Anything else that would be useful to know?
No response
The text was updated successfully, but these errors were encountered: