yowsup
yowsup copied to clipboard
Losing ACKs when sending messages
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
Are you sending the acks manualy? Are you using the CLI?
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>