yowsup icon indicating copy to clipboard operation
yowsup copied to clipboard

suddenly yowsup stop working. can not able to send request or get reponse. please help me

Open siddharth7815 opened this issue 13 years ago • 13 comments

siddharth7815 avatar Oct 28 '13 06:10 siddharth7815

i am also facing same problem from last 1 day...let me know if you can solve this issue

shruti2018 avatar Oct 28 '13 09:10 shruti2018

erp@erp-desktop:~/Downloads/yowsup-master/src$ python ./yowsup-cli -c config.example -d -r sms {'Accept': 'text/json', 'User-Agent': 'WhatsApp/2.11.1 S40Version/14.26 Device/Nokia302'} cc=91&in=9033308076&lc=US&lg=en&mcc=000&mnc=000&method=sms&id=f1b708bba17f1ce948dc979f4d7092bc&token=6ee7d82a64bb51c6f8742f30a245c7ef Opening connection to v.whatsapp.net Sending GET request to /v2/code?cc=91&in=9033308076&lc=US&lg=en&mcc=000&mnc=000&method=sms&id=f1b708bba17f1ce948dc979f4d7092bc&token=6ee7d82a64bb51c6f8742f30a245c7ef Traceback (most recent call last): File "./yowsup-cli", line 275, in result = wc.send() File "/home/erp/Downloads/yowsup-master/src/Yowsup/Registration/v2/coderequest.py", line 60, in send res = super(WACodeRequest, self).send(parser) File "/home/erp/Downloads/yowsup-master/src/Yowsup/Common/Http/warequest.py", line 100, in send return self.sendGetRequest(parser) File "/home/erp/Downloads/yowsup-master/src/Yowsup/Common/Http/warequest.py", line 137, in sendGetRequest self.response = WARequest.sendRequest(host, port, path, headers, params, "GET") File "/home/erp/Downloads/yowsup-master/src/Yowsup/Common/Http/warequest.py", line 194, in sendRequest conn.request(reqType, path, params, headers); File "/usr/lib/python2.7/httplib.py", line 958, in request self._send_request(method, url, body, headers) File "/usr/lib/python2.7/httplib.py", line 992, in _send_request self.endheaders(body) File "/usr/lib/python2.7/httplib.py", line 954, in endheaders self._send_output(message_body) File "/usr/lib/python2.7/httplib.py", line 814, in _send_output self.send(msg) File "/usr/lib/python2.7/httplib.py", line 776, in send self.connect() File "/usr/lib/python2.7/httplib.py", line 1161, in connect self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file) File "/usr/lib/python2.7/ssl.py", line 381, in wrap_socket ciphers=ciphers) File "/usr/lib/python2.7/ssl.py", line 143, in init self.do_handshake() File "/usr/lib/python2.7/ssl.py", line 305, in do_handshake self._sslobj.do_handshake()

shruti2018 avatar Oct 28 '13 09:10 shruti2018

log isnt complete

CODeRUS avatar Oct 28 '13 09:10 CODeRUS

what is problem in yowsup?

shruti2018 avatar Oct 28 '13 11:10 shruti2018

no problems in yowsup. yowsup working flawlessly.

CODeRUS avatar Oct 28 '13 11:10 CODeRUS

are you sure? please check it again...

If yowsup working flawlessly then why i am getting such error or traceback?

erp@erp-desktop:~/Downloads/yowsup-master/src$ python ./yowsup-cli -c config.example -d --requestcode sms {'Accept': 'text/json', 'User-Agent': 'WhatsApp/2.11.1 S40Version/14.26 Device/Nokia302'} cc=91&in=9033308076&lc=US&lg=en&mcc=000&mnc=000&method=sms&id=f1b708bba17f1ce948dc979f4d7092bc&token=6ee7d82a64bb51c6f8742f30a245c7ef Opening connection to v.whatsapp.net Sending GET request to /v2/code?cc=91&in=9033308076&lc=US&lg=en&mcc=000&mnc=000&method=sms&id=f1b708bba17f1ce948dc979f4d7092bc&token=6ee7d82a64bb51c6f8742f30a245c7ef

Traceback (most recent call last): File "./yowsup-cli", line 275, in result = wc.send() File "/home/erp/Downloads/yowsup-master/src/Yowsup/Registration/v2/coderequest.py", line 60, in send res = super(WACodeRequest, self).send(parser) File "/home/erp/Downloads/yowsup-master/src/Yowsup/Common/Http/warequest.py", line 100, in send return self.sendGetRequest(parser) File "/home/erp/Downloads/yowsup-master/src/Yowsup/Common/Http/warequest.py", line 137, in sendGetRequest self.response = WARequest.sendRequest(host, port, path, headers, params, "GET") File "/home/erp/Downloads/yowsup-master/src/Yowsup/Common/Http/warequest.py", line 194, in sendRequest conn.request(reqType, path, params, headers); File "/usr/lib/python2.7/httplib.py", line 958, in request self._send_request(method, url, body, headers) File "/usr/lib/python2.7/httplib.py", line 992, in _send_request self.endheaders(body) File "/usr/lib/python2.7/httplib.py", line 954, in endheaders self._send_output(message_body) File "/usr/lib/python2.7/httplib.py", line 814, in _send_output self.send(msg) File "/usr/lib/python2.7/httplib.py", line 776, in send self.connect() File "/usr/lib/python2.7/httplib.py", line 1161, in connect self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file) File "/usr/lib/python2.7/ssl.py", line 381, in wrap_socket ciphers=ciphers) File "/usr/lib/python2.7/ssl.py", line 143, in init self.do_handshake() File "/usr/lib/python2.7/ssl.py", line 305, in do_handshake self._sslobj.do_handshake() socket.error: [Errno 104] Connection reset by peer

shruti2018 avatar Oct 28 '13 11:10 shruti2018

i'm sure. its problems on your side. i successfully requested code to your number using yowsup :)

CODeRUS avatar Oct 28 '13 12:10 CODeRUS

According to you what could be problem ? i just download yowsup and edit config.example file for change number and country code then use fire command python ./yowsup-cli -c config.example -d --requestcode sms to send request code. please guess what could be problem?

shruti2018 avatar Oct 28 '13 12:10 shruti2018

it can be problems with your python installation or lack of modules

CODeRUS avatar Oct 28 '13 12:10 CODeRUS

but it was running flawlessly yesterday...and today problem arise..

shruti2018 avatar Oct 28 '13 12:10 shruti2018

Im in India and trying Yowsup to generate code.

Sending GET request to /v2/code?cc=91&in=94XXXXXXXX&lc=US&lg=en&mcc=000&mnc=000&method=voice&id=d41d8cd98f00b204e9800998ecf8427e&token=7a132b4998775b08418099225af0b2a0 WACodeRequest: {"status":"sent","length":6,"method":"voice","retry_after":1805}

status: sent retry_after: 1805 length: 6 method: voice

But I never get an access code on my phone.

maverick909 avatar Nov 04 '13 11:11 maverick909

try sms or tomorrow

CODeRUS avatar Nov 04 '13 11:11 CODeRUS

you can try using voice for generate code. try this link https://coderus.openrepos.net/whitesoft/whatsapp_sms

siddharth7815 avatar Nov 05 '13 05:11 siddharth7815