matrix-org / dendrite

Dendrite is a second-generation Matrix homeserver written in Go!
https://matrix-org.github.io/dendrite/
Apache License 2.0
5.67k stars 664 forks source link

Appservice not getting anything aside from invite events. #1771

Closed w3bb closed 3 years ago

w3bb commented 3 years ago

Background information

Description

After setting up an appservice the appservice doesn't seem to receive any events aside from invite events.

Steps to reproduce

Dendrite should send all events

In both Dendrite and the appservice, you can see it sends events for room invites, but nothing seems to be logged about message events being sent to the appservice.

Relevant portion of appservice log: https://paste.sr.ht/~welt/c47a6c0ae1e835b739a77cd6e669dce76ac2f803 Appservice registration file: https://paste.sr.ht/~welt/10f98648a51c650dec852fd1e86a9e3095710c62

The only lines I can find with the verbatim name of the bot in the logs are relating to it being invited to said rooms, i.e.:

msg="processing invite event" func="github.com/matrix-org/dendrite/roomserver/internal/perform.(*Inviter).PerformInvite" file="github.com/matrix-org/dendrite/roomserver/internal/perform/perform_invite.go:64" event_id="$<snip>" room_id="!<snip>:spiderden.net" room_info_exists=true room_version=6 target_user_id="@steampuppet.bot:spiderden.net"

w3bb commented 3 years ago

It also doesn't seem to send events from federated users, although I'm not sure if that should be a separate issue.

Half-Shot commented 3 years ago

https://github.com/matrix-org/dendrite/pull/1680 needs to land

Half-Shot commented 3 years ago

1680 has landed.