Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Change LogLevel for the Case of URL Preview Website/file exceeding the configured size limit. #5022

Closed
MparkG opened this issue Apr 7, 2019 · 1 comment
Labels
A-Logging Synapse's logs (structured or otherwise). Not metrics. z-p2 (Deprecated Label)

Comments

@MparkG
Copy link

MparkG commented Apr 7, 2019

Its not really an Error if the url preview spider doesnt load the preview if the file size exceeds the configured limit.. Thats the supposed behaviour.

2019-04-08 00:17:49,354 - synapse.http.client - 543 - ERROR - GET-223- Failed to download body
Traceback (most recent call last):
File "/synapse/http/client.py", line 540, in get_file
_readBodyToFile(response, output_stream, max_size)
synapse.api.errors.SynapseError: 502: Requested file is too large > 5242880 bytes

@MparkG MparkG changed the title Change LogLevel for the Case of URL Preview Website/file exceeding the configured limit. Change LogLevel for the Case of URL Preview Website/file exceeding the configured size limit. Apr 7, 2019
@neilisfragile neilisfragile added A-Logging Synapse's logs (structured or otherwise). Not metrics. z-p2 (Deprecated Label) labels Apr 16, 2019
@erikjohnston
Copy link
Member

Hopefully fixed by that PR

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Logging Synapse's logs (structured or otherwise). Not metrics. z-p2 (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

3 participants