-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Carbons doesn't seem to work from one Pidgin instance to another #48
Comments
hi, thank you for your report. you mean both pidgin instances are running at the same time, right? could you copy the raw xml messages from the debug log of the instance which does not (visibly) receive the messages it should? if you quit pidgin while the debug window is open, pidgin will start with the debug window open the next time. so you could also check if the feature discovery + activation works. this is a simple protocol and it has been pretty stable, but sometimes servers change or mangle their replies. i don't really know snikket, do happen to know which server software it uses?
thank you, i appreciate that 🙂 |
I'm sorry I've not found time to respond yet: having found various problems with Pidgin and modern XMPP, I switched to Gajim. But I would like Pidgin to improve, so I will find time to get those debug logs! I can tell you one thing: Snikket is just a repackaging of Prosody (server) and Conversations (Android client). |
thank you! there was in issue with a specific prosody version in the past, however i doubt that snikket would use such an old version on purpose. |
Here's a received XML stanza that does not cause a message to display:
|
Prosody version says (unhelpfully): Snikket release beta.20220119.2 As far as I can tell from the scripts that build Snikket's docker image, it uses the nightly build of Prosody current on the relevant day, which for the date above is somewhere around 0.11.1 to 0.11.2. |
I captured a debug log from starting up Pidgin with the Debug window open, and it says "Successfully activated carbons". Is there anything else you need to know on that front? |
This kinda feels like a necrobump but it's still open and still an issue. Server is ejabbered (because of the previously mentioned issues with prosody). Everything works fine with gajim but pidgin still refuses to work. I was just testing pidgin + this again because while gajim works it's become a monstrosity of preschool colors and obnoxious screen wasting UI. Running with pidgin -d I get Some pedantic posix something else that starts with p... ;p |
Hey @nPHYN1T3, thanks for your comment! |
Well hopefully you can wrangle things. This ticket's 2 years running but more so the fact pidgin still doesn't do this natively has been a real issue for far longer. (I was using pidgin before it was pidgin [gAim]) Back in the day barely anyone had more than one device so it wasn't really a big deal, but once everyone had a Desktop(s), Laptop(s), Cell, Tablet the fact pidgin still couldn't keep things straight against each device made Pidgin...well worthless. It would be nice to ditch the "Duplo Block" Gajim and go back to Pidgin. |
JIDs are now (hopefully) correctly normalized before comparison. In practice this should prevent incorrect rejection of messages when making sure that it is the own account that sent the carbon copy, and the local and remote JID have different casing for some reason. This fixes #48.
Build fails on Arch despite having the dependencies so I had to dig out a Debian based vm. Well that was a chit ton of rigamarole for it to not work heh. Nothing in the debug output this time either. I'm not sure if it matters (it shouldn't) but the other party being messaged was offline (no one is on/up ATM). Gajim sees all messages sent either way where as the messages sent from Gajim don't show in Pidgin and the nothing in the logs. Debug shows carbons is loaded. |
I set up a few test accounts to "test" the offline curiosity. I got something in the debug but no message as expected.
|
Thanks for the effort. I do think that it could matter that the recipient is offline. What you received is a MAM message (judging by the Sorry, I know XMPP support for Pidgin is a mess. With the next major version of Pidgin that is coming up, the protocol support has to be reimplemented, which might be a chance to handle XMPP extensions in a better way. Currently it would mean yet another plugin for MAM. Would you be interested in using that? |
That is online. My first message I tested with one of my normal contacts, but as I said, everyone was offline/away. So I made some test accounts so I could test with everyone online. The debug message above in the second message is from the "everyone online" test. |
Oh, thanks for clarifying. Well I am not sure what to say then, the server seems to not be sending the messages. Could you check the debug log during connection establishment for something like The plugin can only handle messages it receives, so unless you see a
|
When pidgin is started with debug the only mentions of carbons are:
|
That's weird. Is it still active after you recompiled it? Or is there maybe in error in the plugin list? It should at least log some things during startup, e.g. "Sent feature discovery request" to see if the server it is connected to even supports carbons. |
Nope nothing like that in the debug output. The only thing that even slightly matches on the word "request" is about xmpp-stanzas. i.e. no plugin seems to be querying if a feature is or isn't enabled/available, at least not with the string example you've mentioned. What do you mean "still active after I built it?" There is no error, as I showed above it says it's loading the plugin: |
Every line it logs should be preceded by "carbons" for easy filtering.
If I got it right, you are trying out the bugfix I tried to implement (thanks!). So you must have built and installed the plugin. I am wondering if it e.g. is still active in the plugin list.
IIRC that just means it found the file. There might still be an error with the plugin, e.g. it could be greyed out in the list. |
Nope you caught it. Seems between the pre-built binary and rebuilding with the src pidgin had disabled carbons from the list. I didn't even think to check it because well...hell it was already installed and enabled. Double checking the plugin list and re-enabling it it does in fact seem as though the new build is working. Hazzah! |
Awesome, thanks for your help! Guess I'll get out the first release in almost 4 years soon :D |
Heh well neato! ;) Sadly though now I gotta figure out why it fails to build on Arch. Though I suppose I could just be lazy and wait for the Aur to update it...IF they update it heh. |
That is weird, this small plugin barely has any dependencies. If you want, you could open a separate issue about the build failure and we can figure it out there. |
Your call. I'm just firing up the VM I initially tried to build it with to refresh myself on what the issue was. It complains about not finding glib.h which is installed in /usr/include/glib-2.0/glib.h. P.S. Thanks for revisiting this issue. P.P.S. Built fine on my workstation so I'm guessing something stupid in the build environment on the VM install. |
I have Pidgin installed much the same on two Ubuntu machines (2.14.10), and have Carbons installed and activated on both. Carbons only seems to work reliably with one running instance of Pidgin; if I have two, then one of them gets all messages "carboned" from Snikket, but the other doesn't, and neither seems reliably to get messages I send on the other.
Any hints on what I might be doing wrong?
Thanks very much for this plugin and lurch, which together make Pidgin work much better with Snikket.
The text was updated successfully, but these errors were encountered: