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

Element X unable to use https #1978

Closed
p-fruck opened this issue Oct 29, 2023 · 2 comments
Closed

Element X unable to use https #1978

p-fruck opened this issue Oct 29, 2023 · 2 comments
Labels

Comments

@p-fruck
Copy link

p-fruck commented Oct 29, 2023

Steps to reproduce

Element X is unable to connect to our server using https. It should be noted that we use TLS 1.3 exclusively.

Scenario 1

  1. Point your matrix client to some webserver serving .well-known/matrix/client via https (http gets redirected to http)
  2. Connect Element X using https://your.server as the server name

Scenario 2

  1. Point your matrix client to some webserver serving .well-known/matrix/client via https (http gets redirected to http)
  2. Connect Element X using http://your.server as the server name

Scenario 3

  1. Point your matrix client to some webserver serving .well-known/matrix/client via http. Matrix homeserver and sync urls start with https://
  2. Connect Element X using http://your.server as the server name

Scenario 4

  1. Point your matrix client to some webserver serving .well-known/matrix/client via http. Matrix homeserver and sync urls start with http://
  2. Connect Element X using http://your.server as the server name

Outcome

What did you expect?

Client should connect, request should be shown in server access log

What happened instead?

Scenario 1

Client shows "server not supported", no request in access log

Scenario 2

Client shows "server not supported", request in access log (HTTP 301 redirect to HTTPS)

Scenario 3

Client detects server, shows that neither password login nor OIDC is supported (our server supports both)

Scenario 4

Client detects server, shows username/password prompt (no way to use OIDC). Login with username/password fails, likely because our server again redirects http to https

Your phone model

Mac Mini M2 8C CPU, 10C GPU, 16 GB RAM, 512 GB SSD

Operating system version

No response

Application version

1.3.3

Homeserver

Synapse 1.95

Will you send logs?

No

@p-fruck
Copy link
Author

p-fruck commented Oct 29, 2023

Oops, just noticed the error happens because of #786, sorry

@pixlwave
Copy link
Member

Closing as duplicate of #786.

@pixlwave pixlwave closed this as not planned Won't fix, can't repro, duplicate, stale Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants