-
Notifications
You must be signed in to change notification settings - Fork 14
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
Missing messages on random channels #13
Comments
Sorry, I forgot about this issue. Let's continue the discussion from IRC:
Off the top of my head I can't think of anything that could cause this for sure, but here are a few things you could try to help narrow this down:
|
I’m also seeing such. Only on mobile devices. One thing that seems to often trigger it is if I post a message to some channel and then switch away to another app. Such is likely then auto-closed by iOS and perhaps acts like a force quit. Returning to the app sometime later, the channel history becomes completely blank though eventually it may fix itself. I haven’t yet tried to track it down. ZNC 1.8.2 as provided by host provider. Plug-in compiled myself. Using Igloo client on iOS. If any other details would help. |
Trying to investigate this issue again, I still have it and now I'm using ZNC 1.8.2 everywhere but it don't work properly anywhere. I have 3 ZNC 1.8.2 installations (two on Debian 11 on Raspberry Pi 4B and one in Docker). I have tested 4 IRC clients (Weechat, Revolution IRC, KVirc, Konversation). And still the same issues. Is this module as been tested with ZNC 1.8.x? (I can see last commit on master branch is 2 years ago just after ZNC 1.8.0 was released) |
Just wanted to chime in with a "me too" but my setup is much simpler. Single znc instance on a server plus two desktops with Hexchat clients with different identifiers and I see the exact same thing as the reporter (my own chat is replayed but nobody else's). All systems are Arch Linux running the same version of Hexchat and on the server, running: Cheers. |
o/ o/ I am seeing this as well and I am pretty sure I narrowed it down. I was working off of znc#322. (I have put my finding there.) I am thinking if we only update the timestamp upon receiving message from the client, then we would not lose messages. Of course we might end up with duplicates. To that the best I could come up with is send a ping for each message sent to the client and clear when we get the pong. Otherwise it does feel like the protocol itself is falling short.. :| |
Got znc-clientbuffer/pull/16 up, I will be running with it a bit a report |
Thanks! In facts I found a workaround which seems to work: Running ZNC with UTC Timezone, by setting Now it seem my friends don't miss any messages anymore. |
Great find. All my systems use the UTC timezone; this would explain why I can't reproduce it. |
Thank you! This does make more sense. My change applies to when the connection simply dies-out without a proper We were updating the timestamp on the buffer upon every message sent without knowing whether they made it to the other side. To make the buffer update more I also removed the check for the type of messages the client sent before updating the timestamp (so we catch the With this change, I do now see the (I could have put that in the change itself.) |
I just create this issue in case someone fall in the same situation.
Issue
I use this plugin on a ZNC 1.8.2 running in Docker, it work without any issue.
But on another ZNC 1.8.2 running on Debian, it fail: if I'm connected on a client and then launch another client I can't see a lot of messages in the second one, I can see only my messages but not messages from other people on the same channel.
This issue occur only on some channels and I can't figure it out.
While multiples clients are connected they all get messages, but if a client is not connected and then connect it only see my user messages.
I install this plugin following the ZNC wiki page Multiple clients.
Example
On Client 1:
Then after this, I open Client 2 and only see:
The text was updated successfully, but these errors were encountered: