mautrix / whatsapp

A Matrix-WhatsApp puppeting bridge
https://maunium.net/go/mautrix-whatsapp
GNU Affero General Public License v3.0
1.21k stars 170 forks source link

Double Puppetting not working #671

Closed Letgamer closed 7 months ago

Letgamer commented 7 months ago

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.

tulir commented 7 months ago

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.