Skip to content

Better debug/error information #488

@konstantinzolotarev

Description

@konstantinzolotarev

For now there is no good way to handle internal error messages + debugging this errors.

For example:
We have CloudFlare -> Nginx -> Node.js (engine.io ws server) cluster
Pretty often I see such errors:
*3712847 upstream prematurely closed connection while reading response header from upstream, client: 172.31.54.181, server: , request:

But I couldn't debug this issue because If I'll enable debug for ws. It will flash me with tones of useless information.

As well on Socket close event I have only forced close message and have no idea why and where. error event is also not fired.

socket closed and transport closed are also not very good info for searching an issue.

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