jdev - 2020-07-06

  1. ddd

    please guys how can i send a message via jabber?

  2. ddd

    I want to write this support support@luxsup.su

  3. moparisthebest

    How did you send a message here?

  4. Matt

    You mean into muc?

  5. Matt

    I would like to know too

  6. Matt

    Maybe that support has a differnt transport

  7. Zash

    They left 20 seconds after asking...

  8. Matt


  9. eta

    gotta go fast

  10. Matt

    Very true

  11. Zash

    I suspect that was not a development question.

  12. Zash

    We really need that channel for new users :/

  13. MattJ

    I'm curious where they are coming from

  14. eta

    Zash: which channel for new users

  15. Martin

    I don't know if there is such a MUC.

  16. Zash

    In the past, there was jabber@conference.jabber.org

  17. Martin

    Ah ok, looking forward for working s2s with jabber.org after the move to prosody.

  18. Matt

    so whats the best lib to use xmpp.js or strophe?

  19. Matt

    i cant see to connect using strophe

  20. Zash

    Matt: I suggest you play around a bit with both and decide for yourself which is best. Nobody else can know without knowing your criteria.

  21. Zash

    Is xmpp-ftw the same as xmpp.js or is that a third?

  22. Matt

    iv tried xmppjs but it hasnt been maintain in forever

  23. Matt

    i have used xmpp-ftw

  24. Matt

    the xmpp.js lib is the one most use but the connections are weird

  25. Matt

    strophe is newer with an amazing documentation but i cant see to connect

  26. Zash


  27. Zash

    I thought strophe was the older one

  28. MattJ

    Strophe is definitely older :)

  29. MattJ

    I "grew up" on Strophe.js, and would probably still reach for it now

  30. Matt


  31. MattJ

    But I think xmpp.js is probably a little more modern, and has more features (running on node.js for example)

  32. Matt

    yeah i was working with node

  33. MattJ

    As Zash says, just see what suits you best

  34. Matt

    i just want to make a bot.

  35. Matt

    and have an even listener

  36. Matt

    where you can type commands in here and it outputs them somewhere else

  37. Matt

    for example server uptime or when to renew certs

  38. MattJ

    Should be quite straightforward

  39. MattJ

    I got xmpp.js working recently in node

  40. Matt

    alright ill give it a try again

  41. MattJ

    I followed their basic example and it just worked

  42. Matt


  43. Matt

    can you link me the basic example

  44. MattJ

    I was using it with websockets

  45. Matt

    i using bosh

  46. Matt

    im gonna be really upset if it has to do with iptables

  47. MattJ


  48. Matt

    thank you matt with a J

  49. Matt

    yeah i followed this example

  50. Matt

    and i get the xml info

  51. Matt

    but my user doesnt sign on

  52. MattJ

    Guess you need to find out why :)

  53. Zash

    Martin: I though it worked with recent prosody, especially trunk (re jabber.org s2s)

  54. Matt

    hm alright well ill use xmppjs from now on

  55. Martin

    let me check

  56. Martin

    >Server-to-server connection failed: Error during negotiation of encrypted connection: dh key too small Zash ^

  57. Matt

    that dellfie cert

  58. Martin

    dict dellfie :( No definitions found for "dellfie

  59. Martin

    What slang is this?

  60. Zash

    Martin: Custom TLS settings?

  61. Martin

    I thought this might be due to the new ssl standards in Debian Buster.

  62. Martin

    Zash: You seem to be aware of it: https://github.com/stpeter/jabberdotorg/issues/6#issuecomment-443331272

  63. Zash

    I am aware and it should be working. *Unless* you have custom settings that undo the fix.

  64. Matt


  65. Matt


  66. Matt

    sorry i missspelled it

  67. Matt

    so i followed the example and i connect but i keep getting timeout errors

  68. Matt

    dict diffie

  69. Matt

    no work for me

  70. Matt

    do i have to enable websocket module for apache??

  71. Matt

    im using using it for ejabberd