!DeRvyHqkqkIBbBtwsO:matrix.org

Homeserver Developers

302 Members
If you are building a homeserver, or you want to talk to other people that build homeservers, then this is the place for you! 🥳125 Servers

Load older messages


SenderMessageTime
17 Apr 2020
@neilalexander:matrix.org@neilalexander:matrix.orgthen oh boy do I have a synapse bug for you13:14:52
@neilalexander:matrix.org@neilalexander:matrix.org(maybe, I'm not sure yet)13:15:09
@richvdh:sw1v.orgrichvdhoh good13:15:18
@neilalexander:matrix.org@neilalexander:matrix.org Incidentally, what does Synapse do if an auth event is missing (regardless of whether it should be)? 13:18:27
@neilalexander:matrix.org@neilalexander:matrix.orgDoes it just fail the auth check or does it go looking for the event over federation?13:18:38
@richvdh:sw1v.orgrichvdhno real idea :/13:28:21
@neilalexander:matrix.org@neilalexander:matrix.org Apr 17 13:43:09 photon-machine docker-compose[20048]: dendrite_monolith | time="2020-04-17T13:43:09.957577156Z" level=info msg="Checking event signatures for 7716 events of room state" func="Check\n\t" file=" [/go/pkg/mod/github.com/matrix-org/gomatrixserverlib@v0.0.0-20200417133955-a7b91d86e8d3/federationtypes.go:332]" req.id=LsfZRleJCPoJ req.method=POST req.path="/_matrix/client/r0/join/#irc:half-shot.uk" user_id="@neilalexander:dendrite.neilalexander.dev" Apr 17 13:43:14 photon-machine docker-compose[20048]: dendrite_monolith | time="2020-04-17T13:43:14.371418566Z" level=warning msg="Failed to join room using server" func="joinRoomUsingServers\n\t" file=" [/build/clientapi/routing/joinroom.go:291]" error="respSendJoin: gomatrixserverlib: missing auth event with ID $iN8vlyWxpyv7fAvkJYV116R/+KTj7E5XV/2g4o8qH/g for event $N4nUOWJWF2Gl1LiDP6tZeaNtaCI7WMDcbCDnqSGQNKo" req.id=LsfZRleJCPoJ req.method=POST req.path="/_matrix/client/r0/join/#irc:half-shot.uk" server=kapsi.fi user_id="@neilalexander:dendrite.neilalexander.dev" 13:45:26
@neilalexander:matrix.org@neilalexander:matrix.orgHmm13:45:49
@neilalexander:matrix.org@neilalexander:matrix.orgDifferent servers are returning different missing auth events, which is useful13:47:05
@richvdh:sw1v.orgrichvdhyay13:51:40
@neilalexander:matrix.org@neilalexander:matrix.org I'm currently making absolutely sure that dendrite isn't doing something stupid parsing the send_join response before I waste any of your time 13:53:18
@richvdh:sw1v.orgrichvdhI will not be at all surprised when you discover a whole load of bugs in synapse's join-over-federation behaviour13:53:15
@richvdh:sw1v.orgrichvdhit was mostly written long before any specs existed13:53:41
@neilalexander:matrix.org@neilalexander:matrix.org:D13:54:34
@neilalexander:matrix.org@neilalexander:matrix.org Okay, I think I can point the finger at dendrite now partly, but in this particular instance that I'm looking at, synapse is returning the problem auth event in send_join three times :D 13:57:49
@neilalexander:matrix.org@neilalexander:matrix.orgI bet this is one of those topological sorting things13:58:42
@neilalexander:matrix.org@neilalexander:matrix.org Apr 17 15:09:08 photon-machine docker-compose[23197]: dendrite_monolith | time="2020-04-17T15:09:08.893283691Z" level=warning msg="Failed to join room using server" func="joinRoomUsingServers\n\t" file=" [/build/clientapi/routing/joinroom.go:291]" error="respSendJoin: gomatrixserverlib: event with ID \"$UuV85l8S5EzEsWdfq78Xps6Pj9G5R5sJKN1bO4j/LYU\" is not allowed by its auth_events: eventauth: \"@appservice-irc:matrix.org\" is not allowed to change the membership of \"@cg505:matrix.org\" from \"join\" to \"leave\"" req.id=UqIxkwOnEr6u req.method=POST req.path="/_matrix/client/r0/join/#irc:half-shot.uk" server=kapsi.fi user_id="@neilalexander:dendrite.neilalexander.dev" 15:09:23
@neilalexander:matrix.org@neilalexander:matrix.orgheh well this is a new and interesting one15:09:26
@neilalexander:matrix.org@neilalexander:matrix.orgRedacted or Malformed Event15:11:33
@jan.christian:gruenhage.xyzjcgruenhage joined the room.15:26:24
18 Apr 2020
@nico:beerfactory.orgNico Hi, could it happen that some PDU received by homeserver A contain event where prev_events or auth_events refer to events which are not yet known by this homeserver A ? If yes, what should A do with this event (reject) ? 07:07:03
@nico:beerfactory.orgNico hi guess no, because all prev_events and auth_events should have been sent in previous PDUs. So that case should be treated as invalid/rejected event ? 07:54:46
@acharles:matrix.orgAhmed CharlesI don't think the spec requires that servers get pdu's in a specific order. If one is missing, I assume that's what the api's are for that allow requesting specific events from other servers.08:12:48
@neilalexander:matrix.org@neilalexander:matrix.org
In reply to @nico:beerfactory.org
Hi, could it happen that some PDU received by homeserver A contain event where prev_events or auth_events refer to events which are not yet known by this homeserver A ? If yes, what should A do with this event (reject) ?
The other server can try to request the missing events before the auth checks
08:23:27
@nico:beerfactory.orgNicoFine.08:24:47
@nico:beerfactory.orgNicoThanks.08:24:51
@morgan-trench:matrix.orgmorgan-trench joined the room.15:17:34
19 Apr 2020
@timo:koesters.xyzTimoHey guys, I'm trying how delegated server domains work. If my username ends in :koesters.xyz, but my synapse server is on matrix.koesters.xyz, how does this redirection happen? Afaict, this endpoint https://matrix.org/docs/spec/server_server/r0.1.3#get-well-known-matrix-server is on koesters.xyz and links to matrix.koesters.xyz and all other endpoints are on that domain08:12:41
@neilalexander:matrix.org@neilalexander:matrix.orgUsually using a DNS SRV record08:13:44
@neilalexander:matrix.org@neilalexander:matrix.org* Usually using a DNS SRV record on koesters.xyz08:14:12

There are no newer messages yet.


Back to Room ListRoom Version: 5