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

Response too long #28

Open
hackervera opened this issue Jan 9, 2017 · 9 comments
Open

Response too long #28

hackervera opened this issue Jan 9, 2017 · 9 comments

Comments

@hackervera
Copy link

Error reading from matrix.org: response too long (10485760 bytes limit) in pidgin

@likwrk
Copy link

likwrk commented Aug 12, 2017

any updates?

penguin42 added a commit to penguin42/purple-matrix that referenced this issue Sep 2, 2017
Initial sync's are getting huge, we really need to fix that,
but in the mean time bump the max size up.
I've seen matrix HQ giving out a 5MB reply in the initial sync.

see issue matrix-org#28.

Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
@penguin42
Copy link
Contributor

Hi tjgillies; I've pushed a hack that bumps up the maximum api request size to 40MB from 10MB that should make this go away.
We really need to rework to avoid it - the request we're using gets back these huge responses during initial sync sometimes, I've seen Matrix HQ give 5MB+.
(At least I'm assuming you're seeing it during initial sync - right?)

@jerinphilip
Copy link

Error reading from matrix.org: response too long (41943040 bytes limit). Can't sign in.

@ghost
Copy link

ghost commented Mar 11, 2021

I have this too, but it also asks if I want to trust matrix.org's certificates. I say "yes" to all these quotions, but it still does not work. This is how it goes:

10:17 <@fmlatghor> account matrix on
10:17 <@root> matrix - Logging in: Logging in
10:17 <@root> matrix - Logging in: Initial Sync
10:17 <@root> matrix - Login error: Error reading from matrix.org: response too long (10485760 bytes limit)
10:17 <@root> matrix - Logging in: Signing off..
10:17 <@root> matrix - Logging in: Reconnecting in 135 seconds..
10:20 <@root> matrix - Logging in: Logging in
10:20 <@root> New request: Request: SSL Certificate Verification
10:20 <@root>
10:20 <@root> Accept certificate for matrix.org?
10:20 <@root>
10:20 <@root> The certificate for matrix.org could not be validated.
10:20 <@root>
10:20 <@root> The certificate is not trusted because no certificate that can verify it is currently trusted.
10:20 <@root> You can use the yes/no commands to accept/reject this request.
10:20 <@fmlatghor> yes
10:20 <@root> Accepted: Request: SSL Certificate Verification
10:20 <@root>
10:20 <@root> Accept certificate for matrix.org?
10:20 <@root>
10:20 <@root> The certificate for matrix.org could not be validated.
10:20 <@root>
10:20 <@root> The certificate is not trusted because no certificate that can verify it is currently trusted.
10:20 <@root> matrix - Login error: Invalid response from homeserver
10:20 <@root> matrix - Logging in: Signing off..
10:20 <@root> matrix - Logging in: Reconnecting in 405 seconds..```

@ghost
Copy link

ghost commented Mar 18, 2021

It's working now.

@ildar
Copy link

ildar commented Mar 20, 2021 via email

@ghost
Copy link

ghost commented Mar 20, 2021

Not in my case. did you change anything? Plugin version you use?

Well the first time I tried on debian testing, this time I tried on fedora. I don't have access to the debian machine right now, but I'm on v1.0 for purple-matrix.

ildar pushed a commit to ildar/purple-matrix that referenced this issue Oct 14, 2021
@ildar
Copy link

ildar commented Nov 24, 2021 via email

@DanielSiepmann
Copy link

Any known workarounds, e.g. leaving rooms via webbrowser before logging in via purple? Would really like to use matrix via purple.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants