[Lava-users] ”502 Proxy Error” for large job log & details (in the WEB UI)

Steve McIntyre steve.mcintyre at linaro.org
Fri Nov 3 14:30:46 UTC 2017

On Fri, Nov 03, 2017 at 02:11:22PM +0000, Neil Williams wrote:
>On 3 November 2017 at 11:57, Dragos Iorgulescu <Dragos.Iorgulescu at enea.com>
>    Hello again!
>    After managing to run a consistent series of tests on one of our boards, I
>    came across a situation where the job log seems to be too big for LAVA to
>    display. When clicking the ”Job details” button, the server eventually
>    sends a ”502 Proxy Error” message.
>    Is there a setting or a workaround to make LAVA serve the job log & details
>    in ”chunks”? 
>Not in chunks, no. However, the UI can be made usable again by using the
>"LOG_SIZE_LIMIT" setting in /etc/lava-server/settings.conf:
>This sets the maximum size as 2Mb. 

Presumably you mean 2MB (megabytes, not megabits)?

>    "LOG_SIZE_LIMIT": 2,
>The UI then displays "This log file is too large to view, it can only be
>downloaded" but you do get access to the results and everything else, without
>any proxy error.
>I'll create a ticket to add this to the documentation.

Nod. I'll pick that one up shortly.

Steve McIntyre                                steve.mcintyre at linaro.org
<http://www.linaro.org/> Linaro.org | Open source software for ARM SoCs

More information about the Lava-users mailing list