Skip to content

uvloop blocks app and not executes aiohttp server #425

Closed
@semakmillev

Description

@semakmillev

Hi! I have very strange bug.
On server (only on the one - i cant reproduce error on others) i m tryin to start application using uvloop. Here is the code (i tried using docker, or executing script - result was the same) in console:

Python 3.8.10 (default, Jun 2 2021, 10:49:15)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import uvloop
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy()) # here i tried uvloop.install()
from aiohttp import web
app = web.Application()
web.run_app(app, port=17000)

And after that nothing happens! Moreover, i can't stop process using Ctrl+C or Ctrl+D - only kill from other console

*i changed ports and got same results

uvloop version: 0.15.3
OS Version:
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"

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