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

old_version #1164

Closed
terminet85 opened this issue Dec 4, 2015 · 32 comments
Closed

old_version #1164

terminet85 opened this issue Dec 4, 2015 · 32 comments

Comments

@terminet85
Copy link

I suppose we need to update in yowsup the version string, it stops work today.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@yniv
Copy link

yniv commented Dec 4, 2015

Yeah, I'm getting not authorized since a couple of hours...

@nurdan
Copy link

nurdan commented Dec 4, 2015

Yes , Jam 7 Pagi WIB tadi sudah tidak bisa, You are right..

@yniv
Copy link

yniv commented Dec 4, 2015

Any solution for this?

@eirmd
Copy link

eirmd commented Dec 4, 2015

Edit yowsup/env/env_s40.py

Change from:

class S40YowsupEnv(YowsupEnv):
_VERSION = "2.12.96"
_OS_NAME= "S40"
_OS_VERSION = "14.26"
_DEVICE_NAME = "Nokia302"
_TOKEN_STRING = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1439921717185{phone}"
_AXOLOTL = True

to

class S40YowsupEnv(YowsupEnv):
_VERSION = "2.13.5"
_OS_NAME= "S40"
_OS_VERSION = "14.26"
_DEVICE_NAME = "Nokia302"
_TOKEN_STRING = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1442277896714{phone}"
_AXOLOTL = True

@nurdan
Copy link

nurdan commented Dec 4, 2015

Thank You darksampar , it's Work.. (y)

@nurdan
Copy link

nurdan commented Dec 4, 2015

Alhamdulillah let us go to pray first..

@goldalworming
Copy link

will token string change constantly in certain period?

@mgp25
Copy link
Contributor

mgp25 commented Dec 4, 2015

Use this:

Android:

  • 09sjXC+mX2wWtCCpi3+i7Q==
  • 2.12.374

S40:

  • 1447796090073
  • 2.13.21

@eirmd
Copy link

eirmd commented Dec 4, 2015

@chriso0710
Copy link

Yes, I am getting a "Authentication Failure" since 4 hours.
Can you elaborate on the above solution for this issue? What exactly is the problem?

Thanks
Christian

@slpond
Copy link

slpond commented Dec 4, 2015

My problem persist.....
INFO:yowsup.common.http.warequest:{"status":"fail","reason":"old_version"}

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

status: fail
reason: old_version

@terminet85
Copy link
Author

ty darksampar

@slpond
Copy link

slpond commented Dec 4, 2015

hi i changed the version in 2 files: env_s40.py and env_android.py and got success !

@h1rule
Copy link

h1rule commented Dec 4, 2015

Thanks :)

It would be nice if yowsup's env'.py files would AUTOMATICALLY fetch the "newest" informations from https://coderus.openrepos.net/whitesoft/whatsapp_scratch

Is that possible?

@mgp25
Copy link
Contributor

mgp25 commented Dec 4, 2015

Its possible but not recommended. version and token must be static to avoid update issues

Josue-T added a commit to Josue-T/transwhat_ynh that referenced this issue Dec 4, 2015
@fgendorf
Copy link

fgendorf commented Dec 4, 2015

But is possible create a a "trigger" to verify that information version/token was changed?

@h1rule
Copy link

h1rule commented Dec 4, 2015

@fgendorf yes it is! you have to "monitor" the website https://coderus.openrepos.net/whitesoft/whatsapp_scratch and if something changes, you'll get information..

I build some Twitter Bot. This posts whenever the LINK above has changed :)
It also announces new iOS Beta Versions:

https://twitter.com/whatsappbetabot

@mgp25 @tgalal how to know what to use in

_VERSION = "????"
_OS_NAME= "????"
_OS_VERSION = "????"
_DEVICE_NAME = "????"
_TOKEN_STRING = "????"

by this file https://coderus.openrepos.net/whitesoft/whatsapp_scratch ?

I would like to convert that file to a readable yowsup file. but theres more informations in https://coderus.openrepos.net/whitesoft/whatsapp_scratch then in env.py

@BrunoVillanova
Copy link

I dont know what combination token number to use. Anyone?

@mgp25
Copy link
Contributor

mgp25 commented Dec 4, 2015

sigh...

_VERSION = -->  e value
_OS_NAME= "S40"
_OS_VERSION = "14.26"
_DEVICE_NAME = "Nokia302"
_TOKEN_STRING = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk<TIMESTAMP>{phone}"
_AXOLOTL = True

where <TIMESTAMP> is h value. The rest of values are static (device related)...

@BrunoVillanova
Copy link

thanks!

@ctoveloz
Copy link

ctoveloz commented Dec 4, 2015

I tried everything and could not, always the same error "old_version"
All informations from: https://coderus.openrepos.net/whitesoft/whatsapp_scratch

env_s40.py
_VERSION = "2.13.21"
_OS_NAME= "S40"
_OS_VERSION = "14.26"
_DEVICE_NAME = "Nokia302"
_TOKEN_STRING = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1447796090073{phone}"
_AXOLOTL = True

env_android.py
_VERSION = "2.12.374"
_OS_NAME= "Android"
_OS_VERSION = "4.3"
_DEVICE_NAME = "GalaxyS3"
_AXOLOTL = True

@gmathur
Copy link

gmathur commented Dec 4, 2015

Works for me though. I tried the fix by @darksampar

class S40YowsupEnv(YowsupEnv):
_VERSION = "2.13.5"
_OS_NAME= "S40"
_OS_VERSION = "14.26"
_DEVICE_NAME = "Nokia302"
_TOKEN_STRING = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1442277896714{phone}"
_AXOLOTL = True

@gmathur
Copy link

gmathur commented Dec 4, 2015

Im running into an issue registering a new number -- I can get the SMS code just fine, but then run into a problem

yowsup-cli registration --register XXXXXX --phone 1XXXXXXXXXX --cc 1
INFO:yowsup.common.http.warequest:{"status":"fail","reason":"missing"}
status: fail
reason: missing

@moyamo
Copy link
Contributor

moyamo commented Dec 5, 2015

@gmathur the form of the registration number is XXX-XXX (don't leave the hyphen out)

@moyamo
Copy link
Contributor

moyamo commented Dec 5, 2015

@tgalal Could you please release a fix on pypi?

@nikestar98
Copy link

This wont work for me please some help:

class S40YowsupEnv(YowsupEnv):
 _VERSION = "2.13.5"
 _OS_NAME= "S40"
 _OS_VERSION = "14.26"
 _DEVICE_NAME = "Nokia302"
 _TOKEN_STRING = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1442277896714{phone}"
 _AXOLOTL = True
class AndroidYowsupEnv(YowsupEnv):
    _SIGNATURE = "//Removed it for Posting - too long//"
    _MD5_CLASSES = "09sjXC+mX2wWtCCpi3+i7Q=="
    _KEY = "/UIGKU1FVQa+ATM2A0za7G2KI9S/CwPYjgAbc67v7ep42eO/WeTLx1lb1cHwxpsEgF4+PmYpLd2YpGUdX/A2JQitsHzDwgcdBpUf7psX1BU="

    _VERSION = "2.12.374"
    _OS_NAME= "Android"
    _OS_VERSION = "4.3"
    _DEVICE_NAME = "GalaxyS3"
    _AXOLOTL = True

Everytime I am trying to Login:

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

@mgp25
Copy link
Contributor

mgp25 commented Dec 6, 2015

Check if your number is blocked. If it id blocked then you know why its happening that. On the other hand, newer versions wont work properly with the API yet.

Regards

@nikestar98
Copy link

@mgp25 how can I check if my Number is blocked?

@eskorbutin
Copy link

Could someone please post an exact copy of their relevant details in env_s40.py and env_android.py?

There are several options mentioned in the post for different values, so I'd like to try whatever is known to have already worked for someone.

My account is not blocked, it works fine from a phone when activated there.

Thanks a lot!

@borisski
Copy link

borisski commented Dec 7, 2015

worked fine for me, be careful whith copy paste, space char. matters. Thanks !!!

@zykat
Copy link

zykat commented Dec 9, 2015

@gmathur do you manage to register SMS code?
At first, while trying to register my code XXX-XXX, I get status: "temprorary_unavailable" and waiting for 3600 sec, then I always get "status: fail, reason: missing".
There was _VERSION = "2.13.5" in my env_s40.py, I've changed to _VERSION = "2.13.21" but still have the same problem.

@gmathur
Copy link

gmathur commented Dec 9, 2015

Yes - I had to try once or twice but it finally registered with the XXX-XXX
(Im pretty sure last time I tried this it accepted it without the '-' but I
could definitely be mistaken here)

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

No branches or pull requests