evgeny-nadymov / telegram-react

Experimental Telegram web client with tdlib, webassembly and react js under the hood
https://evgeny-nadymov.github.io/telegram-react/
GNU General Public License v3.0
2.34k stars 607 forks source link

can't login: "Call to setAuthenticationPhoneNumber unexpected" #262

Open dmig-alarstudios opened 4 years ago

dmig-alarstudios commented 4 years ago

Trying to login on https://evgeny-nadymov.github.io/telegram-react/

Ad blocker is disabled.

dmig-alarstudios commented 4 years ago

Screenshot from 2020-10-07 15-01-56

dmig-alarstudios commented 4 years ago

But clearing 'phone number' field and entering in manually solves the issue.

TechnicJelle commented 4 years ago

I have the same issue, but I cannot get it to work by manually entering my number.

dmig-alarstudios commented 4 years ago

version 842, problem is still there

web-telegram commented 3 years ago

Hello, @evgeny-nadymov

This error detected when: 1) Click to -> Quick log in using QR code 2) Click to (handleBack) -> Or log in by using your phone number

Then we get "Call to setAuthenticationPhoneNumber unexpected" anytime when set any phone, because we have already active state 'authorizationStateWaitOtherDeviceConfirmation' and handleBack does not work correctly.

erayrafet commented 3 years ago

I had the same error today when I was logged out after a TG React update. image I had to delete all cookies to get it working.