Giter Club home page Giter Club logo

Comments (4)

arcusfelis avatar arcusfelis commented on May 27, 2024

Hi,
Check if your library tries to send messages again on the failure.
Check mongooseim logs - maybe something interesting would be there.
We store one copy for outgoing message and one copy for incoming message. Each time we see a stanza routed.

Do you use groupchats?

from mongooseim.

DoxasticFox avatar DoxasticFox commented on May 27, 2024

Thanks for the quick response!

Check if your library tries to send messages again on the failure.

I can't say for sure, but I don't see anything about retries in the documentation. I also grepped xmpp.js source code for retr and saw nothing about retries/retransmitted messages. But I see stream management messages coming from the library when I inspect the websocket connection in my browser, so if xmpp.js was following XEP-0198 properly, it should ack re-transmitted messages and re-transmit them if necessary. I wonder if it could be an issue with their stream management implementation.

Then again, I recall this issue happening in a dockerised setup running locally, so I don't know how messages could be getting lost on the network.

Check mongooseim logs - maybe something interesting would be there.

When this happened locally, I could never spot anything suspicious in MongooseIM's logs, unfortunately.

Do you use groupchats?

Nope. Just PMs.

from mongooseim.

arcusfelis avatar arcusfelis commented on May 27, 2024

from mongooseim.

DoxasticFox avatar DoxasticFox commented on May 27, 2024

It's different. I also disabled stream management on the server and the problem seems to be gone. Gonna close this issue. Thanks for the help!

from mongooseim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.