sanic-org / sanic

Accelerate your web app development | Build fast. Run fast.

Home Page:https://sanic.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Empty reply from server

longswordinhand opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

After my server receives a request, it will run processing steps which might take times. However, the steps will not be finished compeletely. It reports "[52] Empty reply from server".
I also increase the response time out as:
app = Sanic("App")
app.config.KEEP_ALIVE = True
app.config.REQUEST_TIMEOUT = 5000
app.config.RESPONSE_TIMEOUT = 6000

Please help. Thanks a lot.

Code snippet

No response

Expected Behavior

No response

How do you run Sanic?

As a script (app.run or Sanic.serve)

Operating System

Ubuntu

Sanic Version

22.9.0

Additional context

No response

This is a support issue, not a bug. Please post in support forum and provide code snippet.