Skip to content

getTrace() in FireLogger causes bad gateway #267

@adrianbj

Description

@adrianbj
  • bug report? probably not
  • feature request? not sure :)
  • version: 2.4.10

Description

I have a site running on nginx that returns a 502 bad gateway from the $trace = $e->getTrace(); statement in FireLogger.php.

The actual error is:

upstream sent too big header while reading response header from upstream

If I change it to use getTraceAsString, everything works fine. Obviously this is not a solution though as we need the array of results. I know I can set fastcgi_buffers and fastcgi_buffer_size to higher values and it should be able to prevent this, but I am surprised that the getTrace() call in Bluescreen/content.phtml is not causing the same problem. Maybe one is sent through headers and the other through body which is why nginx isn't complaining on the Bluescreen call?

Just throwing this out there to see if you might have a solution - thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions