!HsxjoYRFsDtWBgDQPh:matrix.org

Synapse Support Community

1102 Members
Get your Synapse questions answered by other Synapse users. This room is community-run, and not officially supported by the developers. For bug reports and highly technical questions, please join #matrix:matrix.org or file bugs at https://github.com/matrix-org/synapse/issues . Announcements in #homeowners:matrix.org385 Servers

Load older messages


Timestamp Message
15 Aug 2018
13:59:57@max:kamax.ioMaximus Slipeer: mxisd does implement bulk identity requests
14:00:41@slipeer:matrix.orgSlipeerWhen you search for a contact on a mobile Riot, it sends exactly bulk identity requests.
14:01:19@albercuba:matrix.orgalbercuba Maximus: I followed the docs, and dont get it working. Can I show you my conf and maybe you see something wrong?
14:01:32@max:kamax.ioMaximusyes, and it is implemented (for a long time now)
14:01:57@max:kamax.ioMaximusalbercuba: sure, but in the mxisd room please - #mxisd:kamax.io
16:36:59@Murz:matrix.orgAlexey Murz Korepov

I can't invite user on my homeserver to room from matrix.org account, in synapse logs I see

2018-08-15 19:34:01,994 - synapse.http.server - 82 - INFO - PUT-74869- <SynapseRequest at 0x7f14c0fd4b48 method='PUT' uri='/_matrix/federation/v1/invite/%21mmbAwwyTUtkvQsjmAg%3Amatrix.org/%24153435084131794gOEXX%3Amatrix.org' clientproto='HTTP/1.1' site=8448> SynapseError: 429 - Too Many Requests

How can I lookup from who requests are too many, and tune-up level?

16:41:17@tulir:maunium.nettulirfrom matrix.org?
16:43:41@Murz:matrix.orgAlexey Murz Korepovyes, eg now I try to invite @murz:ru-matrix.org to this room (via "Invite to this room" button in Riot), and got the error in Riot, and no invite seen on my homeserver
16:45:34@Murz:matrix.orgAlexey Murz Korepov

And seems same thing with other incoming queries, eg

2018-08-15 19:44:13,687 - synapse.http.server - 82 - INFO - POST-75770- <SynapseRequest at 0x7f14c21d3b90 method='POST' uri='/_matrix/federation/v1/get_groups_publicised' clientproto='HTTP/1.1' site=8448> SynapseError: 429 - Too Many Requests

Is there any way to lookup current list of pending Requests, that are "Too Many"?

17:35:28@Murz:matrix.orgAlexey Murz KorepovInvites from other servers are received succesfully, seems the problem is only with invites from matrix.org server.
19:01:09@metabot:rfsServer.rfsmanagement.commetaBot joined the room.
20:17:41@jan.christian:gruenhage.xyzjcgruenhage
In reply to @jan.christian:gruenhage.xyz
My two homeservers decided they don't want to federate with each other properly anymore. I don't see anything about it in the logs, the federation tester is happy, they both federate with the general public just fine. Backfilling and invitations work, just getting room events from jcg.re to gruenhage.xyz doesn't. The other way does work.

So I've looked around a bit more, I can't find anything. If there are problems, in the logs, should I find them with this?

cat synapse/jcg.re/homeserver.log | grep -v "SQL" | grep "gruenhage.xyz"

that and the other way around (grepping gruenhage.xyz logs for jcg.re), of course.

If anyone has any more ideas why this mightbe happening, I'd be really glad to hear them

20:38:12@cadair:cadair.comCadair jcgruenhage: I had that problem once, the LANs DNS server was not forwarding the SRV records properly
20:38:35@cadair:cadair.comCadairso it was hitting the wrong port for a few servers
20:38:39@jan.christian:gruenhage.xyzjcgruenhageI have no local DNS server though
20:38:52@cadair:cadair.comCadairfair enough, worth a shot 😉
20:38:58@jan.christian:gruenhage.xyzjcgruenhageand invites/backfilling should also fail in that case, right?
20:39:16@cadair:cadair.comCadairone would assume so
20:41:34@jan.christian:gruenhage.xyzjcgruenhage
/ # dig -t srv _matrix._tcp.gruenhage.xyz +short
10 0 8448 gruenhage.xyz.
/ # dig -t srv _matrix._tcp.jcg.re +short
10 0 8449 jcg.re.
20:41:56@jan.christian:gruenhage.xyzjcgruenhagethe first thing was in jcg.re's container, the second one in gruenhage.xyz's container
20:42:10@jan.christian:gruenhage.xyzjcgruenhage Cadair: still worth a shot, thanks for the idea :)
20:46:26@jan.christian:gruenhage.xyzjcgruenhageWell, I guess I won't be able to fix this today
20:58:40@Murz:matrix.orgAlexey Murz Korepov
In reply to @Murz:matrix.org

And seems same thing with other incoming queries, eg

2018-08-15 19:44:13,687 - synapse.http.server - 82 - INFO - POST-75770- <SynapseRequest at 0x7f14c21d3b90 method='POST' uri='/_matrix/federation/v1/get_groups_publicised' clientproto='HTTP/1.1' site=8448> SynapseError: 429 - Too Many Requests

Is there any way to lookup current list of pending Requests, that are "Too Many"?

I have found solution here: https://github.com/matrix-org/synapse/issues/1732#issuecomment-269797399

federation_rc_reject_limit: 50

21:00:20@thrrgilag:monkeystew.netMorgan McMillian (thrrgilag) changed their profile picture.
21:03:19@Murz:matrix.orgAlexey Murz KorepovSo I increase it to 500 and all goes to work well, here is active issue about this problem: https://github.com/matrix-org/synapse/issues/1729 Seems my server is too busy now via back-filling, and drop other federation queries
21:05:15@Murz:matrix.orgAlexey Murz Korepov
In reply to @cadair:cadair.com
jcgruenhage: I had that problem once, the LANs DNS server was not forwarding the SRV records properly
As I understand, the SRV record in DNS is necessary only if Synapse is located in different IP address that domain A-record point to.
21:05:43@cadair:cadair.comCadair
In reply to @Murz:matrix.org
As I understand, the SRV record in DNS is necessary only if Synapse is located in different IP address that domain A-record point to.
Or not the default port.
21:06:15@Murz:matrix.orgAlexey Murz Korepovyes
21:07:07@cadair:cadair.comCadairI had both the synapses running on different ports because they were on the same ipv4 address
21:07:51@jan.christian:gruenhage.xyzjcgruenhageI have the exact same thing

There are no newer messages yet.


Back to Room List