mautrix / whatsapp

A Matrix-WhatsApp puppeting bridge

Home Page:https://maunium.net/go/mautrix-whatsapp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Double Puppetting not working

Letgamer opened this issue · comments

Double puppetting with as_token is not working and spills out error:

WRN Request parsing failed as_user_id=@let:let-net.cc body_parse_err="failed to unmarshal response body: invalid character 'I' looking for beginning of value" duration=77.713192 method=GET req_id=7 response_length=15 response_mime=text/plain;charset=UTF-8 status_code=200 url=https://let-net.cc/_matrix/client/v3/account/whoami?user_id=%40let%3Alet-net.cc

WRN Failed to login with shared secret error="failed to unmarshal response body: invalid character 'I' looking for beginning of value" user_id=@let:let-net.cc

also not clear why the bridge wants to use my admin account 'let' and not the 'wappbridge' account specified in the config.yaml.

Debugging setup issues should be done in the Matrix room as mentioned in the github issue templates and troubleshooting page in the docs.

Double puppeting is for using your own account, that's why it's using your own account. The login will fail if the server address is configured wrong in the double puppet part of the bridge config.