The error message 'epoll_wait() reported that client prematurely closed connection' is displayed in APIcast log

Solution Verified - Updated -

Issue

  • When making a request from a client to APIcast, the client's timeout triggers and APIcast log shows a trace with epoll_wait() error as below:

    2023/06/09 06:45:30 [info] 25#25: *2880197 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too (104: Connection reset by peer) while sending request to upstream, client: 1.2.3.4, server: _, request: "POST /rest/v1.0/status HTTP/1.1", upstream: "http://1.4.5.6:9092/rest/v1.0/status", host: "myhostname.prod.svc.cluster.local:9092"
    

Environment

  • Red Hat 3scale API Management Platform (3scale)
    • 2 (On Premise)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content