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

Refuses to start if encryption is turned on #513

Closed
bytedream opened this issue Jun 11, 2022 · 2 comments
Closed

Refuses to start if encryption is turned on #513

bytedream opened this issue Jun 11, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@bytedream
Copy link

bytedream commented Jun 11, 2022

If I set enable: true under the encryption section in the config file, the bridge refuses to start. When it's disabled, everything works fine.

OS: alpine 3.15
Matrix Server: conduit (#39bc84d8) & dendrite v0.8.8
Mautrix-Whatsapp Version: v0.4.0
Full logs:

[Jun 11, 2022 17:55:33] [INFO] Initializing mautrix-whatsapp 0.4.0 (May 16 2022, 17:36:06)
[Jun 11, 2022 17:55:33] [DEBUG] Initializing database connection
[Jun 11, 2022 17:55:33] [DEBUG] Initializing state store
[Jun 11, 2022 17:55:33] [DEBUG] Initializing Matrix event processor
[Jun 11, 2022 17:55:33] [DEBUG] Initializing Matrix event handler
[Jun 11, 2022 17:55:33] [INFO] Bridge initialization complete, starting...
[Jun 11, 2022 17:55:33] [DEBUG] Running database upgrades
[Jun 11, 2022 17:55:33] [Database/Upgrade/INFO] Database currently on v44, latest: v44
[Jun 11, 2022 17:55:33] [DEBUG] Checking connection to homeserver
[Jun 11, 2022 17:55:33] [Matrix/Bot/DEBUG] req #1: GET https://<server>/_matrix/client/versions?user_id=%40whatsappbot%3A<server>
[Jun 11, 2022 17:55:33] [WARN] Server isn't advertising modern spec versions
[Jun 11, 2022 17:55:33] [Matrix/Bot/DEBUG] req #2: GET https://<server>/_matrix/client/v3/account/whoami?user_id=%40whatsappbot%3A<server>
[Jun 11, 2022 17:55:33] [Crypto/Helper/DEBUG] Initializing end-to-bridge encryption...
[Jun 11, 2022 17:55:33] [Crypto/Bot/DEBUG] req #3: GET https://<server>/_matrix/client/v3/login
[Jun 11, 2022 17:55:33] [FATAL] Error initializing end-to-bridge encryption: homeserver does not support appservice login
@bytedream bytedream added the bug Something isn't working label Jun 11, 2022
@tulir
Copy link
Member

tulir commented Jun 12, 2022

As the error message suggests, your server doesn't support necessary features from the Matrix spec.

@tulir tulir closed this as not planned Won't fix, can't repro, duplicate, stale Jun 12, 2022
@wrenix
Copy link

wrenix commented Feb 7, 2024

@tulir you mean dendrite need this?
matrix-org/matrix-spec-proposals#3202
and/or:
matrix-org/matrix-spec-proposals#2409

like here descripted:
matrix-org/dendrite#3280

or what is needed?

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Development

No branches or pull requests

3 participants