Closed sofqi closed 5 years ago
303 SEE_OTHER | PHONE_MIGRATE_X | Repeat the query to data-center X
Try to use the most latest code and remove , { dcID: 1, fileDownload: false, createNetworker: true }
this part
Installed newest version (also installed npm install https://github.com/zerobias/telegram-mtproto.git#feature/mtproto3
) and removed the code to try to force dcID of 1
Still got a PHONE_MIGRATE_1 error
help.getConfig shows that I am connecting to DC 2.
Yes, I can confirm the automatic DC change is broken.
Any updates on automatic DC change here? @zerobias @goodmind
@ehsan89 yes, try telegram-mtproto 3.2.2
. The new version can detect migration errors and read current DC from storage
Using:
Every time I use (I tried it without the dcID parameters as well)
I get a PHONE_MIGRATE_1 error on the IOS simulator (I haven't even bothered trying it on an iPhone yet since it doesn't work in the simulator)
Addendum: I also get NETWORK_MIGRATE_1 with