Closed k1p0d closed 9 years ago
OK Post ur command line and ur config file
On Jul 14, 2014 6:23 PM, k1p0d notifications@github.com wrote: Hey i've tried to use the yowsup-cli tool to send a message but apparently the authentication had failed. i've done exactly whats written in the documentation - registered, got the code via sms. update the config file with the exact IMEI, phone number, password base64 and country code. using the debugging mode switch i've got this output - am i doing something wrong or did whatsup updated something in the challenge process which broke this code ?
debug output -
YowsupConnectionManager: >>>>>>>> AUTH CALLED BinTreeNodeReader: Reader init YowsupAuth: Connecting to c2.whatsapp.net WAuth: Yowsup WAUTH-1 INIT WAuth: Starting stream WAuth: Sending Features BinTreeNodeWriter: Outgoing BinTreeNodeWriter: stream:features
seems you didn't get real password and used sms code as password
i dont think posting my config file is a good idea.. and as i said i used the base64 returned after i finished the second part of the challenge as password.. as written in the documentation.
does this code works for you guys ? cause if so i'll just redo the whole process. and see where i got it wrong.
password = "" #obtained during registration
password = base64.b64decode(bytes(password.encode('utf-8')))
Maybe your account is blocked
Hey guys I've figured the problem; its really a misleading part of the wiki documentation which states the following -
phone=00123456789 #replace with your phone number with two extra leading 00 (zeros). Your number is supposed to be 123456789 really
when the actual config example says
phone: Your full phone number including country code, without '+' or '00'
anyhow i made the correction :)
Thanks!
Hey i've tried to use the yowsup-cli tool to send a message but apparently the authentication had failed. i've done exactly whats written in the documentation - registered, got the code via sms. update the config file with the exact IMEI, phone number, password base64 and country code. using the debugging mode switch i've got this output - am i doing something wrong or did whatsup updated something in the challenge process which broke this code ?
Thanks :)
debug output -
YowsupConnectionManager: >>>>>>>> AUTH CALLED BinTreeNodeReader: Reader init YowsupAuth: Connecting to c2.whatsapp.net WAuth: Yowsup WAUTH-1 INIT WAuth: Starting stream WAuth: Sending Features BinTreeNodeWriter: Outgoing BinTreeNodeWriter:
stream:features