yowsup icon indicating copy to clipboard operation
yowsup copied to clipboard

Losing ACKs when sending messages

Open BrendoBomfim opened this issue 6 years ago • 2 comments

Hi guys, after the last update I've noticed that the ids have changed to HEX like this:

DEBUG:zap.layer:text
DEBUG:zap.layer:Received Message:
ID: D66065392ED4B9ECE25A5485D84B80F3
From: [email protected]
Type:  text
Timestamp: 1525871430
Body: b'Hello'

But when I do send the ids are numbers:

DEBUG:zap.layer:Sending Message:
ID: 1525871303-3
To: [email protected]
Type:  text
Timestamp: 1525871443
Body: b'World'

And after some time, usually after 5 minutes I get this:

DEBUG:yowsup.layers.logger.layer:rx:
<stream:error>
<ack id="1525871303-3">
</ack>
</stream:error>

ERROR:yowsup.layers.interface.interface:Stream Error type: ack
{'ack': None}

INFO:yowsup.layers.interface.interface:Initiating reconnect
DEBUG:yowsup.layers.protocol_iq.layer:stopping ping thread
DEBUG:yowsup.layers.network.layer:Disconnected, reason: Requested
DEBUG:yowsup.layers.protocol_iq.layer:YowPingThread-2 - ping thread stopped

BrendoBomfim avatar May 09 '18 19:05 BrendoBomfim

Are you sending the acks manualy? Are you using the CLI?

Aragur avatar Jun 06 '18 22:06 Aragur

I have the same problem, after logging in by the CLI I can not receive the messages, but I can send, I get the following ack

<ack type="retry" class="receipt" from="55619****[email protected]" id="71022C42562799D1C8789BB964B65992">
</ack>

pabloruan0710 avatar Jun 07 '18 14:06 pabloruan0710