tigase / tigase-server

(M) Highly optimized, extremely modular and very flexible XMPP/Jabber server
https://tigase.net
GNU Affero General Public License v3.0
322 stars 107 forks source link

Omemo encryption not working #125

Open mayankinnovative opened 2 years ago

mayankinnovative commented 2 years ago

I'm having trouble. That omemo encryption is not working fully like when we send message from mobile to web or message is not received from mobile to web.

image

woj-tek commented 2 years ago

Hi, first of all, the errors are from ConversJS client (and I'm not sure they related to OMEMO -- the middle one refers to method "getDomainFromJid").

when we send message from mobile to web or message is not received from mobile to web.

Is the message delivered to the recipient or there is no delivery altogether? If the message is not delivered then I would recommend adding server and xmpp.impl packages to debuging configuration (as per Debuging Tigase):

debug = [ 'server' , 'xmpp.impl' ]

And track the missing message in the logs identifying the point where it gets lost.