TG-FileStreamBot icon indicating copy to clipboard operation
TG-FileStreamBot copied to clipboard

Can't open video links

Open MuhammadBayiz opened this issue 2 years ago • 1 comments

Hi I'm trying to run the bot in Ubuntu 20.04 with python 3.9 the bot runs but i can't open video links the log says [07/02/2023 07:42:37] {/root/TG-FileStreamBot/venv/lib/python3.9/site-packages/aiohttp/web_protocol.py:403} ERROR - Error handling request Traceback (most recent call last): File "/root/TG-FileStreamBot/venv/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 332, in data_received messages, upgraded, tail = self._request_parser.feed_data(data) File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'" [07/02/2023 07:42:37] {/root/TG-FileStreamBot/venv/lib/python3.9/site-packages/aiohttp/web_protocol.py:403} ERROR - Error handling request Traceback (most recent call last): File "/root/TG-FileStreamBot/venv/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 332, in data_received messages, upgraded, tail = self._request_parser.feed_data(data) File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'" [07/02/2023 07:42:38] {/root/TG-FileStreamBot/venv/lib/python3.9/site-packages/aiohttp/web_protocol.py:403} ERROR - Error handling request Traceback (most recent call last): File "/root/TG-FileStreamBot/venv/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 332, in data_received messages, upgraded, tail = self._request_parser.feed_data(data) File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'" [07/02/2023 07:42:38] {/root/TG-FileStreamBot/venv/lib/python3.9/site-packages/aiohttp/web_protocol.py:403} ERROR - Error handling request Traceback (most recent call last): File "/root/TG-FileStreamBot/venv/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 332, in data_received messages, upgraded, tail = self._request_parser.feed_data(data) File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'" [07/02/2023 07:42:39] {/root/TG-FileStreamBot/venv/lib/python3.9/site-packages/aiohttp/web_protocol.py:403} ERROR - Error handling request Traceback (most recent call last): File "/root/TG-FileStreamBot/venv/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 332, in data_received messages, upgraded, tail = self._request_parser.feed_data(data) File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'" [07/02/2023 07:42:39] {/root/TG-FileStreamBot/venv/lib/python3.9/site-packages/aiohttp/web_protocol.py:403} ERROR - Error handling request Traceback (most recent call last): File "/root/TG-FileStreamBot/venv/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 332, in data_received messages, upgraded, tail = self._request_parser.feed_data(data) File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'" [07/02/2023 07:42:39] {/root/TG-FileStreamBot/venv/lib/python3.9/site-packages/aiohttp/web_protocol.py:403} ERROR - Error handling request Traceback (most recent call last): File "/root/TG-FileStreamBot/venv/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 332, in data_received messages, upgraded, tail = self._request_parser.feed_data(data) File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'" [07/02/2023 07:42:39] {/root/TG-FileStreamBot/venv/lib/python3.9/site-packages/aiohttp/web_protocol.py:403} ERROR - Error handling request Traceback (most recent call last): File "/root/TG-FileStreamBot/venv/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 332, in data_received messages, upgraded, tail = self._request_parser.feed_data(data) File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'"

MuhammadBayiz avatar Feb 07 '23 07:02 MuhammadBayiz

If I am not wrong It was happening because pyrogram used in this repository is old

DeekshithSH avatar Aug 22 '24 12:08 DeekshithSH