yowsup icon indicating copy to clipboard operation
yowsup copied to clipboard

"Sent keys were not accepted" issue

Open OVERSKY2003 opened this issue 2 years ago • 4 comments

The error is as below, How to fix it?

2022-11-02 19:49:55,244 yowsup.layers.network.dispatcher.dispatcher_asyncore - Traceback (most recent call last): File "/yowsup-3.3.0-py3.8.egg/yowsup/layers/network/dispatcher/asyncore_new.py", line 88, in read obj.handle_read_event() File "/yowsup-3.3.0-py3.8.egg/yowsup/layers/network/dispatcher/asyncore_new.py", line 447, in handle_read_event self.handle_read() File "/yowsup-3.3.0-py3.8.egg/yowsup/layers/network/dispatcher/dispatcher_asyncore.py", line 67, in handle_read self.connectionCallbacks.onRecvData(data) File "/yowsup-3.3.0-py3.8.egg/yowsup/layers/network/layer.py", line 107, in onRecvData self.receive(data) File "/yowsup-3.3.0-py3.8.egg/yowsup/layers/network/layer.py", line 110, in receive self.toUpper(data) File "/yowsup-3.3.0-py3.8.egg/yowsup/layers/init.py", line 79, in toUpper self.__upper.receive(data) File "/yowsup-3.3.0-py3.8.egg/yowsup/layers/noise/layer_noise_segments.py", line 39, in receive self.toUpper(bytes(data)) File "/yowsup-3.3.0-py3.8.egg/yowsup/layers/init.py", line 79, in toUpper self.__upper.receive(data) File "/yowsup-3.3.0-py3.8.egg/yowsup/layers/noise/layer.py", line 209, in receive self._flush_incoming_buffer() File "/yowsup-3.3.0-py3.8.egg/yowsup/layers/noise/layer.py", line 197, in _flush_incoming_buffer self.toUpper(self._wa_noiseprotocol.receive()) File "/yowsup-3.3.0-py3.8.egg/yowsup/layers/init.py", line 79, in toUpper self.__upper.receive(data) File "/yowsup-3.3.0-py3.8.egg/yowsup/layers/coder/layer.py", line 21, in receive self.toUpper(node) File "/yowsup-3.3.0-py3.8.egg/yowsup/layers/init.py", line 79, in toUpper self.__upper.receive(data) File "/yowsup-3.3.0-py3.8.egg/yowsup/layers/logger/layer.py", line 14, in receive self.toUpper(data) File "/yowsup-3.3.0-py3.8.egg/yowsup/layers/init.py", line 79, in toUpper self.__upper.receive(data) File "/yowsup-3.3.0-py3.8.egg/yowsup/layers/axolotl/layer_control.py", line 29, in receive if not self.processIqRegistry(protocolTreeNode): File "/yowsup-3.3.0-py3.8.egg/yowsup/layers/init.py", line 163, in processIqRegistry errorClbk(protocolTreeNode, originalIq) File "/yowsup-3.3.0-py3.8.egg/yowsup/layers/axolotl/layer_control.py", line 121, in onSentKeysError raise Exception("Sent keys were not accepted") Exception: Sent keys were not accepted

OVERSKY2003 avatar Nov 03 '22 06:11 OVERSKY2003

try to rerun about 8 times then exception disappear

is99zsq avatar Nov 11 '22 08:11 is99zsq

From what I could see, it was connecting to other servers, I had it running connected to chat.cdn.whatsapp.net, or g.whatsapp.net, but now I can't find anything, any help?

Rodrigosolari avatar Dec 18 '22 07:12 Rodrigosolari

hello @brewkon , have you ever been able to find a solution to this?

glitchhunt3r avatar Jul 31 '23 13:07 glitchhunt3r