Skip to content
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

Verification email does not contain alternative port in URL #17103

Closed
floe opened this issue Apr 18, 2024 · 1 comment
Closed

Verification email does not contain alternative port in URL #17103

floe opened this issue Apr 18, 2024 · 1 comment

Comments

@floe
Copy link

floe commented Apr 18, 2024

Description

I'm running my Matrix server on port 8448 (not recommended, I know). Anyway, I noticed that the verification emails contain a plain "https://matrix.....org/" URL without :8448 appended, even though I configured this URL with port number in both client_base_url and invite_client_location.

Steps to reproduce

  • install standard Synapse server according to howto
  • configure to listen to HTTPS on port 8448 with Letsencrypt certificates
  • enable email verification
  • receive verification emails with port number missing from URL

Homeserver

own installation

Synapse Version

1.105.0

Installation Method

Debian packages from packages.matrix.org

Database

PostgreSQL, single server, not ported, not restored

Workers

Single process

Platform

Small VM, 2 vCPU, 4GB RAM, on Ubuntu 22.04

Configuration

No response

Relevant log output

Not applicable.

Anything else that would be useful to know?

No response

@floe
Copy link
Author

floe commented Apr 19, 2024

P.S. I'm starting to realize that a lot of Matrix tooling seems to implicitly assume a public-facing port 443, e.g. both Element and Cinny break when I try to login to a server URL ending in ...:8448/. I wanted to avoid the whole Apache/Nginx reverse proxy shebang, so I just resorted to running sudo redir -n :443 :8448 and that seems to solve several problems at once (including this one here).

@floe floe closed this as completed Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant