Skip to content

Sporadic 502 errors in Fabio logs  #716

@echo-xu-eb

Description

@echo-xu-eb

Hi,

We are seeing sporadic 502 errors in Fabio logs, and we see 2 kinds of error messages that match the 502 occurrences:

$ grep 'proxy error' fabio.stderr.5
invalid log msg: 2019/10/26 02:22:34 http: proxy error: read tcp IP:33374->IP:24218: read: connection reset by peer
invalid log msg: 2019/10/26 14:10:12 http: proxy error: EOF
IP1 - IP2:Port - [27/Oct/2019:01:53:48 +0000] "POST /some_api HTTP/1.1" 502 0 0.017 

I don't see anything abnormal in our API service that could contribute to the 502 response - and from the logs we found the failed request did not reach the API, so I think maybe Fabio is going wrong somewhere, any ideas to troubleshoot this kind of issue in Fabio? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions