jdev - 2025-06-24


  1. Ben

    Does anybody know if the account registration workflow of Smack (https://download.igniterealtime.org/smack/docs/latest/javadoc/src-html/org/jivesoftware/smackx/iqregister/AccountManager.html#line.271) is the same as defined in XEP-0077?

  2. Link Mauve

    Ben, do you encounter an issue using it against a server exposing XEP-0077?

  3. Ben

    No not at all, I think it's working perfectly. Actually I'm trying to do the same registration process in slixmpp, because I'm not really familiar with Java. But since I'm new to developing with XMPP I was wondering if using XEP-0077 plugin in slixmpp will get me there.

  4. Link Mauve

    It should, I’m much more familiar with slixmpp than with Smack, so if you encounter any issue feel free to ask. :)

  5. Link Mauve

    We also have a room dedicated to it: xmpp:slixmpp@muc.poez.io?join

  6. Ben

    I'd be happy for some help 🙂 let me figure out how to join

  7. Ben

    I can't seem to register 😞

  8. Link Mauve

    Ben, do you get an error?

  9. Link Mauve

    Does it work when you run examples/register_account.py?

  10. Ben

    trying /register command in profanity, it just gives me "11:37:08 - Lost connection. 11:37:30 - Server error: unknown"

  11. Link Mauve

    Can you enable debug/XMPP logs there?

  12. Ben

    for muc.poez.io I mean

  13. Link Mauve

    Hmm… I don’t see any issue connecting to that server, do you have logs either in your client or in your server?

  14. Ben

    not sure about connecting, registering doesn't work for me

  15. Ben

    log level is set to Debug but it just says unknown error

  16. Ben

    xmpp: DBG: RECV: <error xmlns="http://etherx.jabber.org/streams"><host-unknown xmlns="urn:ietf:params:xml:ns:xmpp-streams"/><text xmlns="urn:ietf:params:xml:ns:xmpp-streams">This server does not serve muc.poez.io</text></error>

  17. Link Mauve

    Hmm, do you know which server yours is trying to connect to? I just manually did the DNS danse and it connected fine. :s

  18. Ben

    Not sure, the logs jsut say "Connecting via altdomain." . when I open it in the broswer it redirects to https://jabberfr.org/

  19. Ben

    Link Mauve Maybe I can ask directly here?

  20. Ben

    Link Mauve I'm confused by the slixmpp docs. the connect() method has this signature in the docs: https://slixmpp.readthedocs.io/en/latest/api/clientxmpp.html#slixmpp.clientxmpp.ClientXMPP.connect but in the code it is connect(self, host: Optional[str] = None, port: Optional[int] = None) -> asyncio.Future

  21. Link Mauve

    Oh indeed, it seems the documentation is for an older version of the API.

  22. Link Mauve

    :s

  23. Ben

    Link Mauve How can I set the TLS parameters to be more lienient when connecting? I see that the server I'm trying to register with causes an SSL error. I think I need to be less strict with certificate checks I guess

  24. Link Mauve

    Hmm, I’m not sure, it’s probably easier to fix your server setup.

  25. Ben

    Link Mauve Agreed, unfortunately it's out of my control 😕

  26. Ben

    Link Mauve Hmmm connection doesn't work against muc.poez.io either. I think I'll take a break from this and try again some other day and debug https://codeberg.org/poezio/slixmpp/src/branch/master/examples/register_account.py I suppose that must work somehow

  27. Ben

    Link Mauve I wonder if there is a TLS bug on macos or something

  28. Ben

    Link Mauve Thanks for your help so far 🙂 I hope I'll manage to connect to the slixmpp server at some point

  29. Link Mauve

    Ben, which TLS library is slixmpp using on your system?

  30. Ben

    how can I check that?

  31. Ben

    I'm trying unmodified register_account.py from examples, against muc.poez.io to exclude any problems on my side, but it keeps failing

  32. Ben

    DEBUG DNS: Querying SRV records for muc.poez.io DEBUG DNS: Exception while querying for muc.poez.io SRV records: (4, 'Domain name not found') DEBUG DNS: Exception while querying for muc.poez.io SRV records: (4, 'Domain name not found') DEBUG DNS: Querying muc.poez.io for AAAA records. DEBUG DNS: Querying muc.poez.io for A records. DEBUG Connection failed: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1010) DEBUG Event triggered: connection_failed DEBUG Event triggered: connected DEBUG SEND: <stream:stream to='muc.poez.io' xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' xml:lang='en' version='1.0'> DEBUG RECV: <stream:stream xml:lang="en" version="1.0" id="404545d7-91f8-4bf0-bb70-6f1292577fd5" from="muc.poez.io"> DEBUG RECV: <stream:error xmlns="http://etherx.jabber.org/streams"><host-unknown xmlns="urn:ietf:params:xml:ns:xmpp-streams" /><text xmlns="urn:ietf:params:xml:ns:xmpp-streams">This server does not serve muc.poez.io</text></stream:error>

  33. Link Mauve

    Ben, oh, you don’t connect directly to muc.poez.io, that server only serves rooms like this one, not users like you.

  34. Link Mauve

    You might want to pick a server accepting registrations, for instance from this list: https://providers.xmpp.net/

  35. Link Mauve

    Then once you have an account, you join rooms on muc.poez.io.

  36. Ben

    Ah, got it