XMPP Service Operators - 2020-05-20


  1. tom

    I"m having some serious issues with Prosody 0.11.4 Linux offical debian builds

  2. tom

    sometimes group chat messages come with two Ids

  3. tom

    <message id="a126daz" to="psi-dev@conference.jabber.ru/rion☫" type="groupchat" xml:lang="en" id="85317069-b663dfgdsfg81ca2c0"> <body>test test test</body> <stanza-id xmlns="urn:xmpp:sid:0" by="psi-dev@conference.jabber.ru" id="Rv_BSCddVthPa9zo"/> </message>

  4. tom

    it's causing me some silently dropped messages and client crashes

  5. tom

    has anyone else on a prosody server been experiecing dropped messages, and if so can you look in your xml console if there are two ids?

  6. tom

    if so that would help reproduce this issue

  7. Ge0rG

    tom: that sounds like a really weird issue. Are you sure that the two IDs weren't added by the sending client?

  8. Martin

    tom: Your messages to the muc where dropped or messages from the muc to you? I am running prosody trunk on buster and am not aware of this issue but maybe I just didn't realize it. Also I had only one client crash recently which was conversations crashing due to malformed db, I don't think this is related.

  9. Ge0rG

    I've been running prosody 0.11 for a long while and never had duplicate @id's

  10. Ge0rG

    I'm regularly looking into my prosody and client logs, and I would have noticed

  11. tom

    the messages showed up in my xml console

  12. tom

    but my client did not register them at all

  13. tom

    probably due to that dup id field

  14. Ge0rG

    tom: a client shouldn't freak out when an attribute is repeated, just pick a random one from them

  15. tom

    Ge0rG I'm not sure, but if it was the client wouldn't they get dropped, or the s2d connection dropped for sending something like that?

  16. Martin

    > psi-dev@conference.jabber.ru/rion☫ Maybe that symbol is the culprit.

  17. Martin

    I crashed clients by picking an emoji as muc Nick.

  18. tom

    the unicode?

  19. tom

    that's the lead developer of psi+

  20. tom

    if that unicode doesn't work in his own client

  21. tom

    lol

  22. Ge0rG

    some servers also dislike this kind of nickname

  23. tom

    but no, he uses that all the time

  24. tom

    and the issue wasn't with rion

  25. Martin

    Dunno, the xmpp devs here probably know better which characters may cause problems. Some are allowed some not.

  26. tom

    rion was only helping me debug test test the issue

  27. Ge0rG

    tom: are you using Psi+?

  28. tom

    yeah

  29. tom

    but i'm having issues with it right now so i've switched to swift

  30. Ge0rG

    tom: is it only happening on jabber.ru or also on other servers?

  31. tom

    no the message dropping is happening on nuegia.net

  32. tom

    which runs the official build of prosody 11.4 for debian from the prosody.im debian repo

  33. Ge0rG

    tom: the XML you pasted above doesn't have a "from" attribute. Where exactly did you log it and was it a sent or a received message?

  34. tom

    so that xml was just with the to swapped out

  35. tom

    it was a message originally from spyware@conference.nuegia.net/metheperson

  36. Ge0rG

    because you can't send a "groupchat" message to a full JID

  37. tom

    thats the thing

  38. tom

    muc-private-messages where missing some feature fields too

  39. Ge0rG

    tom: muc private messages are typically type=chat

  40. tom

    weird

  41. tom

    I think i'm just going to sleep this one off

  42. tom

    come back and try to fix it tommarrow

  43. Ge0rG

    tom: yes, very weird. feel free to ping me again when you are fresh and awake :)

  44. tom

    thank you I appreciate that

  45. tom

    because this is hardly the first time i've suspected and had silent dropped messages

  46. Ellenor Malik

    I actually had my entire prosody clear crash a couple days ago Ge0rG

  47. Ge0rG

    Ellenor Malik: which prosody version are you running?

  48. Ellenor Malik

    > Ge0rG Wrote: > because you can't send a "groupchat" message to a full JID challenge accepted ;-)

  49. Ellenor Malik

    Ge0rG: some old mercurial checkout

  50. Ellenor Malik

    from this year definitively

  51. Ellenor Malik

    I'm also on a really weird fork of freebsd that needs to be updated

  52. Ge0rG

    Ellenor Malik: 0.10, 0.11 or trunk?

  53. Ge0rG

    I'm currently hunting for a stacktrace of a trunk crash

  54. Ellenor Malik

    one of the three, for sure. It didn't stack trace, I don't think

  55. Ellenor Malik

    I think it just clean exited

  56. Ellenor Malik

    And i woke up to "pix-art: 2 of 7"

  57. MattJ

    The multiple I'd thing is 99.9999% not Prosody. More likely the receiving client messed with it. Poezio does this too I think.

  58. MattJ

    The multiple @id thing is 99.9999% not Prosody. More likely the receiving client messed with it. Poezio does this too I think.

  59. Ellenor Malik

    MattJ: a 6 9s guarantee is audacious.

  60. MattJ

    The code that serializes attributes uses a hash table as input, and multiple keys with the same name and different values are impossible to store in those

  61. Ellenor Malik

    Could this cause a problem with the Jabber protocol As She Is Spoke?

  62. mark

    i need some help please

  63. Ellenor Malik

    mark: what's wrong

  64. mark

    every time I try to set up an xmpp account in pidgin it always tells me that it cannot connect tried 5 or 6 times with different credentials

  65. Ellenor Malik

    wrong channel

  66. mark

    which channel please?

  67. Ellenor Malik

    also mark does the account already exist on the server or are you trying to in band register with the server

  68. mark

    trying to stup my first ever pidgin account qith out success i put my username, the domain with passord and click add and it goes straight to cant connect

  69. Ellenor Malik

    mark: but does the jabber account exist on the server

  70. Ellenor Malik

    or are you trying to ask the server to give you an account

  71. Ellenor Malik

    if the latter, you should have the option to ask for "create this new accounton the server"

  72. SouL

    Maybe mark is just trying to log in with his actual account?

  73. Ellenor Malik

    SouL: he's here, so he has gotten on jabber omehow

  74. mark

    no i use elude.in, with username name and password for the domain click add should i be clicking add me to the server

  75. Ellenor Malik

    i'd like to warn you that pidgin's jabber support is extremely limited and you'd be better off using something like gajim.org

  76. mark

    ok thanks will try that.

  77. Ellenor Malik

    mark: no, only if you are trying to create the new account

  78. Ellenor Malik

    if you already have the account, it is not needed to tick create

  79. Ellenor Malik

    "unable to connect" may mean the server is down or your ISP blocks jabber

  80. Ellenor Malik

    the server may also just be poorly configured and its dns may not work properly

  81. mark

    i thanks for the answers i will try what you have said, thanks for now, bye.