matrix-org / matrix.org

matrix.org public website
Other
399 stars 327 forks source link

Onion service for matrix-client.matrix.org & matrix.org & dendrite.matrix.org #1314

Open Mikaela opened 2 years ago

Mikaela commented 2 years ago

Is your feature request related to a problem? Please describe.

When I attempt to use matrix.org over Tor, I often end up being asked for Cloudflare captcha that neither Element or Nheko is able to provide for the client-server API. With Element desktop I only see error about no connection for no reason, with Nheko the terminal output gets flooded by HTML saying it's Cloudflare captcha.

Describe the solution you'd like

I would like matrix.org to provide an onion service, preferably single hop one, that I could mapaddress in torrc and not require client-side changes.

Describe alternatives you've considered

Matrix.org could stop using Cloudflare or stop requiring captchas for https://matrix-client.matrix.org in Cloudflare configuration?

Additional context

thibaultamartin commented 1 year ago

Element does seem to support captchas? I managed to create an account using Element on Matrix.org using Tor Browser on macOS.

With that said, @laurencegill it looks like CloudFlare supports onion services. Is this something we could enable for matrix.org and matrix-client.matrix.org? We might want to get T&S' opinion on this too

laurencegill commented 1 year ago

It's possible this isn't an issue any more. We had an issue with ToR traffic for the element app that coincidentally I was involved in, and cloudflare fixed an issue on their side with incorrectly blocking/challenging ToR traffic.

Mikaela commented 1 year ago

This is still a feature request for having access to matrix-client.matrix.org via an onion address without going through Cloudflare. Additionally this issue was experienced with Element Desktop, not Element Web in Tor Browser.

I haven't tried using Element+Tor+Matrix.org recently though.

Mikaela commented 5 months ago

I updated the title since dendrite.matrix.org is also apparently suffering this either through NordVPN or Tor.

2024-02-03T10:08:05,936096653+02:00