Open MuhammadBayiz opened 1 year ago
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'"
[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'"
use the bot behind nginx proxy
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'"