-
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.
-
fjklp
goran: Do you have chats that are stuck attempting to join, where the cycle icon is rotating for row in the chat list?✎ -
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? ✏
-
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.
-
fjklp
I've also noticed that there is something else I can't account for that amplifies the cpu usage sometimes.
-
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?
-
lovetox
Enable debug logging
-
lovetox
In preferences
-
stefan
what should i look for?
-
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)`
-
lovetox
You need to look at the timestamps
-
lovetox
And sie what process takes so long
-
lovetox
Is "local" the name of your account?
-
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?
-
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.
-
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.
-
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) ```
-
stefan
the last entry before that was 20 seconds ago.
-
stefan
Try to connect to wss://example.com:5443/ws It seems there is something wrong with my server configuration?
-
stefan
strange is, with a different client (psi+), the connection is made immediately.
-
stefan
when you have only one line in the codebox, you cannot see the line when using the horizontal "laufleiste".
-
stefan
it is transparent, but for my taste it could be a little more transparent.
-
lovetox
We only connect to websocket if nothing else works
-
lovetox
Are you sure you have the correct dns entries set
-
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.
-
stefan
has this to do something with srv-records?
-
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.
-
stefan
but why does it say example.com?
-
stefan
and why does psi+ connect direclty, without delay?
-
stefan
should I paste the log somewhere?
-
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
-
lovetox
Please check your sev records✎ -
Ge0rG
stefan: a bit technical, but it's based on https://xmpp.org/extensions/xep-0393.html#block
-
lovetox
Please check your srv records ✏
-
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.
-
lovetox
xmpp:operators@muc.xmpp.org?join
-
lovetox
You can join this chat to ask for help in configuring your server and dns
-
stefan
thank you!
-
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! ↺
-
Tom
This one, actually
-
Tom
So, thank you!
-
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.
-
lovetox
You can open one
-
adamski
Done. https://dev.gajim.org/gajim/gajim/-/issues/11745
-
adamski
I'll also try to hack on a patch, if I get a chance, but I am an XMPP noob.
-
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).
-
stefan
so it would be cool if there was an easy setting in gajim to only try the connection via ipv4...
-
stefan
there are lots of php errors on paste.gajim.org?
-
lovetox
stefan, thats not necessary, because you should have a dns entry that point Gajim to a A or AAAA record
-
lovetox
of course if you dont set this up then Gajim will try everything
-
lovetox
as i said at the start, you need to setup your SRV records correctly
-
stefan
what happens if I don't have any?
-
fjklp
probably a client takes longer to connect
-
adamski
Do you have AAAA records?
-
fjklp
I don't know what the order of connection methods is or the timeout for each
-
lovetox
stefan, thats simply not a very optimal setup, yeah it works, but its not as intended
-
lovetox
altough i dont see why a connection attempt to a closed port on some ipv6 address
-
lovetox
should take longer then a few milliseconds
-
stefan
should i paste the complete log somewhere? until the connection is established?
-
lovetox
yeah why not
-
stefan
https://paste.gajim.org/ seems to be completely broken.
-
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.
-
fjklp
yes, let's keep repeating these problems over and over
-
stefan
?
-
fjklp
every time you spot a problem it's an opportunity to prevent it from wasting hundreds of other peoples time
-
stefan
did I miss to read some wiki entries?
-
fjklp
don't worry about it, i'm just weird
-
fjklp
my priorities are all messed up
-
adamski
stefan: what did you change with the SRV records? For future reference.
-
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