matrix-org / synapse

Synapse: Matrix homeserver written in Python/Twisted.
https://matrix-org.github.io/synapse
Apache License 2.0
11.78k stars 2.13k forks source link

Enable full IPv6 support for synapse #13107

Open telmich opened 2 years ago

telmich commented 2 years ago

Description:

At the moment synapse cannot be used with workers in IPv6 only environments, as the connection to redis fails and thus no communication is possible. There are various issues existing in the synapse repository and some in the twisted repository.

Feature

Bug Bounty

I would like to put a bounty on solving this bug to finally enable us and the community to run synapse properly in IPv6 only environments. I have an amount in CHF in my mind which I think is appropriate, but if you are interested in solving this as a paid gig, please reach out to me at ipv6only-bounty at ungleich.ch with a proposal on the time frame until it can be solved and which amount you think is appropriate.

dklimpel commented 2 years ago

Related to:

telmich commented 2 years ago

@dklimpel Thanks a lot for cross referencing, I wasn't even aware that there are that many outstanding bugs!

anoadragon453 commented 2 years ago

A few comments in the above linked issues point to https://github.com/python-hyper/hyperlink/issues/68 being the culprit.

There's a workaround noted in the issue. It may be worthwhile for one to go in and monkeypatch the workaround in to hyperlink and see if that fixes IPv6 connectivity in Synapse?