Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
prototyqe opened this issue Sep 8, 2018 · 6 comments
Closed

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

prototyqe opened this issue Sep 8, 2018 · 6 comments

Comments

@prototyqe
Copy link

This program close 5 min after give this error

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

@alejandroguille
Copy link

Same error

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

@alejandroguille
Copy link

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

@alejandroguille
Copy link

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())

@gabrieru
Copy link

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?

@leemilun
Copy link

leemilun commented Oct 8, 2018

@prototyqe I fixed it with adding axolotl layer

@alejandroguille
Copy link

@prototyqe I fixed it with adding axolotl layer

Could you explain better?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants