-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Milestone
Description
Describe the bug
Once SMS received to the real phone (not virtual one) trying to register with phone but response status always "fail".
Debug output
SMS requesting:
(wassup) [alp@mobby app]$ yowsup-cli registration --requestcode sms --config-phone 79778326359 --config-cc 7
E 2019-06-26 17:09:26,002 yowsup.config.manager - Could not find a config for username=79778326359, paths checked: /home/alp/.config/yowsup/79778326359/config.yo:/home/alp/.config/yowsup/79778326359/config.json
yowsup-cli v3.2.0
yowsup v3.2.3
Copyright (c) 2012-2019 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
I 2019-06-26 17:09:26,601 yowsup.common.http.warequest - b'{"login":"79778326359","status":"sent","length":6,"method":"sms","retry_after":65,"sms_wait":65,"voice_wait":65}\n'
status: b'sent'
length: 6
method: b'sms'
retry_after: 65
login: b'79778326359'
sms_wait: 65
voice_wait: 65
Registration
Line started with ">>" added by me straight to yowsup code to check result value.
(wassup) [alp@mobby app]$ yowsup-cli registration --register 252894 --config-phone 79778326359 --config-cc 7
yowsup-cli v3.2.0
yowsup v3.2.3
Copyright (c) 2012-2019 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
I 2019-06-26 17:10:03,442 yowsup.common.http.warequest - b'{"login":"79778326359","status":"fail","reason":"temporarily_unavailable","retry_after":3600}\n'
>> Registration result {'status': 'fail', 'login': '79778326359', 'type': None, 'edge_routing_info': None, 'chat_dns_domainreason': None, 'retry_after': 3600}
status: b'fail'
login: b'79778326359'
retry_after: 3600
Config file
{
"__version__": 1,
"cc": "7",
"client_static_keypair": "MASKED BUT I HAVE IT IN CONFIG",
"expid": "MASKED",
"fdid": "MASKED",
"id": "MASKED",
"mcc": "000",
"mnc": "000",
"phone": "79778326359",
"sim_mcc": "000",
"sim_mnc": "000"
}
Versions
consonance==0.1.2
dissononce==0.34.3
python-axolotl==0.2.2
python-axolotl-curve25519==0.4.1.post2
yowsup==3.2.3
$ yowsup-cli version
yowsup-cli v3.2.0
Using yowsup v3.2.3
To Reproduce
Just follow instructions from readme, just omitted mcc and mnc - it is fallen back to 000.
Expected behavior
Response with "ok" status.
OS (please complete the following information):
Linux Arch x64
Metadata
Metadata
Assignees
Labels
No labels