Skip to content

Errors Coming! #2

@AbirHasan2005

Description

@AbirHasan2005

Here the error:

2021-04-06T18:04:05.203597+00:00 app[web.1]: INFO:tgfilestream:Initialization complete
2021-04-06T18:04:38.967676+00:00 heroku[router]: at=info method=GET path="/stream/1026691943439880" host=host-vidrox-bot.herokuapp.com request_id=a4020484-cbba-428f-bf8c-9ca882aa9560 fwd="54.72.135.227" dyno=web.1 connect=1ms service=46ms status=500 bytes=250 protocol=https
2021-04-06T18:04:38.968201+00:00 app[web.1]: ERROR:aiohttp.server:Error handling request
2021-04-06T18:04:38.968212+00:00 app[web.1]: Traceback (most recent call last):
2021-04-06T18:04:38.968215+00:00 app[web.1]: File "/usr/local/lib/python3.8/dist-packages/aiohttp/web_protocol.py", line 422, in _handle_request
2021-04-06T18:04:38.968216+00:00 app[web.1]: resp = await self._request_handler(request)
2021-04-06T18:04:38.968216+00:00 app[web.1]: File "/usr/local/lib/python3.8/dist-packages/aiohttp/web_app.py", line 499, in _handle
2021-04-06T18:04:38.968217+00:00 app[web.1]: resp = await handler(request)
2021-04-06T18:04:38.968217+00:00 app[web.1]: File "/app/music-waddle/tgfilestream/web_routes.py", line 39, in handle_get_request
2021-04-06T18:04:38.968218+00:00 app[web.1]: return await handle_request(req, head=False)
2021-04-06T18:04:38.968218+00:00 app[web.1]: File "/app/music-waddle/tgfilestream/web_routes.py", line 67, in handle_request
2021-04-06T18:04:38.968219+00:00 app[web.1]: size = message.file.size
2021-04-06T18:04:38.968219+00:00 app[web.1]: AttributeError: 'NoneType' object has no attribute 'file'
2021-04-06T18:04:38.968724+00:00 app[web.1]: INFO:aiohttp.access:10.12.198.80 [06/Apr/2021:18:04:38 +0000] "GET /stream/1026691943439880 HTTP/1.1" 500 250 "-" "Lavf/58.29.100"
2021-04-06T18:04:40.539520+00:00 app[web.1]: ERROR:aiohttp.server:Error handling request
2021-04-06T18:04:40.539573+00:00 app[web.1]: Traceback (most recent call last):
2021-04-06T18:04:40.539574+00:00 app[web.1]: File "/usr/local/lib/python3.8/dist-packages/aiohttp/web_protocol.py", line 422, in _handle_request
2021-04-06T18:04:40.539575+00:00 app[web.1]: resp = await self._request_handler(request)
2021-04-06T18:04:40.539576+00:00 app[web.1]: File "/usr/local/lib/python3.8/dist-packages/aiohttp/web_app.py", line 499, in _handle
2021-04-06T18:04:40.539576+00:00 app[web.1]: resp = await handler(request)
2021-04-06T18:04:40.539580+00:00 app[web.1]: File "/app/music-waddle/tgfilestream/web_routes.py", line 39, in handle_get_request
2021-04-06T18:04:40.539582+00:00 app[web.1]: return await handle_request(req, head=False)
2021-04-06T18:04:40.539582+00:00 app[web.1]: File "/app/music-waddle/tgfilestream/web_routes.py", line 67, in handle_request
2021-04-06T18:04:40.539583+00:00 app[web.1]: size = message.file.size
2021-04-06T18:04:40.539583+00:00 app[web.1]: AttributeError: 'NoneType' object has no attribute 'file'
2021-04-06T18:04:40.540274+00:00 app[web.1]: INFO:aiohttp.access:10.10.179.117 [06/Apr/2021:18:04:40 +0000] "GET /stream/1026691943439880 HTTP/1.1" 500 340 "-" "TelegramBot (like TwitterBot)"
2021-04-06T18:04:40.535259+00:00 heroku[router]: at=info method=GET path="/stream/1026691943439880" host=host-vidrox-bot.herokuapp.com request_id=c724c196-d35a-463b-bd73-f3846b93ca47 fwd="149.154.161.10" dyno=web.1 connect=0ms service=74ms status=500 bytes=340 protocol=https

Why this error coming sir?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions