jdev - 2021-09-30


  1. lovetox

    i have a user, which host its muc service and httpupload service on the same hostname

  2. lovetox

    is this something usual which a client needs to deal with, or is this something a server opterator should rather not do

  3. Zash

    I don't think that should be a problem

  4. edhelas

    ah this :D I had to fix my database schema for those cases

  5. edhelas

    why XMPP admins always want to do funky things :p

  6. Zash

    Because they don't want to deal with a pile of subdomains, I gather.

  7. edhelas

    subdomains are expensives things nowadays

  8. Zash

    They'd put the MUC on the base host if they could (and some do this)

  9. pep.

    (yes!)

  10. pep.

    Also, it's prettier :)

  11. edhelas

    *doubts*

  12. pep.

    Totally not subjective

  13. pep.

    like it's totally not subjective to ask for multiple domains anyway :P

  14. Zash

    Namespacing and separation of concern is of course bad things that we should avoid.

  15. Zash

    /s

  16. edhelas

    I remember that we talked about some MAM sync strategy, is there some documents somewhere that explains some good practices ?

  17. edhelas

    better than "grab all the things since the begining of times"

  18. edhelas

    found that one

  19. edhelas

    https://github.com/modernxmpp/modernxmpp/pull/41/files

  20. Zash

    https://github.com/modernxmpp/modernxmpp/pull/41 discussion: https://mail.jabber.org/pipermail/standards/2021-August/038483.html

  21. edhelas

    ok I see

  22. edhelas

    hopefully I don't have the JS clients limit

  23. edhelas

    finally, some good things of having a server side based XMPP client !

  24. flow

    lovetox> i have a user, which host its muc service and httpupload service on the same hostname should be perfectly fine, in fact, you should be able to run most services under the main XMPP name, which makes many things a lot easier, e.g. less dns entries, less stuff to put in the certificate (and to authenticate)

  25. Zash

    flow, can I interest you in authoring a XEP saying that?

  26. Zash

    currently some clients don't work unless you put HTTP Upload on a subdomain

  27. Zash

    while some others don't work if you put XEP-0215 on a subdomain

  28. Zash

    MUC has the thing where it occupies nodeparts@ and you'd have take care not to cause conflicts with users

  29. flow

    but that's something the service implementation has to take care of

  30. Zash

    yes

  31. Zash

    IIRC some clients had to fix problems when you did put users and MUCs at the same hostname

  32. flow

    that said, I believe MUC occupying the same "namesapce" as user JIDs is a valid reason to have an extra subdomain

  33. flow

    but http upload would be better without one

  34. Zash

    flow, yes, but the examples show a subdomain, so that's what at least one client did, and thus you have to deploy it like that or it doesn't work

  35. flow

    Zash, did you open issues for clients which need http upload on an extra XMPP address?

  36. Zash

    and they didn't want to change because look at the XEP!

  37. flow

    I think I could be presuaded in writing a patch for the http upload XEP to not use an extra XMPP address if it has consensus

  38. flow

    I think I could be persuaded in writing a patch for the http upload XEP to not use an extra XMPP address if it has consensus

  39. Zash

    I'm only really aware of Siskin, and that issue was closed

  40. flow

    closed as WONTFIX?

  41. Zash

    https://github.com/tigase/siskin-im/issues/37

  42. flow

    https://github.com/tigase/siskin-im/issues/37#issuecomment-625876730 is probably a hint that some tribal knowledge of XMPP got lost

  43. flow

    IIRC there is a way to iterate all "services" of a user's server to discover the feature

  44. flow

    e.g. that PSI does to find components

  45. flow

    that way, it should be trivial to discover that http upload is provied by the user's server address directly

  46. MattJ

    FWIW my preferred fix is for someone to write an informational "how to discover services" XEP

  47. flow

    yes, but I wonder why this is not part of xep30 already

  48. flow

    not saying that it must go int xep30, only that it feels like the right place to mention it from the beginning

  49. MattJ

    Yeah, in hindsight it should have been I think

  50. Zash

    What's this saying? https://xmpp.org/extensions/xep-0030.html#items-relationship

  51. flow

    seems to come pretty close to it

  52. Zash

    https://xmpp.org/extensions/xep-0045.html#disco-service seems to perpetuate the subdomain requirement

  53. Zash

    There's also the thing with node-less MUCs

  54. lovetox

    in case of gajim, it works if you put httpupload without subdomain

  55. lovetox

    what it seems the user did was, it put muc and httpupload on the same subdomain

  56. lovetox

    which was unexpected because i discover these with disco-items

  57. lovetox

    and for some reason i thought, every items belongs to one service

  58. lovetox

    so after i found a service in the subsequent disco info for the item

  59. lovetox

    i stopped looking for furhter

  60. lovetox

    i stopped looking for further

  61. Zash

    https://xmpp.org/extensions/xep-0030.html#info-basic > An entity MAY have multiple identities.

  62. Zash

    I thought it made sense to put all file transfer related things on the same host, ie proxy65+http upload+xep215