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

Unable to communicate with bot #400

Closed
alistair23 opened this issue Nov 29, 2021 · 4 comments
Closed

Unable to communicate with bot #400

alistair23 opened this issue Nov 29, 2021 · 4 comments

Comments

@alistair23
Copy link

On the latest 0.5.1 release of Dendrite or the latest master branch commit my WhatsApp bridge is unresponsive.

I am able to add the bot to a room, where I get the "Hello, I'm a WhatsApp bridge bot" message, but then any commands that I send don't generate a response. Also the WhatsApp messages aren't being sycned.

This is on a setup that previously worked, but not just seems to be unresponsive.

This is the log that I see:

[DEBUG] Starting application service HTTP server
[DEBUG] Starting event processor
[INFO] Bridge started!
[Matrix/INFO] Listening on 127.0.0.1:29318
[DEBUG] Updating bot profile
[Matrix/Bot/DEBUG] req #2: PUT https://***/_matrix/client/r0/profile/@whatsappbot2:***/avatar_url?user_id=*** {"avatar_url":"mxc://maunium.net/NeXNQarUbrlYBiPCpprYsRqr"}
[DEBUG] Starting users
[DEBUG] Starting custom puppets
[Matrix/Bot/DEBUG] req #3: PUT https://***/_matrix/client/r0/profile/@whatsappbot2:***/displayname?user_id=*** {"displayname":"WhatsApp bridge bot"}
[Matrix/DEBUG] Starting handling of transaction 3406 (1 PDUs)
[Matrix/DEBUG] Starting handling of transaction 3407 (2 PDUs)
[Matrix/DEBUG] Starting handling of transaction 3408 (1 PDUs)
[Matrix/DEBUG] Starting handling of transaction 3409 (1 PDUs)


@tulir
Copy link
Member

tulir commented Nov 30, 2021

Did you try to use an encrypted room without enabling encryption in the bridge?

@alistair23
Copy link
Author

Encryption is disabled in the bridge, but the room is not encrypted

@alistair23
Copy link
Author

I saw this log as well, if that's helpful:

level=info msg="Producing to topic 'DendriteOutputRoomEvent'" func="WriteOutputEvents\n\t" file=" [input.go:130]" adds_state=1 content_value=join event_id="$fZzWGWR7_QGoAQlKHmUCOmU56d15kOpmeNqgiCSKaiE" event_type=m.room.member removes_state=1 room_id="!zg6EvnSOYLOsLUfD:alistair23.me" send_as_server=*** sender="@whatsappbot2:***" state_key="@whatsappbot2:***" type=new_room_event

@spaetz
Copy link

spaetz commented Dec 17, 2021

Just want to report that mautrix-whatsapp works well with my dendrite on current master, I had initially the problem that the WhatsAppBot would not join the room, but after a few restarts of both dendrite and the bridge, things are working fine now on this installation.

@tulir tulir closed this as completed Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants