Skip to content
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

s40 login not working? #2319

Closed
rahul1996 opened this issue Nov 9, 2017 · 41 comments
Closed

s40 login not working? #2319

rahul1996 opened this issue Nov 9, 2017 · 41 comments

Comments

@rahul1996
Copy link

general: Login Failed, reason: not-authorized
Auth Error, reason not-authorized

Number not blocked. Tried re-registering.

@bahtiarp
Copy link

bahtiarp commented Nov 9, 2017

same issue, all number not authorized since 4 hours ago.
Not blocked.

@cyberp1983
Copy link

yes. not-authorized

@VaniaAntoshkin
Copy link

Confirm. Login Failed, reason: not-authorized

@HeinzFo
Copy link

HeinzFo commented Nov 9, 2017

same issue!
On different Windows 7/10 PCs with different phone numbers.

Output in cmd window:

C:\Yowsup>c:\python27\python.exe C:\Yowsup\yowsup-cli demos -s 491xxxxxxx "send message" -c c:\Yowsup\yowsup-config/yowsup.config
yowsup-cli v2.0.15
yowsup v2.5.2
Copyright (c) 2012-2016 Tarek Galal
http://www.openwhatsapp.org
This software is provided free of charge. Copying and redistribution is encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://openwhatsapp.org/yowsup/donate
Authentication Error: not-authorized
C:\Yowsup>

@KundKMC
Copy link

KundKMC commented Nov 9, 2017

Same here, on ALL channel - exactly the same time. We already tries to log in from various locations - always the same. When trying to reregister we get the:

INFO:yowsup.common.http.warequest:{"login":"XXXXXX","status":"fail","reason":"old_version"}

thing. Maybe Yowsub API on Whatsapp's side is gone? They wanted to keep it up till december 2018?!

@HeinzFo
Copy link

HeinzFo commented Nov 9, 2017

Hello KundKMC

In Line 4 of your post I read ..."old_version"

May be related to the VERSION string in yowsup/env/env_s40.py ?

This was in the past a problem and a update to _VERSION = "2.16.11" was the solution.
May be a newer version number can solve the problem?

Regards

@KundKMC
Copy link

KundKMC commented Nov 9, 2017

Hey Heinzfo, thanks for the advice - but my env_s40.py reads like:

class S40YowsupEnv(YowsupEnv):
_VERSION = "2.16.11"
_OS_NAME= "S40"
_OS_VERSION = "14.26"
_DEVICE_NAME = "302"
_MANUFACTURER = "Nokia"

Before this night, yowsup was working fine. I think they did something on WhatsApp side ;(

@rahul1996
Copy link
Author

I think whatsapp have either updated the version or token

@HeinzFo
Copy link

HeinzFo commented Nov 9, 2017

Hi KundKMC

I mean must higher then 2.16.11
Or the _TOKEN_STRING needs a update like posted from rahul1996
But the _AXOLOTL was also affected in the past.

@KundKMC
Copy link

KundKMC commented Nov 9, 2017

Hmmm, that's worth a shot. Can someone provide a suggestion for different setting than:

class S40YowsupEnv(YowsupEnv):
_VERSION = "2.16.11"
_OS_NAME= "S40"
_OS_VERSION = "14.26"
_DEVICE_NAME = "302"
_MANUFACTURER = "Nokia"
_TOKEN_STRING = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1478194306452{phone}"
_AXOLOTL = True

Thats what yowsup comes shipped with.....

@RaistlenM
Copy link

This seems to sort it out..

_VERSION = "2.16.12"
_OS_NAME= "S40"
_OS_VERSION = "14.26"
_DEVICE_NAME = "302"
_MANUFACTURER = "Nokia"
_TOKEN_STRING = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1494451854337{phone}"
_AXOLOTL = True

@bahtiarp
Copy link

bahtiarp commented Nov 9, 2017

@RaistlenM , how to generate such string, for next time if it become old_version again?

@HeinzFo
Copy link

HeinzFo commented Nov 9, 2017

Hi RaistlenM

I change from _VERSION = "2.16.11" to _VERSION = "2.16.12"

Now it works ;-)

Tanks!

@RaistlenM
Copy link

I didnt, found it in the issues

@VaniaAntoshkin
Copy link

RaistlenM version works! Thank you!

@KundKMC
Copy link

KundKMC commented Nov 9, 2017

It's crazy but it really works. Just changing to 2.16.12 @RaistlenM you just made my day ;)

