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

Link new device by QR code is not working #18027

Open
Artiom-M opened this issue Dec 12, 2024 · 0 comments
Open

Link new device by QR code is not working #18027

Artiom-M opened this issue Dec 12, 2024 · 0 comments

Comments

@Artiom-M
Copy link

Artiom-M commented Dec 12, 2024

Description

I have enabled login_via_existing_session and even installed matrix_http_rendezvous_synapse.SynapseRendezvousModule but still see

QR code not supported
Your account provider doesn't support signing into a new device with a QR code.

Steps to reproduce

On Synapse desktop

  • click on avatar -> Link new device
  • shows Settings: Sessions configuration screen with : QR code not supported
    Your account provider doesn't support signing into a new device with a QR code.

Homeserver

Personal home server

Synapse Version

{"versions":["r0.0.1","r0.1.0","r0.2.0","r0.3.0","r0.4.0","r0.5.0","r0.6.0","r0.6.1","v1.1","v1.2","v1.3","v1.4","v1.5","v1.6","v1.7","v1.8","v1.9","v1.10","v1.11"],"unstable_features":{"org.matrix.label_based_filtering":true,"org.matrix.e2e_cross_signing":true,"org.matrix.msc2432":true,"uk.half-shot.msc2666.query_mutual_rooms":true,"io.element.e2ee_forced.public":false,"io.element.e2ee_forced.private":false,"io.element.e2ee_forced.trusted_private":false,"org.matrix.msc3026.busy_presence":false,"org.matrix.msc2285.stable":true,"org.matrix.msc3827.stable":true,"org.matrix.msc3440.stable":true,"org.matrix.msc3771":true,"org.matrix.msc3773":false,"fi.mau.msc2815":false,"fi.mau.msc2659.stable":true,"org.matrix.msc3882":true,"org.matrix.msc3881":false,"org.matrix.msc3874":false,"org.matrix.msc3912":false,"org.matrix.msc3981":true,"org.matrix.msc3391":false,"org.matrix.msc4069":false,"org.matrix.msc4028":false,"org.matrix.msc4108":false,"org.matrix.msc4140":false,"org.matrix.msc4151":false,"org.matrix.simplified_msc3575":true}}

Installation Method

pip (from PyPI)

Database

postgres

Workers

Single process

Platform

Oracle enterprise Linux 8 (VPS)

Configuration

Options I have configured for link new device:

modules:
  - module: matrix_http_rendezvous_synapse.SynapseRendezvousModule
    config:
      prefix: /_synapse/client/org.matrix.msc3886/rendezvouz
experimental_features:
  msc3886_enabled: true
  msc3886_endpoint: /_synapse/client/org.matrix.msc3886/rendezvous

login_via_existing_session:
    enabled: true
    require_ui_auth: false
    token_timeout: "5m"

Relevant log output

I don't see anything special in the log when selecting the QR page...


Dec 11 11:19:22 server synapse[403003]: root: [main] ***** STARTING SERVER *****
Dec 11 11:19:22 server synapse[403003]: root: [main] Server /home/matrix/synapse/venv/lib64/python3.11/site-packages/synapse/app/homeserver.py version 1.120.2
Dec 11 11:19:22 server matrix-synapse[403003]: 2024-12-11 11:19:22,241 - root - 353 - WARNING - main - Server /home/matrix/synapse/venv/lib64/python3.11/site-packages/synapse/app/homeserver.py version 1.120.2
Dec 11 11:19:22 server matrix-synapse[403003]: 2024-12-11 11:19:22,241 - root - 358 - WARNING - main - Copyright (c) 2023 New Vector, Inc
Dec 11 11:19:22 server synapse[403003]: root: [main] Copyright (c) 2023 New Vector, Inc
Dec 11 11:19:22 server matrix-synapse[403003]: 2024-12-11 11:19:22,241 - root - 359 - WARNING - main - Licensed under the AGPL 3.0 license. Website: https://github.com/element-hq/synapse
Dec 11 11:19:22 server matrix-synapse[403003]: 2024-12-11 11:19:22,242 - root - 362 - INFO - main - Server hostname: xxx
Dec 11 11:19:22 server synapse[403003]: root: [main] Licensed under the AGPL 3.0 license. Website: https://github.com/element-hq/synapse
Dec 11 11:19:22 server matrix-synapse[403003]: 2024-12-11 11:19:22,242 - root - 363 - INFO - main - Instance name: master
Dec 11 11:19:22 server synapse[403003]: root: [main] Server hostname: vega-forum.club
Dec 11 11:19:22 server matrix-synapse[403003]: 2024-12-11 11:19:22,242 - root - 364 - INFO - main - Twisted reactor: AsyncioSelectorReactor
Dec 11 11:19:22 server synapse[403003]: root: [main] Instance name: master
Dec 11 11:19:22 server synapse[403003]: root: [main] Twisted reactor: AsyncioSelectorReactor
Dec 11 11:19:22 server matrix-synapse[403003]: 2024-12-11 11:19:22,721 - twisted - 279 - INFO - main - Redirected stdout/stderr to logs
Dec 11 11:19:22 server synapse[403003]: twisted: [main] Redirected stdout/stderr to logs
Dec 11 11:19:22 server matrix-synapse[403003]: 2024-12-11 11:19:22,745 - matrix_http_rendezvous_synapse - 65 - INFO - sentinel - Mounting rendez-vous server on /_synapse/client/org.matrix.msc3886/rendezvouz, w>
Dec 11 11:19:22 server synapse[403003]: matrix_http_rendezvous_synapse: [sentinel] Mounting rendez-vous server on /_synapse/client/org.matrix.msc3886/rendezvouz, with a TTL of 1m and max payload size of 4.0 kiB
Dec 11 11:19:22 server matrix-synapse[403003]: 2024-12-11 11:19:22,764 - twisted - 279 - INFO - sentinel - SynapseSite starting on 18448
Dec 11 11:19:22 server synapse[403003]: twisted: [sentinel] SynapseSite starting on 18448
Dec 11 11:19:22 server matrix-synapse[403003]: 2024-12-11 11:19:22,765 - twisted - 279 - INFO - sentinel - SynapseSite starting on 18448
Dec 11 11:19:22 server synapse[403003]: twisted: [sentinel] SynapseSite starting on 18448
Dec 11 11:19:22 server matrix-synapse[403003]: 2024-12-11 11:19:22,782 - twisted - 279 - INFO - sentinel - SynapseSite starting on 8008
Dec 11 11:19:22 server synapse[403003]: twisted: [sentinel] SynapseSite starting on 8008
Dec 11 11:19:22 server matrix-synapse[403003]: 2024-12-11 11:19:22,783 - twisted - 279 - INFO - sentinel - SynapseSite starting on 8008
Dec 11 11:19:22 server synapse[403003]: twisted: [sentinel] SynapseSite starting on 8008
Dec 11 11:19:22 server systemd[1]: Started Synapse Matrix homeserver.


### Anything else that would be useful to know?

_No response_
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