-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
axolotl: NoSessionException #593
Comments
did you at some point delete your axolotl.db and requested new keys ? |
I think no. I mean, I was playing with keys in other lines but this one is in production and I think I just created keys and run my app. |
the number you login with in production, is it the same you used outside production? |
No, never. |
Alright, can you retry login for about another 6 times and then this error will go away because whatsapp will stop sending the message to you. And then send a message to this number from yowsup, this should then create the missing session, and hopefully fixes the problem. |
If I start yowsup-cli, it fixes my problem. So I suppose it is because my application layer.py. So I think it isn't a yowsup error. |
After send a message with to encrypted destination, I receive sometimes the following sequence: 1.- send message to encrypted destination
So my message is never received and I marked as sent. What should I do? |
I did some changes- try, except in some sections of yowsup(axolotl layer and protocol_message entity) and the issue was completely fixed. |
This information could be valuable: Party Keys are queried but returned key list is empty: DEBUG:yowsup.layers.logger.layer:tx:
<iq to="s.whatsapp.net" xmlns="encrypt" type="get">
<key>
<user jid="(partyb)@s.whatsapp.net"></user>
</key>
</iq>
DEBUG:yowsup.layers.logger.layer:rx:
<iq type="result" from="s.whatsapp.net">
<list></list>
</iq> As the key list is empty, we don't get any key and any incoming message from party
Then party DEBUG:yowsup.layers.logger.layer:tx:
<iq to="s.whatsapp.net" xmlns="encrypt" type="get">
<key>
<user jid="(partyb)@s.whatsapp.net"></user>
</key>
</iq>
DEBUG:yowsup.layers.logger.layer:rx:
<iq type="result" from="s.whatsapp.net">
<list>
<user jid="(partyb)@s.whatsapp.net">
<registration>����</registration>
<type></type>
<identity>�������z�n$�bw����o�JMb�O(�k��y</identity>
<skey>
<id></id>
<value>��F5q��vQ�b2�JE��d5;����1���6��Y</value>
<signature>���ܹ�0=0>6�i�M���1u����e�)38���Lt1�;Y������ɲ��L���JDZ\��</signature>
</skey>
<key>
<id>�{�</id>
<value>�)���蠪�%�����<y�S��G���E���u</value>
</key>
</user>
</list>
</iq> Maybe some WhatsApp versions (i.e.: |
Please try code from develop branch |
After some hours of running with axolotl enabled, after keys transfer, I've recieved the following exception:
I've restarted some times and I've working again my app but I don't really know what happened.
The text was updated successfully, but these errors were encountered: