Skip to content
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

Message stuck as newest message #9443

Closed
AnthyG opened this issue Apr 12, 2019 · 21 comments
Closed

Message stuck as newest message #9443

AnthyG opened this issue Apr 12, 2019 · 21 comments
Assignees
Labels
A-Timeline P1 T-Defect Z-Community-PR Issue is solved by a community member's PR

Comments

@AnthyG
Copy link

AnthyG commented Apr 12, 2019

Description

After having sent one message (private chat, encrypted), that message kept staying at the very bottom of all new messages I sent (the timestamps were still correct).

Steps to reproduce

  • Send message
  • ???
  • Send more messages
  • ???
  • first message is still at the very bottom (as if it were the newest one)
  • reload
  • first message back at the correct place

The expected behaviour would be that the first message shouldn't move to the most recent slot in the history. And after reloading, the message should still be in the history, but it isn't.

Log: not sent (couldn't send)

Version information

  • Platform: web

For the web app:

  • Browser: Firefox 66.0.3 (32-Bit)
  • OS: Windows 10
  • URL: somewhere else, develop version
@bwindels
Copy link
Contributor

Hi @AnthyG , thanks for reporting this. Do you think the messages that ended up in the wrong order got sent? It sounds like they didn't, and we got the sorting of unsent messages wrong somehow, and then additionally you hit #7177 . Can I also ask if you were using the matrix.org homeserver or another one?

Would be great if you could retry sending logs, that should work again now.

@AnthyG
Copy link
Author

AnthyG commented Apr 15, 2019

The messages did get sent, as I still saw them after reload, was also able to reply to them, and my conversation partner was also able to see them.
However, I believe they were in send-queue for a longer time than usual. Not sure if this might've been because of a bad connection at that time tho.
I was using an (I believe) up-to-date-with-the-latest-dev-version homeserver hosted by @anoadragon453.

Still got the log in form of an .har-file (which should contain everything you need, however you would need to decompress the compressed log file from that), and I guess that is the only way I can still send it to you, as I suppose, Riot doesn't keep a log beyond the current and last session. How should I go about in getting it to you?

@lampholder
Copy link
Member

I also have seen this recently.

@AnthyG
Copy link
Author

AnthyG commented Apr 30, 2019

Do you guys still need my Log then?

@turt2live
Copy link
Member

if you've seen it again in the last 24ish hours, then yes please.

@hieronymousch
Copy link

I have the same problem for the riot windows desktop client

@mstroud
Copy link

mstroud commented May 10, 2019

I have the same problem. I've noticed that the offending (stuck) message is missing the "unsigned" information element in the server update message.

Most recent (actual) message:

...
"origin_server_ts": 1557503961694,
"unsigned": {
    "age": 40
  },
...

"Stuck" message:

...
"origin_server_ts": 1557499832504,
...

I'm using Riot Desktop/Web version "riot-web version: 1.1.0" on Windows 7 with a self-hosted synapse server (matrix-synapse==0.99.1.1). The room is a 1-on-1 chat with encryption enabled.

@turt2live
Copy link
Member

@mstroud please go to your account settings, click on the "Help & About" tab, and submit debug logs for this issue. It's hard to figure out what is going on when no one is submitting logs :(

@mstroud
Copy link

mstroud commented May 10, 2019

@turt2live Done

@hieronymousch
Copy link

likewise

@matoro
Copy link

matoro commented May 12, 2019

I see this as well, desktop app 1.1.0 on Linux and synapse 0.99.3.2. Seems to be a strictly visual bug as closing and reopening the app does fix it.

@procopsamuraev
Copy link

have a same problem with 1-1 chat, not encrypted. Close/open application solve the problem for while.

@turt2live
Copy link
Member

I've definitely seen this personally, but can't reproduce it. From the 3 logs collected, "Unable to call 'setDMRoom' of undefined" comes up frequently - will investigate that.

@turt2live
Copy link
Member

I think this was actually fixed as matrix-org/matrix-react-sdk#2951

@turt2live turt2live added the Z-Community-PR Issue is solved by a community member's PR label May 15, 2019
@ericmigi
Copy link

Still occurring on 1.1.2. not 100% reproducible but happening pretty reliably. Need more logs on this one?

@hieronymousch
Copy link

I can confirm that it still occurs on 1.1.2 (had one yesterday)

@turt2live
Copy link
Member

1.1.2 does not have the fix in it.

@hieronymousch
Copy link

hieronymousch commented May 16, 2019

This is what we get: image

Message sent at 0700 keeps being shown at the bottom

@amb26
Copy link

amb26 commented Nov 26, 2020

I saw this just yesterday on Element version 1.7.14 - it was only fixed by the "clear cache and reload" button in settings. So far has occurred only once in about a month of usage.

@konomikitten
Copy link

I had this occur recently this doesn't seem fixed, happened when in a DM with a friend, restarting the desktop client and removing the message worked for me.

Element version: 1.8.5
Olm version: 3.2.3

@anoadragon453
Copy link
Member

anoadragon453 commented Sep 27, 2021

Note that this is currently being tracked from the homeserver (Synapse) side at matrix-org/synapse#9424.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Timeline P1 T-Defect Z-Community-PR Issue is solved by a community member's PR
Projects
None yet
Development

No branches or pull requests