Title: Signed out of my account on all my devices · Issue #74 · hydrogram/hydrogram · GitHub
Open Graph Title: Signed out of my account on all my devices · Issue #74 · hydrogram/hydrogram
X Title: Signed out of my account on all my devices · Issue #74 · hydrogram/hydrogram
Description: Checklist I am sure the error is coming from Hydrogram'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/hydrogram/hydrogram/archive/dev....
Open Graph Description: Checklist I am sure the error is coming from Hydrogram'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://git...
X Description: Checklist I am sure the error is coming from Hydrogram'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:/...
Opengraph URL: https://github.com/hydrogram/hydrogram/issues/74
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Signed out of my account on all my devices","articleBody":"### Checklist\n\n- [x] I am sure the error is coming from Hydrogram's code and not elsewhere\n- [x] I have searched in the issue tracker for similar bug reports, including closed ones\n- [ ] I ran `pip3 install -U https://github.com/hydrogram/hydrogram/archive/dev.zip` and reproduced the issue using the latest development version\n\n### Description\n\nI ran the demo code and it logged out all my devices from my phone, computer and telethon session.\nI used \"pip install -U hydrogram\"\n\nI can logged in successfully but after a while(eg 30-60 seconds), it would logged me out from all devices. \nI checked the active device info of hydrogram, it was \"agentsales(my app name), hydrogram 0.2.0, CPython 3.12, Android(platform I chose for my app), windows server\". This seems to have many contradictions; could this be the reason for the failure?\n\n### Steps to reproduce\n\n1. pip install -U hydrogram\n2. Create hello.py script with code example\n3. Replace the placeholder api_id and api_hash values with my own.\n4. Run script with \"python hello.py\"\n5. Log in to my account\n6. Login successfully and send message to myself\n7. Be logged out from all my devices and session is invalid\n\n### Code example\n\n```python\nimport asyncio\nfrom hydrogram import Client\n\napi_id = 12345\napi_hash = \"0123456789abcdef0123456789abcdef\"\n\nasync def main():\n async with Client(\"my_account\", api_id, api_hash) as app:\n await app.send_message('me', 'Greetings from Hydrogram!')\n\n me = await app.get_me()\n print(f\"Successfully logged in as {me.first_name} ({me.id})\")\n\n\nasyncio.run(main())\n```\n\n### Logs\n\n```shell\n\n```","author":{"url":"https://github.com/StanleyMXY","@type":"Person","name":"StanleyMXY"},"datePublished":"2026-01-05T08:02:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/74/hydrogram/issues/74"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2bbf97ff-d1ab-0bb9-33f3-9eb44a2d37c8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E81C:59C53:CA555A:1100D5F:697321ED |
| html-safe-nonce | abdc962006009dee74d74b24705aa7fc002742b6aa66c412e4ce44b058a5137e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODFDOjU5QzUzOkNBNTU1QToxMTAwRDVGOjY5NzMyMUVEIiwidmlzaXRvcl9pZCI6IjY3NTY1MDQ4Mzg1NTc4Njg1MjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d278c820fb7c765bda530803595c896e2c8055d6594368842ea94259f8d901ab |
| hovercard-subject-tag | issue:3780541463 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/hydrogram/hydrogram/74/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5f15d6cd8fb3a9ce6e5ecea063f331e18242b996ce39dee25a37fc81ce98f7a1/hydrogram/hydrogram/issues/74 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5f15d6cd8fb3a9ce6e5ecea063f331e18242b996ce39dee25a37fc81ce98f7a1/hydrogram/hydrogram/issues/74 |
| og:image:alt | Checklist I am sure the error is coming from Hydrogram'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://git... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | StanleyMXY |
| hostname | github.com |
| expected-hostname | github.com |
| None | 44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4 |
| turbo-cache-control | no-preview |
| go-import | github.com/hydrogram/hydrogram git https://github.com/hydrogram/hydrogram.git |
| octolytics-dimension-user_id | 153278131 |
| octolytics-dimension-user_login | hydrogram |
| octolytics-dimension-repository_id | 711555265 |
| octolytics-dimension-repository_nwo | hydrogram/hydrogram |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 711555265 |
| octolytics-dimension-repository_network_root_nwo | hydrogram/hydrogram |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a5e2b48bd1260476599758f5d253b5d24092ab84 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width