nextcloud / spreed

🗨️ Nextcloud Talk – chat, video & audio calls for Nextcloud
https://nextcloud.com/talk
GNU Affero General Public License v3.0
1.61k stars 428 forks source link

False "All messages have expired or have been deleted." when switching conversations #11994

Closed ChristophWurst closed 3 months ago

ChristophWurst commented 5 months ago

How to use GitHub


Steps to reproduce

  1. Be in multiple conversations
  2. Switch conversation

Expected behaviour

See the latest messages

Actual behaviour

See an empty content saying that all messages have been deleted or have expired.

image

After a page reload the messages are "back".

Talk app

Talk app version: (see apps admin page: /index.php/settings/apps)

Custom Signaling server configured: yes/no and version (see additional admin settings: /index.php/index.php/settings/admin/talk#signaling_server)

Custom TURN server configured: yes/no (see additional admin settings: /index.php/settings/admin/talk#turn_server)

Custom STUN server configured: yes/no (see additional admin settings: /index.php/settings/admin/talk#stun_server)

Browser

Microphone available: yes/no

Camera available: yes/no

Operating system: Windows/Ubuntu/...

Browser name: Firefox/Chrome/...

Browser version: 85/96/...

Browser log

``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```

Server configuration

Operating system: Ubuntu/RedHat/...

Web server: Apache/Nginx

Database: MySQL/Maria/SQLite/PostgreSQL

PHP version: 8.0/8.1/8.2

Nextcloud Version: (see admin page)

List of activated apps:

``` If you have access to your command line run e.g.: sudo -u www-data php occ app:list from within your server installation folder ```

Nextcloud configuration:

``` If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your Nextcloud installation folder ```

Server log (data/nextcloud.log)

``` Insert your server log here ```
nickvergessen commented 5 months ago

Can you reproduce this with browser console open? Sounds like the requests to load the chat messages failed and we don't distinct the reason why the list was empty and just show the empty content.

ChristophWurst commented 5 months ago

Too late, sorry. If it happens again I'll inspect the console.

nickvergessen commented 5 months ago

So it does not happen frequently/repeatingly but "at random"

ChristophWurst commented 5 months ago

It happened just once so far

ChristophWurst commented 5 months ago

Bildschirmfoto vom 2024-04-09 13-55-05

image

nickvergessen commented 5 months ago

You came there from a search result?

ChristophWurst commented 5 months ago

70% sure I did not

nickvergessen commented 5 months ago

Then Message to focus not found in DOM is weird. But it's the same ID that is afterwards used in the setVisualLastReadMessageId

Antreesy commented 5 months ago

Notes:

nickvergessen commented 3 months ago

We fixed something related for the upcoming release, so if it happens again after tonights update, please let us know again.