Yowsup: ERROR:yowsup.layers.interface.interface:Stream Error type: ack

Created on 8 Sep 2018  路  6Comments  路  Source: tgalal/yowsup

This program close 5 min after give this error

ERROR:yowsup.layers.interface.interface:Stream Error type: ack

Most helpful comment

I fix this error with is

change layers/protocol_iq/protocolentities/iq_crypto.py" line 11 from
googleNode = ProtocolTreeNode("google", data = "fe5cf90c511fb899781bbed754577098e460d048312c8b36c11c91ca4b49ca34".decode('hex'))

to

googleNode = ProtocolTreeNode("google", data = "fe5cf90c511fb899781bbed754577098e460d048312c8b36c11c91ca4b49ca34")

fixes the issue

All 6 comments

Same error

``Stream Error type: ack
{'ack': None}

I fix this error with is

change layers/protocol_iq/protocolentities/iq_crypto.py" line 11 from
googleNode = ProtocolTreeNode("google", data = "fe5cf90c511fb899781bbed754577098e460d048312c8b36c11c91ca4b49ca34".decode('hex'))

to

googleNode = ProtocolTreeNode("google", data = "fe5cf90c511fb899781bbed754577098e460d048312c8b36c11c91ca4b49ca34")

fixes the issue

AND

        except (InvalidMessageException, InvalidKeyIdException) as e:
            logger.warning("InvalidMessage or InvalidKeyIdException for %s, going to send a retry", encMessageProtocolEntity.getAuthor(False))
            logger.warning("hace nada")
        #    from yowsup.layers.axolotl.protocolentities.iq_key_get import GetKeysIqProtocolEntity
        #    logger.info("Trying GetKeys for %s, getting keys now", encMessageProtocolEntity.getAuthor(False))
        #    entity = GetKeysIqProtocolEntity([encMessageProtocolEntity.getAuthor(False)])

        #    retry = RetryOutgoingReceiptProtocolEntity.fromMessageNode(node, self.store.getLocalRegistrationId())
        #    self.toLower(retry.toProtocolTreeNode())

AND

        except (InvalidMessageException, InvalidKeyIdException) as e:
            logger.warning("InvalidMessage or InvalidKeyIdException for %s, going to send a retry", encMessageProtocolEntity.getAuthor(False))
            logger.warning("hace nada")
        #    from yowsup.layers.axolotl.protocolentities.iq_key_get import GetKeysIqProtocolEntity
        #    logger.info("Trying GetKeys for %s, getting keys now", encMessageProtocolEntity.getAuthor(False))
        #    entity = GetKeysIqProtocolEntity([encMessageProtocolEntity.getAuthor(False)])

        #    retry = RetryOutgoingReceiptProtocolEntity.fromMessageNode(node, self.store.getLocalRegistrationId())
        #    self.toLower(retry.toProtocolTreeNode())

i need to add it to the final of the file?

@prototyqe I fixed it with adding axolotl layer

@prototyqe I fixed it with adding axolotl layer

Could you explain better?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

qvs5010 picture qvs5010  路  4Comments

alexvong1995 picture alexvong1995  路  4Comments

abhiroock picture abhiroock  路  5Comments

gabrieldesousah picture gabrieldesousah  路  4Comments

ikuraj picture ikuraj  路  5Comments