-
Notifications
You must be signed in to change notification settings - Fork 495
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
Cant login #170
Comments
Same problem here. Anybody knows the cause? |
Yups |
i found same problem. |
Hello. Can you provide working code example? |
We receive error error on login: I suppose, that problem not in longClientName and shortClientName :( @Rhymen, we are waiting for you! :) |
session.go file line number 152. |
I got this value from chrome but I did not understand the actual issue here, can anybody help ? |
The problem seems to be that whatsapp is disconnecting users with old whatsapp protocol versions. go-whatsapp probably just needs to update the protobuf schema and that number in session.go (and also keep updating those every time they change) |
Thank you, it`s solved our problem! |
Note that the version number is in two places: https://github.com/Rhymen/go-whatsapp/blob/master/session.go#L152 and https://github.com/Rhymen/go-whatsapp/blob/master/session.go#L306 Restoring sessions might not work if you don't change the one on line 306 too. |
@tulir I checked on your fork that you updated protobuf. Right? |
Yes, although it looks like there's another protobuf update since then (version 3324, it was at 2846 when I updated). |
Using the last commit solves the problem. |
Thank you! |
How @it-sumanp told:
And how @tulir told it's necessary update in the same file(session.go) at line 306 too. Thx it's worked to me. |
work? |
What made it for me was to change server, i just copied all my files into a backup server i have and started working. Dont know why though |
I thinks this issue was resolved with the last commits @SchulteMK |
What was happening is I was updating the wrong folder, after i went to /go/src/github.com/Rhymen/go-whatsapp un updated de git it worked just fine in the other server. |
I have no session in /tmp, the problem generates when trying to generate QR code. Ive already updated to last version of the repo.
Thanks in advance
The text was updated successfully, but these errors were encountered: