XSF Discussion - 2024-05-27

  1. s


  2. jonas’


  3. madison


  4. madison


  5. madison

    very good

  6. madison


  7. jonas’

    madison, how can we help you?

  8. madison

    oh my god !

  9. madison

    that's great

  10. why?

    smack+java XMPPTCPConnectionConfiguration config = XMPPTCPConnectionConfiguration.builder() .setHost("") .setPort(5222) .setUsernameAndPassword("test3", "123456") .setXmppDomain("domain-name") .setSecurityMode(ConnectionConfiguration.SecurityMode.required) .build(); AbstractXMPPConnection connection = new XMPPTCPConnection(config); try { connection.connect(); connection.login(); System.out.println("Connected to XMPP server"); } catch (Exception e) { e.printStackTrace(); } error is as follows "javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" How to solve this?

  11. lbocquet

    why?: You can join the open_chat mucroom: xmpp:open_chat@conference.igniterealtime.org?join, I think you will have an answer on it.

  12. why?

    of course,But how to join?

  13. why?

    I'm new to xmpp

  14. lbocquet

    How have you joined this muc room? Here, it is xsf@muc.xmpp.org, you can do same with open_chat@conference.igniterealtime.org

  15. why?

    I'll try it

  16. why?

    Is open_chat a window client program?

  17. Guus

    why?: the problem is that you are connecting to an XMPP domain called `domain-name`. By default, Smack will attempt to validate the TLS certificate of the server. The server on that domain does not offer a TLS certificate to Smack that it accepts.

  18. Guus

    You will either need to tell Smack to accept that certificate, or disable security.

  19. Guus

    for example, by changing the configuration like so: ``` .addEnabledSaslMechanism("PLAIN") .setSecurityMode(ConnectionConfiguration.SecurityMode.disabled) ```

  20. lbocquet

    why?: Guus has replied you, he is from Ignite Realtime team. To join the muc room directly from the Ignite Realtime website, there is this link: https://igniterealtime.org/support/group_chat.jsp

  21. why?

    Thanks ,I went in

  22. jonas’

    I hadn't noticed this was xsf@, sorry for not directing why? at the right place immediately.

  23. larma

    > https://workspaceupdates.googleblog.com/2024/05/google-meet-adaptive-audio.html Indeed interesting, but I don't think it's something inherently "new" from tech perspective, it's just computationally heavy on the server, that's why most services won't try to do that.

  24. larma

    But I guess Google also only decided to do this because they actually can pay from the service fees: > Available for Google Workspace customers with the Gemini Enterprise, Gemini Business, Gemini Education, Gemini Education Premium, and the AI Meetings and Messaging add-on.

  25. larma

    Gemini Business starts at ~20$/user/month

  26. manday

    It sounds to me like a mere application of cross correlation with some ad-hoc heuristics on top. I don't see how it would be particularly innovative, unique or computationally heavy

  27. avidseeker

    Question: is it possible to make an XMPP bot "send-only". i.e: prevent it from reading group messages? This is e.g supported by Telegram. It makes bots have less privilege than a regular participant.

  28. moparisthebest

    Sure, most sendxmpp implementations are send-only

  29. singpolyma

    avidseeker: technically but I'm not aware of any server implementing that over xmpp

  30. avidseeker

    moparis, but you have to make the bot join the group chat in the first place

  31. avidseeker

    a bot is an account, you invite it to a MUC, it joins, then use its credentials for sendxmpp

  32. avidseeker

    singpolyma, in case this is not implemented, is there a place to propose new XEP?

  33. moparisthebest

    Oh, you mean set up credentials such that it can't receive messages? I'm also not aware of an implementation of that

  34. singpolyma

    Hmm, technically my much adhoc bots module can do this. Not what it's for but doable