alfem/telegram-download-daemon

An error occurred on the first run using docker

Closed this issue · 3 comments

run with docker, aarch64 machine, debian 11

docker run command: docker run -e TELEGRAM_DAEMON_API_ID=XXXXXXX -e TELEGRAM_DAEMON_API_HASH=XXXXXXXXXXXXXXXXXXXX -e TELEGRAM_DAEMON_CHANNEL=-100xxxxxxxxxx alfem/telegram-download-daemon:latest

Please enter your phone (or bot token): Traceback (most recent call last):
File "/app/./telegram-download-daemon.py", line 170, in
proxy=proxy).start() as client:
File "/usr/local/lib/python3.10/site-packages/telethon/client/auth.py", line 133, in start
else self.loop.run_until_complete(coro)
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()
File "/usr/local/lib/python3.10/site-packages/telethon/client/auth.py", line 170, in _start
value = phone()
File "/usr/local/lib/python3.10/site-packages/telethon/client/auth.py", line 21, in
phone: typing.Callable[[], str] = lambda: input('Please enter your phone (or bot token): '),
EOFError: EOF when reading a line

alfem commented

Have you read the last paragraph of the Readme?

I didn't understand the purpose of that part, but fortunately it worked.
I would like to ask, is this download speed limited, the download speed on my server is only 600kb/s, is this normal?

alfem commented

Download speed depends on lots of factors, from wires to concurrence. Anyway, there is no limit in my daemon.