Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect due to network issues: Connection timed out #1406

Open
3 tasks done
46ef882ff3a47d opened this issue Mar 20, 2024 · 0 comments
Open
3 tasks done

Unable to connect due to network issues: Connection timed out #1406

46ef882ff3a47d opened this issue Mar 20, 2024 · 0 comments

Comments

@46ef882ff3a47d
Copy link

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

This error occurs after running

Steps to reproduce

运行代码

Code example

import asyncio

from pyrogram import Client

api_id = ...
api_hash = "..."


async def main():
    async with Client("Test", api_id, api_hash) as app:
        await app.send_message("me", "Greetings from **Pyrogram**!")


asyncio.run(main())

Logs

Unable to connect due to network issues: Connection timed out
Unable to connect due to network issues: Connection timed out
Unable to connect due to network issues: Connection timed out
Connection failed! Trying again...
Unable to connect due to network issues: Connection timed out
Unable to connect due to network issues: Connection timed out
Unable to connect due to network issues: Connection timed out
Connection failed! Trying again...
Unable to connect due to network issues: Connection timed out
Unable to connect due to network issues: Connection timed out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant