zerobias / telegram-mtproto

Telegram client api (MTProto) library
MIT License
617 stars 136 forks source link

401 AUTH_KEY_UNREGISTERED on region changing. #211

Closed misha-sen closed 5 years ago

misha-sen commented 5 years ago

I'm using Tor to bypass telegram blocking in my country. When my Tor out ip is changing and nearestDc not matching to dc that i used for auth i'm getting 401 AUTH_KEY_UNREGISTERED. Solution I'm using now is reloading my tor out ip while i don't get ip with same nearestDc that I auth with.

Is it possible to migrate the authorization to other Telegram DCs?