我为电报制作了一个脚本,当它开始时每分钟更改一次化身,就会出现以下错误
尝试1连接失败: ConnectionRefusedError: Errno 111Connect调用失败('149.154.167.51',443)尝试2连接失败: ConnectionRefusedError: Errno 111Connect调用失败('149.154.167.51',443)尝试3连接失败: ConnectionRefusedError: Errno 111Connect调用失败('149.154.167.51',443)连接失败尝试4: ConnectionRefusedError: Errno 111Connect调用失败('149.154.167.51',443)尝试5连接失败: ConnectionRefusedError: Errno 111 Connect呼叫失败('149.154.167.51',‘149.154.167.51’,443)尝试6连接失败:"/home/ainurfast/.local/lib/python3.9/site-packages/telethon/client/auth.py",:ConnectionRefusedError: Errno 111 Connect call failed ('149.154.167.51',443)回溯(最近一次调用):文件“/home/ainurfast/ call /Main.py”,第13行,client.start() client.start()文件client.start第133行,“开始其他self.loop.run_until_complete(coro)文件”第642行,在"/home/ainurfast/.local/lib/python3.9/site-packages/telethon/client/auth.py",() run_until_complete返回future.result()文件的第140行,在_start中返回self.connect()文件的第525行,在connect如果不等待self._sender.connect(文件"/home/ainurfast/.local/lib/python3.9/site-packages/telethon/network/mtprotosender.py",)在connect self._connect() self._connect文件第253行中,在_connect raise中(‘连接到电报失败的{} time’.format(self._retries)) ConnectionError:连接到电报失败5次(S)
发布于 2022-08-15 14:34:22
mtproto电报协议不能从PythonAnywhere上的免费帐户中运行。您可以使用HTTP协议或升级您的帐户。
https://stackoverflow.com/questions/73312457
复制相似问题