Gajim - 2024-01-19


  1. goran

    Why does Gajim take 4% of my cpu while idling? 25% while typing or hovering the mouse. Quite a lot. Still it is a great solution. Thanks for it.

  2. fjklp

    goran: Do you have chats that are stuck attempting to join, where the cycle icon is rotating for row in the chat list?

  3. fjklp

    goran: Do you have chats that are stuck attempting to join, where the cycle icon is rotating for the row in the chat list?

  4. fjklp

    I've experienced similar problems. It's usually been related to the chat joining animation. It's been awhile but I used to get the high cpu usage when typing too.

  5. fjklp

    I've also noticed that there is something else I can't account for that amplifies the cpu usage sometimes.

  6. stefan

    Hello, I have noticed that Gajim takes a very long time to connect, sometimes over 40 seconds. I suspect that it could be because ipv6 is tried first, which is not available. Or could it be something else? How can I tell Gajim to only connect via ipv4 as a test?

  7. lovetox

    Enable debug logging

  8. lovetox

    In preferences

  9. stefan

    what should i look for?

  10. stefan

    I have e.g. this, could it be the reason? although I don't understand what exactly is the problem. `(Local) Connect Error: g-resolver-error-quark: No DNS record of the requested type for “_xmpps-client._tcp.HMR1” (0)`

  11. lovetox

    You need to look at the timestamps

  12. lovetox

    And sie what process takes so long

  13. lovetox

    Is "local" the name of your account?

  14. stefan

    > And sie what process takes so long is there a parser for that task? look for timestamps that are in a row, that have a big difference?

  15. stefan

    I had a "local" account.(don't know why it was there, actually). disabled it now. but the problem is still there, on another computer, where the local account was removed, it still takes about 20 seconds to connect. I'm at taking a debug log.

  16. stefan

    > > And sie what process takes so long > is there a parser for that task? look for timestamps that are in a row, that have a big difference? ok, its not that big problem, most lines have same timestamps.

  17. stefan

    ``` Connection Error: g-io-error-quark: Could not connect to example.com: Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht richtig reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat. (24) ```

  18. stefan

    the last entry before that was 20 seconds ago.

  19. stefan

    Try to connect to wss://example.com:5443/ws It seems there is something wrong with my server configuration?

  20. stefan

    strange is, with a different client (psi+), the connection is made immediately.

  21. stefan

    when you have only one line in the codebox, you cannot see the line when using the horizontal "laufleiste".

  22. stefan

    it is transparent, but for my taste it could be a little more transparent.

  23. lovetox

    We only connect to websocket if nothing else works

  24. lovetox

    Are you sure you have the correct dns entries set

  25. stefan

    I'm not sure. I will upgrade my server soon to bookworm, and update ejabberd too. I hope I can identify the setup problems.

  26. stefan

    has this to do something with srv-records?

  27. stefan

    perhaps there is a timeout? i had the same problem with ssh, changing the connection setting in putty from auto to ipv4 did the job there.

  28. stefan

    but why does it say example.com?

  29. stefan

    and why does psi+ connect direclty, without delay?

  30. stefan

    should I paste the log somewhere?

  31. stefan

    is there a an overview over all in gajim available markdown-like message formatting possibilities, e.g. in the wiki? i did a quick look there, but didn't see something

  32. lovetox

    Please check your sev records

  33. Ge0rG

    stefan: a bit technical, but it's based on https://xmpp.org/extensions/xep-0393.html#block

  34. lovetox

    Please check your srv records

  35. stefan

    thank you. I already looked at it, but it seems that there are no hints how to use all this in gajim in the message editing field.

  36. lovetox

    xmpp:operators@muc.xmpp.org?join

  37. lovetox

    You can join this chat to ask for help in configuring your server and dns

  38. stefan

    thank you!

  39. Tom

    > You can join this chat to ask for help in configuring your server and dns Might need to use that myself, just got my very first XMPP server configured!

  40. Tom

    This one, actually

  41. Tom

    So, thank you!

  42. adamski

    > Does gajim support server registration invites? Like xmpp:example.org?register... Are there any plans to support this? I see no relevant issues/MRs on the gitlab.

  43. lovetox

    You can open one

  44. adamski

    Done. https://dev.gajim.org/gajim/gajim/-/issues/11745

  45. adamski

    I'll also try to hack on a patch, if I get a chance, but I am an XMPP noob.

  46. stefan

    > You can join this chat to ask for help in configuring your server and dns it turned out that it actually has something to do with ipv4/ipv6, ultimately a problem with my configuration (myfritz publishes for ipv4 and ipv6, but i only have the server on ipv4).

  47. stefan

    so it would be cool if there was an easy setting in gajim to only try the connection via ipv4...

  48. stefan

    there are lots of php errors on paste.gajim.org?

  49. lovetox

    stefan, thats not necessary, because you should have a dns entry that point Gajim to a A or AAAA record

  50. lovetox

    of course if you dont set this up then Gajim will try everything

  51. lovetox

    as i said at the start, you need to setup your SRV records correctly

  52. stefan

    what happens if I don't have any?

  53. fjklp

    probably a client takes longer to connect

  54. adamski

    Do you have AAAA records?

  55. fjklp

    I don't know what the order of connection methods is or the timeout for each

  56. lovetox

    stefan, thats simply not a very optimal setup, yeah it works, but its not as intended

  57. lovetox

    altough i dont see why a connection attempt to a closed port on some ipv6 address

  58. lovetox

    should take longer then a few milliseconds

  59. stefan

    should i paste the complete log somewhere? until the connection is established?

  60. lovetox

    yeah why not

  61. stefan

    https://paste.gajim.org/ seems to be completely broken.

  62. stefan

    > should i paste the complete log somewhere? until the connection is established? no need anymore. I changed something with the SRV Records, also I'm not sure if it s correct now, the connection setup is almost immediately now. 3 seconds from the first to the last debulog entry.

  63. fjklp

    yes, let's keep repeating these problems over and over

  64. stefan

    ?

  65. fjklp

    every time you spot a problem it's an opportunity to prevent it from wasting hundreds of other peoples time

  66. stefan

    did I miss to read some wiki entries?

  67. fjklp

    don't worry about it, i'm just weird

  68. fjklp

    my priorities are all messed up

  69. adamski

    stefan: what did you change with the SRV records? For future reference.

  70. stefan

    my xmpp domain is chat.rxmpp.de i had e.g. _xmpp-server > wrong _xmpp-server._tcp was not enough also what worked was _xmpp-server._tcp.chat