SpringsFern / TG-FileStreamBot

A Telegram bot to stream files to web.(Inactive). Activerly Maintained Repository https://github.com/SpringsFern/FileStreamBot
https://ftl.deekshith.eu.org
45 stars 105 forks source link

Can't open video links #4

Open MuhammadBayiz opened 1 year ago

MuhammadBayiz commented 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'"

SpringsFern commented 8 months ago

use the bot behind nginx proxy