Unknown opened 5 years ago
|
|
Which server do you use? Does it support message archiving (MAM)? Did you enabled storing message history on the server? |
|
Ejabberd 19.05 |
|
1-1 chat history is not retrieved on the opening of a chat but on connection to the XMPP server. BeagleIM retrieves messages from X last days or since the last message which is in BeagleIM archive. |
|
The issue still excited if you send a message on BeagleIM and then switch to SiskimIM. Then they message are not synced. This way you mis part of the conversation. What do you need to debug this issue? |
|
Can you confirm, ie. with the use of another client, that those messages are actually archived by the server? |
|
It works on other clients. I notice I have the issue only by 1 on 1 chats. I have the same issue in SiskimIM. If I switch between BeagleIM and SiskimIM my message are also not synced. With MUC it works like it suposed to. |
|
Which version of BeagleIM do you use? From the AppStore? of beta build? |
|
SiskimIM 6.0 and BeagleIM 90 |
|
I have similar issue, the message synchronisation does not work but if I try to use other client (like converse.js) it gets all the history retrieved correctly. Steps to reproduce
BeagleIM , Version 4.0 (103) |
|
Could you check if you have message synchronization enabled in the account settings? |
|
@hantu85 how do I check it, do you mean "Automatic synchronisation" under "Message archiving" section? I checked the server database as well and it contains the message, also it can be retrieved from completely fresh instance of other xmpp client. |
|
Yes, exactly there. |
|
@hantu85 I checked it, re-activated the account and restarted an application after that, it still doesn't show messages sent from other client. I thought it would be better to keep this setting off because of deprecated status of message archiving standard https://xmpp.org/extensions/xep-0136.html. But still can't see my messages. I wonder can I somehow delete local Beagle database to see will it retrieve any messages. |
|
Message archiving in this case is general term and BeagleIM does not support XEP-0136, only XEP-0313 is supported. Just to be sure, you have enabled "Automatic message synchronization" and selected period of time to synchronize? |
|
Yes, last 3 days. All messages was sent today. More info how to reproduce:
login and send any message
p.s. thank you for the client, it's best client for the xmpp today, easy to use and great design |
|
Well, I'm testing BeagleIM with Tigase all the time and "message sync issues" are rarely reported from other servers. Could you tell me which server do you use? i would need to test BeagleIM against exactly this server software and most likely version to be able to provide a fix. |
|
I'm using I have UTC timezone on the server and my client is UTC+3. |
|
If I delete |
|
Did you have any message from this account in your BeagleIM? If so, BeagleIM would fetch only newer messages that in had in the local storage. |
|
I did. Now, after I deleted the |
|
I suppose that this was causing the issue in your case. I suppose we should improve onboarding process, so that we would ask users to enable message archiving synchronization during adding the account. |
|
It appears I have a similar issue. Using Beagle 4.1 (110) and prosody 0.11.5. With Profanity on account A I write to account B which is online with ChatSecure, no encryption used. ChatSecure receives the messages. I leave ChatSecure on. I start Beagle. Nothing happens. I click on the past conversations with account A: the recently sent messages still do not appear. |
|
They will not appear if message synchronization is not enabled. Please check account settings in Beagle IM. It may happen that only newer messages (after message synchronization is enabled) will sync to Beagle IM. |
|
I didn't find that setting, but will look again later today. What is the intention behind not having this on by default? I imagine most users would want this behaviour. |
|
@jubalh privacy concerns, though there should be a prompt for the user (like in Siskin) if feature is available on the server. |
|
I confirm that 1 on 1 MAM does not work for me either (even non-OMEMO). My server is a prosody instance and MAM works just fine in gajim, dino, conversejs and Conversations. MUC MAM works OK though, even in beagle. Interestingly enough, if I manually check "enable sync" / "automatic sync", click save, and reopen "archiving settings", they are unchecked. I am using Version 5.0 (134). Let me know if I can help further debug this. EDIT: I did some more testing and now "enabled" stays checked on in "archiving settings" but "automatic sync" does not. This is what the XML console report when I do that:
Is my prosody instance behaving in some way that beagle does not expect? |
|
Beagle 5.0 is out, all is great except this MAM thing not working. I have no idea where to read error messages or where to start to try and help debug this. All I know is that the 'automatic sync' checkbox does not 'stay' checked in the app settings. Please let me know where I can look to find logs or something... |
|
Removing beagleim.sqlite did work for me. I tried to uninstall and remove all beagle files to start from a clean state, but because of some mac os x magic, I cannot seem to find how to do that. I tried removing my account from beagle and readding it, but still no message sync. Launching BeagleIM from the terminal does not print anything useful to stderr or stdout. In settings, if I go to archiving settings, 'enabled' is unchecked and clicking 'save' does not close the dialog. I can close it using "cancel". If I reopen 'archiving settings', 'enabled' is checked, so I can try to check 'automatic synchronization', and close the dialog with 'cancel' again. If I reopen a third time 'archiving settings', 'enabled' is checked but not 'automatic sync'. Please, I don't want to give up a this, BeagleIM is great besides this issue which apparently can be solved by starting from a clean state. If anybody reads this, just help me remove all application cache/data/whatever. Do I have to reinstall macos x to do that? |
|
If you want to remove all data of BeagleIM, have a look at As for 'save' not closing the dialog, it is only possible if BeagleIM was not able to retrieve your MAM settings from the server or update them. As those operations are crucial, the window stays open (unfortunately, it was not possible to retrieve the actual error). To dig deeper, please open the XML console for this account (in BeagleIM hold |
|
Well I installed via app store, then tried the beta from the releases on github. Are some settings saved via apple cloud or something? This is the XML console output when I tried to enable 'automatic sync', and click on save, resulting on the dialog box not closing.
I have never digged into MAM stuff too much, my prosody settings are pretty vanilla there, and it works fine using monal, conversations, conversejs, gajim, dino. Do you think beagle needs some special settings enabled/disabled in prosody? Thanks for your reply btw! |
|
Enabling MAM looks OK. Account settings are stored in Apple-provided Keychain which stores those data encrypted. |
|
Thanks again for your reply.
So I guess the sqlite db isn't stored there and that the fix that worked for some people in this thread does not work for me. I guess I'll use Monal and launch beagle when I need A/V calls. It's really frustrating but survivable :) |
|
I think that in your case, there is an issue with account settings being stored in Keychain being overwritten. I was aware that this was sometimes happening between BeagleIM and Psi (as both apps were storing them as for protocol "xmpp" and retrieving all of them for processing as their own accounts). As you mentioned Monal, it may be possible that this is happening here as well (or Monal could block overwriting data for some accounts by Beagle - I've seen that as well). You could try closing Monal (so that it would not be in the tray or taskbar) and then enabling MAM with sync, closing Beagle, and starting it once again to verify that settings were stored. If that would work then it would mean that there is an interference between Monal and Beagle. |
|
@hantu85 Sorry for the late reply and thanks again for not letting me down :) I really don't think that this is 'other xmpp clients'-related since the reason I tried any other was precisely that MAM sync was not working on beagle (and I only really started trying any other client a month ago; I have been using beagle since march). However, it may be that I messed up everything by having both the app store release installed and beta releases downloaded from github at the same time. I tried to clean everything and just use the app store release to see if it fixed anything for me (hence my previous questions about removing all beagle related files). |
|
A little more on this issue, who knows, it may help... Thanks to your comment @hantu85, I managed to start from a 'really clean state'. Uninstalled all xmpp apps, removed all entries from the apple keychain, and deleted Anyway, MAM is still not working in 1-on-1 chats. I am out of ideas about what to test next... |
|
EDIT: this was not linked to the issue and seem to have been resolved on the tigase server side I did not give up on this so I tested with a fresh prosody instance, and MAM worked. So there is something with my "real" prosody instance or account that beagle doesn't like somehow (again, no problem with gajim dino or conversations...). I joined the Tigase MIX a while ago. If I open my XML console I have this spamming repeatedly in a seemingly infinite loop:
(and beagle crashed pretty rapidly with the XML console opened) Clicking the (x) button on the MIX channel does not close it. I thought this might be related since the stanza mentions mam somewhere, but maybe it isn't at all and I should open a new issue for this? |
|
So, my issues were related ta a misconfiguration in my XMPP server (prosody using an old community MAM module instead of the official, newer one), beagle is not at fault there. |
|
This worked for me on MacOS
|
Describe the bug If I open a new chat window to a college then the chat history is not loaded. It works fine if I added MUC group. I tried it a couple of times now with changing the setting related with this but I get the same result.
To Reproduce Steps to reproduce the behaviour:
Expected behaviour If you open the new chat window you expect to see the old chat history. But that is now empty. It feels that it doesn't catch the old chat history from the server.
Screenshots
Desktop (please complete the following information):