Skip to content
This repository has been archived by the owner on May 9, 2019. It is now read-only.

Cannot use cli in android environment #12

Open
emmekappa opened this issue Oct 18, 2017 · 12 comments
Open

Cannot use cli in android environment #12

emmekappa opened this issue Oct 18, 2017 · 12 comments
Labels

Comments

@emmekappa
Copy link

When running the cli with
python3 ./yowsup-cli demos -y -l XXXX:XXX -E android --debug

I get this

DEBUG:yowsup.layers.logger.layer:rx:
<challenge>
¨v��îJâÊT°à:KÂÔþV�
HEX3:b'a8769a91ee4ae2ca54b0e03a4bc2d4fe60085699'
</challenge>

DEBUG:yowsup.layers.logger.layer:tx:
<response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
}���	fSèéÂÞäu¸á�,À!�8ì?Ìu�{,sÈ iã}z(2��1l�Ö
Ö¨Ç^{ì�@Ü1��vÉc
^g9¢�µ�»
HEX3:b'7d8a9589096653e8e9c2deb708e475b8e17f2cc01821973817ec3fcc759737087b2c73c8206919e37d7a28328696316c8406d60a10d6a8c75e7bec9740dc31821d8a76c9630a5e6739a281b58fbb'
</response>

DEBUG:yowsup.layers.network.layer:Disconnected, reason: Connection Closed

I did my registration using -E android and I'm worried to use the cli with S40 because yesterday I got another number banned.

@ghost
Copy link

ghost commented Oct 19, 2017

I'm getting the same error. I tried with S40 and it did work. Command line send works as expected without setting the -E android switch.

@CoderJ
Copy link

CoderJ commented Oct 20, 2017

same error

@PedroFcul
Copy link

Use the android env for registering, use the s40 env for everything else

@afonsolage
Copy link

Same here

@thatskriptkid
Copy link

Hi! Could you provide please S40 setting for successful log in? Mine is not working *(
_VERSION = "2.16.12"
_OS_NAME= "S40"
_OS_VERSION = "14.26"
_DEVICE_NAME = "302"
_MANUFACTURER = "Nokia"
_TOKEN_STRING = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1478194306452{phone}"
_AXOLOTL = True

@ghost
Copy link

ghost commented Nov 6, 2017

pretty sure you need to use this https://coderus.openrepos.net/whitesoft/whatsapp_scratch for the _VERSION and _TOKEN_STRING

@thatskriptkid
Copy link

thatskriptkid commented Nov 6, 2017

@dvschramm Could you tell please, what is a right order of these variables or I should try all of them or just provide your S40 settings, because you can successfully log in? My problem that I can't log in using cli.

@ghost
Copy link

ghost commented Nov 6, 2017

if I remember correctly, "b" is _TOKEN_STRING and "d" is _VERSION

@thatskriptkid
Copy link

@dvschramm Connection closed when I try to log in. Set vars as you said.

_VERSION = "2.17.393"
_OS_NAME= "S40"
_OS_VERSION = "14.26"
_DEVICE_NAME = "302"
_MANUFACTURER = "Nokia"
_TOKEN_STRING = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1478194306452{phone}"

@Aragur
Copy link
Owner

Aragur commented Nov 6, 2017

Just use the default provided in this repo. They should work fine

@thatskriptkid
Copy link

@AragurDEV Thanks! But it works only if I use it in script not in cli.

@qvs5010
Copy link

qvs5010 commented Jan 25, 2018

tgalal#2413

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

7 participants