-
Notifications
You must be signed in to change notification settings - Fork 132
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
[BUG]: Impossible to auth #65
Comments
@HT808s Thanks for feedback! This error is REALLY strange, looks like code can converted and flipped to I'll let you know if found any useful data to you |
Getting the same error code, following.. |
We need to ask telegram developers. I digged in very deeply into the official documentation, there is not a single one description of what the |
yeah correct app id and hash, tested with tdlib credentials, same result... |
@mwei0210 can you login into your account without 2fa password and without registration? maybe -404 means that you need to signup with this phone number? |
i guess not..
not sure if this is related |
@mwei0210 try to recreate session (just delete session file, and try to reauth). After that, leave here feedback please, maybe it can help. If yes, i think that main problem in this issue is outdated session. Also, maybe it's better to handle this error (like |
deleting session didn't seem to work as well |
@mwei0210 ok, i'm sorry for this trouble, i'll try to contact with tg developers as fast as i can. |
Nope. thanks for being helpful 😃 |
Did you ever figure out how to solve the issue? I'm having the exact same problem. |
@aleibovici @mwei0210 @HT808s Looks like only utilities for example has bug (mtproto client created Fixed in a3b8484 commit Note that this bug referenced for examples only, looks like custom clients will never have this bug |
@quenbyako hi, I still have the same problem with the latest commit(216789b). is there any way to solve it? |
@xxxsen make sure, that you've updated your go mod (in project directory type Currently, without failed code, i don't know how to help you, unfortunately 😔 |
here is my code, it just copy from auth example and change auth info as myself. https://play.golang.org/p/mH-5svHFD-R error message I got
|
@xxxsen i'll dig up to this issue, and come back to you, looks pretty strange (i can't reproduce it, but it does look too realistic) |
Yep, I got same problem, same mtproto ErrResponseCode 4294966892. |
I was able to resolve this by changing serverHost to my DC's IP (DC5: |
solved it delete +no. Not solved. |
@khjde1207 looks like it could be resolution to this issue... @HT808s @mwei0210 @aleibovici @xxxsen @D3vl0per @ssiyad could you please confirm that this issue can be fixed by correction of input phone number? If yes, i'll add number verification before sending request, it's not too hard |
Sorry, deleting the + doesn't solve it. |
Description
I've tried the
auth
example with my own appID and hashThe call of
client.AuthSendCode
gets stuck/blocked somehow.When I check the error channel, I've got
Failed snippet
https://play.golang.org/p/WCtLC1fS8hw
Expected behavior
I expect to receive a Telegram code in order to authenticate
Additional context
I run go version go1.14.3 darwin/amd64
The text was updated successfully, but these errors were encountered: