sanic icon indicating copy to clipboard operation
sanic copied to clipboard

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

Results 179 sanic issues
Sort by recently updated
recently updated
newest added

**Describe the bug** The memory of the process is increasing for everytime I request a static file. **Code snippet** ```from sanic import Sanic, response import os app = Sanic(__name__) here...

**Describe the bug** When stopping the web server, the library just brute force closes the event loop rather than gracefully closing and cleaning up. This prevents Sanic from being used...

stale

8|sanicgame | 2022-04-06T09:46:43: [2022-04-06 09:46:43 +0000] - (sanic.access)[INFO][192.168.1.50:62892]: POST http://192.168.1.145:8888/robot/wx 503 730

question

**Describe the bug** A clear and concise description of what the bug is, make sure to paste any exceptions and tracebacks. Facing a very weird issue in our production systems....

stale

Dispatching a signal event can provide a context to pass data into the handler: ```python await request.app.dispatch( "user.registration.created", context={"email": request.json.email} ) ``` However, currently if I wait on that same...

necessary

## Proposal: _Always_ run workers in a subprocess. Currently, when in `PRODUCTION` mode with `workers=1`, the server runs in the main process. This can lead to a discrepancy since the...

RFC

Even in debug mode nothing at all appears on log when the TLS handshake fails. Connections with no request are only logged if they finish the TLS handshake and then...

necessary
needs investigation

If a connection is made and the client disconnects without saying anything (which apparently is normal behaviour with browsers), Sanic logs this: ``` [2021-10-16 19:43:23 +0100] - (sanic.access)[INFO][UNKNOWN]: NONE https:///*...

necessary
needs investigation

**Describe the bug** Websockets 9.0.x has a security issue with remediation introduced in 9.1 **Additional context** Closed by #2366

urgent

## Background I see a lot of developers getting stuck because of import ordering. This usually happens because of a mistake in trying to import a module with reference to...

RFC