@RaistlenM
Copy link

:)

@YuvalPruss
Copy link

Thanks @RaistlenM !

@fangfufu
Copy link

fangfufu commented Nov 9, 2017

@RaistlenM 's solution works.

@D0m3L
Copy link

D0m3L commented Nov 9, 2017

@HeinzFo @RaistlenM thanks guys for saving the day!

@lesimoes
Copy link

lesimoes commented Nov 9, 2017

Hello,
I change to VERSION = "2.16.12" but doesnt work. :(

@HeinzFo
Copy link

HeinzFo commented Nov 9, 2017

Hi

On my Windows PCs no restart required but my Raspberry Pi needs an restart!

@rahul1996
Copy link
Author

@HeinzFo how do you autorun the python script in Raspberry Pi?

@HeinzFo
Copy link

HeinzFo commented Nov 9, 2017

Hi rahul1996

On the RPi I use FHEM www.fhem.de this is a perl application.
There is a module with that functions you can use yowsup.
I have no deeper knowledge about that.

Regards

@Retsim
Copy link

Retsim commented Nov 9, 2017

Hey,
Thanks @RaistlenM !
Did someone got the corresponding working change for env_android too ?

@brunaoalx
Copy link

@RaistlenM

Thanks! Work for me.

How do you know the new token for the S40?

@nked
Copy link

nked commented Nov 9, 2017

@bahtiarp #1726 You can use this code to automatically update version and token string.

@r0alt
Copy link

r0alt commented Nov 10, 2017

this works for me on:
env_android.py

_MD5_CLASSES = "5h7dTJYD1ogHDxfiIXIZxg=="
_VERSION = "2.17.286"

@mathslimin
Copy link

i get the error
status: fail
retry_after: 3600
reason: no_routes
$python yowsup-cli registration --requestcode sms --phone 86********* --cc 86 --mcc 460 --mnc 01 -E s40
status: fail
retry_after: 76
reason: too_recent
login: 86*********

@eladhay
Copy link

eladhay commented Nov 12, 2017

@RaistlenM Works. Thanks a lot.

@dpz3579
Copy link

dpz3579 commented Nov 14, 2017

Hi do look at
Whatsapp version API

this gives dex md5 of latest android version & version number of s40 running live.

For the android look at keys a & d. (a=> dex code , d=> version)

For s40 look at "e" for version.

@alejandrosofter
Copy link

not is a solution stable to develop with yowsup.. more than 10 sim blocked in 2 days with diferents IP's .. is a wasted time

@KundKMC
Copy link

KundKMC commented Nov 18, 2017

The whole WhatsApp thing is not very stable. I think it is nothing special about yowsub - it's the creepy Facebook strategy for WhatsApp that is doing the harm. Facebook messenger provides a diffrent user id for every communication channel while on WhatsApp they don't seem to care about anything. I always wonder why WhatsApp is so successful and crappy at the same time.

@alejandrosofter what else to use to communicate with the WhatsApp world?

@10p30pl3
Copy link

@alejandrosofter this seems to be the rule. Anyone else is getting better results?

@Mega4alik
Copy link

Mega4alik commented Nov 29, 2017

Hi, getting old_version error on registration with configurations:
_VERSION = "2.16.12"
_OS_NAME= "S40"
_OS_VERSION = "14.26"
_DEVICE_NAME = "302"
_MANUFACTURER = "Nokia"
_TOKEN_STRING = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1494451854337{phone}"
_AXOLOTL = True

Any suggestions?

@KundKMC @RaistlenM

@dpz3579
Copy link

dpz3579 commented Nov 30, 2017

someone please deduce this & help me.
Hope this will solve the issue for Old version.

Whatsapp token generation

@Mega4alik
Copy link

@dpz3579 Thanks for help,
I have a question
How to get the latest timestamp?

Thanks in advance

@dpz3579
Copy link

dpz3579 commented Dec 1, 2017

Hi @Mega4alik,

Sorry man,
I'm even trying to figure out the same.
will update you as soon as I come across a solution.

@hgc2002
Copy link

hgc2002 commented Dec 2, 2017

solved. see #2350

@niaomingjian
Copy link

niaomingjian commented Dec 3, 2017

@lesimoes
Hi, have you solved this issue? I met the same error, and changing VERSION doesn't work for me.

@tgalal
Copy link
Owner

tgalal commented Dec 30, 2017

update yowsup, register using android env, login using s40 env

@tgalal tgalal closed this as completed Dec 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.