-
Notifications
You must be signed in to change notification settings - Fork 202
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
Twisted has a new version which causes failure #17882
Comments
As you can see _encodeName was part of the private API. It is removed in the 24.10.0 I think the intent is to use the |
Can confirm the issue. I downgraded Twisted and Synapse works again. |
Running into this issue as well, prevents synapse from starting. (Synapse 1.118.0) |
Can confirm downgrading to the last version of Twisted remedies the issue |
Same issue on my side, downgrade also fixed the issue. |
It is currently also related to #17075. |
Description
I just started getting this error.
This is due to an update to Twisted from v24.7.0 to v24.10.0 .
Forcing the older version
pip install --force-reinstall -v "Twisted==24.7.0"
and that corrected the error.Apparently,
_canonicalHeaderName = Headers()._encodeName
is no longer valid.Steps to reproduce
Homeserver
generating a new homeserver.yaml
Synapse Version
1.117.0
Installation Method
pip (from PyPI)
Database
sqlite
Workers
Single process
Platform
Ubuntu 24
fedora 40
Configuration
No response
Relevant log output
Anything else that would be useful to know?
I updated the
synapse/http/proxy.py
about line 74 to gain some insight.While this is not a fix, it may be useful.
The text was updated successfully, but these errors were encountered: