Skip to content

Telegram is having internal problems. Please try again later #119

@fivepe

Description

@fivepe

Checklist

  • I am sure the error is coming from Pyrogram's code and not elsewhere
  • I have searched in the issue tracker for similar bug reports, including closed ones
  • I ran pip3 install -U https://github.com/pyrogram/pyrogram/archive/master.zip and reproduced the issue using the latest development version

Description

Cannot automatically retry

[5] Retrying "upload.GetFile" due to Telegram says: [-503 Timeout] (caused by "upload.GetFile") Pyrogram 2.1.35 thinks: Telegram is having internal problems. Please try again later.

Steps to reproduce

[5] Retrying "upload.GetFile" due to Telegram says: [-503 Timeout] (caused by "upload.GetFile") Pyrogram 2.1.35 thinks: Telegram is having internal problems. Please try again later.
Telegram says: [-503 Timeout] (caused by "upload.GetFile") Pyrogram 2.1.35 thinks: Telegram is having internal problems. Please try again later.
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/pyrogram/client.py", line 1124, in get_file
    r = await session.invoke(
  File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 444, in invoke
    return await self.invoke(query, retries - 1, timeout)
  File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 444, in invoke
    return await self.invoke(query, retries - 1, timeout)
  File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 444, in invoke
    return await self.invoke(query, retries - 1, timeout)
  [Previous line repeated 2 more times]
  File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 437, in invoke
    raise e from None
  File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 413, in invoke
    return await self.send(query, timeout=timeout)
  File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 383, in send
    RPCError.raise_it(result, type(data))
  File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 107, in raise_it
    raise getattr(
pyrogram.errors.exceptions.service_unavailable_503.Timeout: Telegram says: [-503 Timeout] (caused by "upload.GetFile") Pyrogram 2.1.35 thinks: Telegram is having internal problems. Please try again later.

Code example

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions