Uncaught exception GET / (127.0.0.1) HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/', version='HTTP/1.1', remote_ip='127.0.0.1', headers={'Accept': '*/*', 'Host': 'localhost:8888', 'User-Agent': 'curl/7.50.1'}) Traceback (most recent call last): File"/usr/local/lib/python3.5/dist-packages/tornado/web.py", line 1469, in _execute result = yieldresult File"/usr/local/lib/python3.5/dist-packages/tornado/gen.py", line 1015, in run value = future.result() File"/usr/local/lib/python3.5/dist-packages/tornado/concurrent.py", line 237, inresult raise_exc_info(self._exc_info) File"<string>", line 3, in raise_exc_info File"/usr/local/lib/python3.5/dist-packages/tornado/gen.py", line 285, in wrapper yielded = next(result) File"<string>", line 6, in _wrap_awaitable File"/home/jzqt/Code/Python/1.py", line 16, in get async with session.get("http://baidu.com") as res: File"/usr/local/lib/python3.5/dist-packages/aiohttp/client.py", line 540, in __aenter__ self._resp = yieldfrom self._coro File"/usr/local/lib/python3.5/dist-packages/aiohttp/client.py", line 175, in _request withTimeout(timeout, loop=self._loop): File"/usr/local/lib/python3.5/dist-packages/async_timeout/__init__.py", line 33, in __enter__ raiseRuntimeError('Timeout context manager should be used ' RuntimeError: Timeout context manager should be used inside a task 500GET / (127.0.0.1) 34.12ms