You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR:aiohttp.server:Error handling request
Traceback (most recent call last):
File "/nix/store/xw8zl3qcl8zha6wi7fns5rzmz2p1mqim-python3.7-aiohttp-3.6.2/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
resp = await task
File "/nix/store/xw8zl3qcl8zha6wi7fns5rzmz2p1mqim-python3.7-aiohttp-3.6.2/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
resp = await handler(request)
File "/nix/store/b93vasrvq42s3nhvrhlkjlaz55ji6qn0-python3.7-swagger-ui-py-0.3.0/lib/python3.7/site-packages/swagger_ui/core.py", line 154, in swagger_config_handler
return web.json_response(self.get_config(request.host))
File "/nix/store/b93vasrvq42s3nhvrhlkjlaz55ji6qn0-python3.7-swagger-ui-py-0.3.0/lib/python3.7/site-packages/swagger_ui/core.py", line 78, in get_config
for server in config['servers']:
KeyError: 'servers'
And also:
The text was updated successfully, but these errors were encountered:
CMCDragonkai
changed the title
ALways get AssertionError or KeyError in aiohttp
Always get AssertionError or KeyError in aiohttp
Aug 14, 2020
I'm using this in aiohttp like:
And the server starts up fine.
But when I visit
/
. I get:And also:
The text was updated successfully, but these errors were encountered: