nextcloud / spreed

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

When a Nextcloud data server is late, when sending a message it flashes on the screen #7296

Open mstolf opened 2 years ago

mstolf commented 2 years ago

How to use GitHub


Steps to reproduce

  1. Delay date/time of server hosting Nextcloud
  2. Access Talk and send a message

date

Obs: It looks like it logs to the correct date first and then switches to the server date

Expected behaviour

Send the message without this behavior occurring

Actual behaviour

Currently when sending the message, the issue of the message flashing on the screen and changing the date occurs

Talk app

Talk app version: 13.0.5

Custom Signaling server configured: no

Custom TURN server configured: yes

Custom STUN server configured: yes

Browser

Microphone available: yes

Camera available: no

Operating system: Windows

Browser name: Chrome

Browser version: 101.0.4951.41

Browser log

``` NA ```

Server configuration

Operating system: Debian

Web server: Apache

Database: MySQL

PHP version: 7.4

Nextcloud Version: 23.0.3

List of activated apps:

``` Enabled: - apporder: 0.11.0 - cloud_federation_api: 1.6.0 - contactsinteraction: 1.4.0 - dav: 1.21.0 - deck: 1.6.1 - external: 3.7.1 - federatedfilesharing: 1.13.0 - files: 1.18.0 - files_pdfviewer: 2.4.0 - files_rightclick: 1.2.0 - files_sharing: 1.15.0 - files_trashbin: 1.13.0 - files_versions: 1.16.0 - files_videoplayer: 1.12.0 - logreader: 2.8.0 - lookup_server_connector: 1.11.0 - notifications: 2.11.1 - oauth2: 1.11.0 - password_policy: 1.13.0 - provisioning_api: 1.13.0 - roundcubeautologin: 0.0.1 - roundcubesettings: 0.0.1 - settings: 1.5.0 - spreed: 13.0.5 - systemtags: 1.13.0 - text: 3.4.0 - theming: 1.14.0 - twofactor_backupcodes: 1.12.0 - user_external: 1.0.0 - user_status: 1.3.1 - viewer: 1.7.0 - weather_status: 1.3.0 - workflowengine: 2.5.0 Disabled: - accessibility: 1.5.0 - activity: 2.12.0 - admin_audit - comments: 1.9.0 - dashboard: 7.0.0 - encryption - federation: 1.9.0 - files_external - firstrunwizard: 2.8.0 - nextcloud_announcements: 1.8.0 - photos: 1.1.0 - privacy: 1.3.0 - recommendations: 0.7.0 - serverinfo: 1.9.0 - sharebymail: 1.9.0 - support: 1.2.1 - survey_client: 1.7.0 - testing - updatenotification: 1.9.0 - user_ldap ```

Nextcloud configuration:

``` { "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "23.0.3.2", "overwrite.cli.url": "http:\/\/localhost", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "auth.bruteforce.protection.enabled": false, "user_backends": [ { "class": "OC_User_IMAP", "arguments": [ "127.0.0.1", 143, null, null, false, false ] } ], "defaultapp": "external", "theme": "nextcloud_theme", "knowledgebaseenabled": false, "lost_password_link": "disabled", "default_language": "pt", "default_locale": "pt_BR", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "loglevel": 3, "maintenance": false, "mysql.utf8mb4": true, "upgrade.disable-web": true, "has_internet_connection": false, "trashbin_retention_obligation": "auto,10", "trusted_domains": [ "localhost", "webmail.empteste.com.br" ] }, "apps": { "accessibility": { "enabled": "no", "installed_version": "1.5.0", "types": "" }, "activity": { "enabled": "no", "installed_version": "2.12.0", "types": "filesystem" }, "apporder": { "enabled": "yes", "force": "true", "hidden": "[\"\/index.php\/apps\/activity\/\",\"\/index.php\/apps\/files\/\",\"\/index.php\/apps\/photos\/\"]", "installed_version": "0.11.0", "order": "[\"\/index.php\/apps\/external\/1\",\"\/index.php\/apps\/external\/2\",\"\/index.php\/apps\/external\/3\",\"\/index.php\/apps\/external\/4\",\"\/index.php\/apps\/external\/5\"]", "types": "" }, "backgroundjob": { "lastjob": "50" }, "cloud_federation_api": { "enabled": "yes", "installed_version": "1.6.0", "types": "filesystem" }, "comments": { "enabled": "no", "installed_version": "1.9.0", "types": "logging" }, "contactsinteraction": { "enabled": "yes", "installed_version": "1.4.0", "types": "dav" }, "core": { "backgroundjobs_mode": "cron", "installedat": "1596543147.3392", "lastcron": "1651411201", "lastupdatedat": "0", "moveavatarsdone": "yes", "previewsCleanedUp": "1", "public_files": "files_sharing\/public.php", "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php", "theming.variables": "1e8939965cfac670191af458abcf70b1", "vendor": "nextcloud" }, "dashboard": { "enabled": "no", "installed_version": "7.0.0", "types": "" }, "dav": { "buildCalendarReminderIndex": "yes", "buildCalendarSearchIndex": "yes", "chunks_migrated": "1", "enabled": "yes", "installed_version": "1.21.0", "regeneratedBirthdayCalendarsForYearFix": "yes", "types": "filesystem" }, "deck": { "enabled": "yes", "installed_version": "1.6.1", "types": "dav" }, "external": { "enabled": "yes", "installed_version": "3.7.1", "sites": "***REMOVED SENSITIVE VALUE***", "types": "" }, "federatedfilesharing": { "enabled": "yes", "installed_version": "1.13.0", "types": "" }, "federation": { "enabled": "no", "installed_version": "1.9.0", "types": "authentication" }, "files": { "enabled": "yes", "installed_version": "1.18.0", "types": "filesystem" }, "files_pdfviewer": { "enabled": "yes", "installed_version": "2.4.0", "types": "" }, "files_pdfviewer_new": { "enabled": "no", "installed_version": "2.4.0" }, "files_rightclick": { "enabled": "yes", "installed_version": "1.2.0", "types": "" }, "files_rightclick_new": { "enabled": "no", "installed_version": "1.2.0" }, "files_sharing": { "enabled": "yes", "installed_version": "1.15.0", "types": "filesystem" }, "files_trashbin": { "enabled": "yes", "installed_version": "1.13.0", "types": "filesystem,dav" }, "files_versions": { "enabled": "yes", "installed_version": "1.16.0", "types": "filesystem,dav" }, "files_videoplayer": { "enabled": "yes", "installed_version": "1.12.0", "types": "" }, "files_videoplayer_new": { "enabled": "no", "installed_version": "1.12.0" }, "firstrunwizard": { "enabled": "no", "installed_version": "2.8.0", "types": "logging" }, "logreader": { "enabled": "yes", "installed_version": "2.8.0", "types": "" }, "logreader_new": { "enabled": "no", "installed_version": "2.8.0" }, "lookup_server_connector": { "enabled": "yes", "installed_version": "1.11.0", "types": "authentication" }, "nextcloud_announcements": { "enabled": "no", "installed_version": "1.8.0", "types": "logging" }, "notifications": { "enabled": "yes", "installed_version": "2.11.1", "types": "logging" }, "oauth2": { "enabled": "yes", "installed_version": "1.11.0", "types": "authentication" }, "password_policy": { "enabled": "yes", "installed_version": "1.13.0", "types": "authentication" }, "password_policy_new": { "enabled": "no", "installed_version": "1.13.0" }, "photos": { "enabled": "no", "installed_version": "1.1.0", "types": "" }, "privacy": { "enabled": "no", "installed_version": "1.3.0", "types": "" }, "provisioning_api": { "enabled": "yes", "installed_version": "1.13.0", "types": "prevent_group_restriction" }, "recommendations": { "enabled": "no", "installed_version": "0.7.0", "types": "" }, "roundcubeautologin": { "enabled": "yes", "installed_version": "0.0.1", "types": "" }, "roundcubesettings": { "enabled": "yes", "installed_version": "0.0.1", "types": "" }, "serverinfo": { "enabled": "no", "installed_version": "1.9.0", "types": "" }, "settings": { "enabled": "yes", "installed_version": "1.5.0", "types": "" }, "sharebymail": { "enabled": "no", "installed_version": "1.9.0", "types": "filesystem" }, "spreed": { "default_group_notification": "1", "enabled": "yes", "has_reference_id": "yes", "installed_version": "13.0.5", "project_access_invalidated": "1", "signaling_ticket_secret": "***REMOVED SENSITIVE VALUE***", "stun_servers": "***REMOVED SENSITIVE VALUE***", "turn_servers": "***REMOVED SENSITIVE VALUE***", "types": "dav,prevent_group_restriction" }, "support": { "enabled": "no", "installed_version": "1.2.1", "types": "session" }, "survey_client": { "enabled": "no", "installed_version": "1.7.0", "types": "" }, "systemtags": { "enabled": "yes", "installed_version": "1.13.0", "types": "logging" }, "text": { "enabled": "yes", "installed_version": "3.4.0", "types": "dav" }, "text_new": { "enabled": "no", "installed_version": "3.4.0" }, "theming": { "enabled": "yes", "installed_version": "1.14.0", "types": "logging" }, "twofactor_backupcodes": { "enabled": "yes", "installed_version": "1.12.0", "types": "" }, "updatenotification": { "enabled": "no", "installed_version": "1.9.0", "types": "" }, "user_external": { "enabled": "yes", "installed_version": "1.0.0", "types": "prelogin,authentication" }, "user_status": { "enabled": "yes", "installed_version": "1.3.1", "types": "" }, "viewer": { "enabled": "yes", "installed_version": "1.7.0", "types": "" }, "viewer_new": { "enabled": "no", "installed_version": "1.7.0" }, "weather_status": { "enabled": "yes", "installed_version": "1.3.0", "types": "" }, "workflowengine": { "enabled": "yes", "installed_version": "2.5.0", "types": "filesystem" } } } ```

Server log (data/nextcloud.log)

``` NA ```
nickvergessen commented 2 years ago

The flashing bit is the date header and I wonder why you don't see a "Today, ..." header there. That category seems to be missing after the messages comes back from the server.

nickvergessen commented 2 years ago

Btw thanks for all the testing and reporting you do! Can you drop me a mail to <my github name>@nextcloud.com ?

mstolf commented 2 years ago

Of course, email sent!!

I thank you for all the quick responses

nickvergessen commented 1 year ago

@mstolf can you still reproduce this with Talk 17 or even better Talk 18?