question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Replication request exceeds max size when trying to join room

See original GitHub issue

Description

I’m getting the following error when trying to join #irc:matrix.org:

2021-05-07 20:16:08,373 - synapse.http.site - 107 - WARNING - sentinel - Aborting connection from IPv4Address(type='TCP', host='127.0.0.1', port=44100) because the request exceeds maximum size
2021-05-07 20:16:08,375 - synapse.http.site - 312 - INFO - sentinel - Connection from IPv4Address(type='TCP', host='127.0.0.1', port=44100) lost before request headers were read
2021-05-07 20:16:08,376 - synapse.http.client - 440 - INFO - POST-3 - Received response to POST http://127.0.0.1:9893/_synapse/replication/remote_join/%21BAXLHOFjvDKUeLafmO%3Amatrix.org/%40deepbluev7%3Aneko.dev/qjkxpFkuVk: 502
2021-05-07 20:16:08,376 - synapse.http.server - 88 - INFO - POST-3 - <SynapseRequest at 0x7f0f95586d00 method='POST' uri='/_matrix/client/r0/join/%23irc%3Amatrix.org' clientproto='HTTP/1.0' site=8086> SynapseError: 502 - Failed to talk to 
main process
2021-05-07 20:16:08,377 - synapse.access.http.8086 - 387 - INFO - POST-3 - 127.0.0.1 - 8086 - {@deepbluev7:neko.dev} Processed request: 27.573sec/-0.000sec (0.005sec, 0.001sec) (0.002sec/0.008sec/10) 64B 502 "POST /_matrix/client/r0/join/%
23irc%3Amatrix.org HTTP/1.0" "mtxclient v0.5.1" [0 dbevts]

I have a few workers with an event_creator and persister as well as a master and a few federation workers. This is from the event_creator log. Increasing the maximum size in https://github.com/matrix-org/synapse/blob/3ff225175462dde8376aa584e3a47c43b1f0e790/synapse/http/site.py#L106 made the join work.

Steps to reproduce

  • Setup synapse with event_creator
  • Try to join #irc:matrix.org

Version information

  • Homeserver:

If not matrix.org: neko.dev

  • Version: 1.33.1

  • Install method: custom ebuild

  • Platform: Gentoo

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:15 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
erikjohnstoncommented, May 27, 2021
0reactions
richvdhcommented, Jun 4, 2021

this was introduced by #9817.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hyper-V Replication Issue: Size of change tracking file ...
(Virtual machine ID xxxxxxxxxxxxxxxxxxxxxxxxxxxxx) - Error: Size of change tracking file exceeded the maximum size limit. (0xC03A0021).
Read more >
16.20 - 5986 Expanded request size of a replication DDL statement ...
5986 Expanded request size of a replication DDL statement exceeds parser limit of 1048500 bytes. Explanation: The user specified a request that exceeds...
Read more >
The OST File Has Reached The Maximum Size | Stellar
One way to resolve the error is to ask the Exchange admin to increase the mailbox size limit. Once the mailbox size is...
Read more >
Data Domain: How to resolve issues with high space ... - Dell
This article contains a step by step procedure to assist with issues around high space utilisation or a lack of available capacity on...
Read more >
Change Processing Tuning ‒ Qlik Replicate
The default value is 500. For maximum batch size, set this value to the highest amount of memory you can allocate to Qlik...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found