yowsup icon indicating copy to clipboard operation
yowsup copied to clipboard

Yowsup disconnecting after brief period and failing to reconnect (Authentication Failure)

Open programmer-ke opened this issue 12 years ago • 8 comments

Yowsup stopped working on my VPS on 13th Nov (failed authentication).

I pulled the latest version into my local machine today and using the same credentials could the yowsup-cli to authenticate and send/receive messages. However after pushing the changes onto my VPS, it authenticated and worked for only a brief amount of time (about 2 minutes) before disconnecting.

Authentication now fails on both the VPS and my local machine using the same set of credentials.

I don't know if it's related to: https://github.com/tgalal/yowsup/issues/332

Anyone experiencing the same issue? Any help will be appreciated.

PS: Thanks for your great work @tgalal and the rest!

programmer-ke avatar Nov 27 '14 10:11 programmer-ke

This is my experience: Disconnection in two minutes or so. Although the [connected] after the Disconnected message is confusing, no more messages are received after the log I post here.

Yowsup Cli client
==================
Type /help for available commands

/L
[offline]:Auth: Logged in!
[connected]:Disconnected, reason: Connection Closed
general: Disconnected: Connection Closed
('[connected]:',)

jroman avatar Dec 02 '14 13:12 jroman

I was previously using the legacy client.

I'm currently porting to version 2.0, will find out if the problem still exists.

programmer-ke avatar Dec 02 '14 14:12 programmer-ke

I think it could have to to with https://github.com/tgalal/yowsup/pull/415 I changed that and no more disconnections....

jroman avatar Dec 03 '14 09:12 jroman

@jroman see #429 @krmboya try request sms code again and see if it tells you account blocked, because that's very likely same case as #332

tgalal avatar Dec 04 '14 02:12 tgalal

@tgalal my account is not blocked since the yowsup-cli 2.0 works alright. I'm now working exclusively on the VPS instead of my local machine.

Currently porting our yowsup application to version 2.0. We use it as an alternative to SMS to allow users to issue commands to our web application.

programmer-ke avatar Dec 04 '14 09:12 programmer-ke

Works fine for me now with v2.0.

programmer-ke avatar Dec 12 '14 09:12 programmer-ke

I still encounter this issue.

My setup is:

(whatsapi-virtualenv)[jan@virtual demos]$ yowsup-cli version yowsup-cli v2.0.13 Using yowsup v2.4.48

This is the output:

Auth: Logged in! general: Disconnected: Connection Closed [connected]:

offline:

Any ideas?

jcmeier avatar Feb 12 '16 08:02 jcmeier

i have the same problem

anything to do with -E option while registering ? how do authenticate the login what i have obtained ?

please help

Thanks in advance

sree0410 avatar Jun 06 '16 12:06 sree0410