nextcloud / spreed

šŸ—Øļø Nextcloud Talk ā€“ chat, video & audio calls for Nextcloud
https://nextcloud.com/talk
GNU Affero General Public License v3.0
1.64k stars 437 forks source link

New messages appear in search results only after page refresh #11362

Closed RTechSn closed 10 months ago

RTechSn commented 10 months ago

How to use GitHub


Steps to reproduce

  1. Type something in a chat
  2. Search for this word

Expected behaviour

Message should be found

Actual behaviour

Message is found only after the page reload

Talk app

Talk app version: 18.0.1

Custom Signaling server configured: No Custom TURN server configured: Yes Custom STUN server configured: Yes

Browser

Microphone available: No

Camera available: No

Operating system: Windows

Browser name: Firefox and Chrome

Browser version: cross-browser issue

Browser log

The javascript console log ``` Joined [signaling.js:242:10](webpack:///talk/src/utils/signaling.js) Conversations were saved to BrowserStorage. Estimated object size: 40.96 kB [conversationsStore.js:408:10](webpack:///talk/src/store/conversationsStore.js) clearLastReadMessage because of isSticky token=2uobozp7 [MessagesList.vue:855:12](webpack:///talk/src/components/MessagesList/MessagesList.vue) setVisualLastReadMessageId token=2uobozp7 id=27684 [MessagesList.vue:796:11](webpack:///talk/src/components/MessagesList/MessagesList.vue) New results Array [ {ā€¦} ] [GlobalSearchModal.vue:302](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) Global search results: Array [] [GlobalSearchModal.vue:303](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) New results Array [ {ā€¦}, {ā€¦} ] [GlobalSearchModal.vue:302](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) Global search results: Array [] [GlobalSearchModal.vue:303](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) New results Array(3) [ {ā€¦}, {ā€¦}, {ā€¦} ] [GlobalSearchModal.vue:302](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) Global search results: Array [] [GlobalSearchModal.vue:303](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) New results Array(4) [ {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦} ] [GlobalSearchModal.vue:302](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) Global search results: Array [] [GlobalSearchModal.vue:303](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) New results Array(5) [ {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦} ] [GlobalSearchModal.vue:302](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) Global search results: Array [] [GlobalSearchModal.vue:303](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) New results Array(6) [ {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦} ] [GlobalSearchModal.vue:302](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) Global search results: Array [] [GlobalSearchModal.vue:303](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) New results Array(7) [ {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦} ] [GlobalSearchModal.vue:302](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) Global search results: Array [] [GlobalSearchModal.vue:303](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) New results Array(8) [ {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦} ] [GlobalSearchModal.vue:302](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) Global search results: Array [] [GlobalSearchModal.vue:303](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) New results Array(9) [ {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦} ] [GlobalSearchModal.vue:302](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) Global search results: Array [] [GlobalSearchModal.vue:303](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) New results Array(10) [ {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦} ] [GlobalSearchModal.vue:302](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) Global search results: Array [] [GlobalSearchModal.vue:303](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) New results Array(11) [ {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, ā€¦ ] [GlobalSearchModal.vue:302](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) Global search results: Array [] [GlobalSearchModal.vue:303](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) New results Array(12) [ {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, ā€¦ ] [GlobalSearchModal.vue:302](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) Global search results: Array [] [GlobalSearchModal.vue:303](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) New results Array(13) [ {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, ā€¦ ] [GlobalSearchModal.vue:302](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) Global search results: Array [] [GlobalSearchModal.vue:303](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) New results Array(14) [ {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, {ā€¦}, ā€¦ ] [GlobalSearchModal.vue:302](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) Global search results: Array [] [GlobalSearchModal.vue:303](webpack:///nextcloud/core/src/views/GlobalSearchModal.vue) Conversations were saved to BrowserStorage. Estimated object size: 40.96 kB ```

Server configuration

Operating system: Ubuntu 22.04.3 LTS

Web server: Apache

Database: Maria

PHP version: 8.1-FPM

Nextcloud Version: Nextcloud Hub 7 (28.0.1)

List of activated apps:

``` Calendar 4.6.1 Contacts 5.5.0 Mail 3.5.0 Activity 2.20.0 Announcement center 6.7.0 Auditing / Logging 1.18.0 Auto Groups 1.5.2 Automated PDF conversion 1.13.0 Brute-force settings 2.8.0 Collaborative tags 1.18.0 Comments 1.18.0 Contacts Interaction 1.9.0 Dashboard 7.8.0 Deck 1.12.0 Deleted files 1.18.0 External sites 5.3.1 Federation 1.18.0 File access control 1.18.0 File reminders 1.1.0 File sharing 1.20.0 First run wizard 2.17.0 Impersonate 1.15.0 Log Reader 2.13.0 Mind Map 0.0.30 Monitoring 1.18.0 Nextcloud announcements 1.17.0 Notes 4.9.2 Notifications 2.16.0 ONLYOFFICE 9.0.0 Password policy 1.18.0 Passwords 2023.12.32 PDF viewer 2.9.0 Photos 2.4.0 Preview Generator 5.4.0 Privacy 1.12.0 Recommendations 2.0.0 Related Resources 1.3.0 Share by mail 1.18.0 Tables 0.6.5 Talk 18.0.1 Text 3.9.1 UnifiedPush Provider 1.4.2 Update notification 1.18.0 User status 1.8.1 Versions 1.21.0 Weather status 1.8. ```

Nextcloud configuration:

``` "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "***REMOVED SENSITIVE VALUE***" ], "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "session_keepalive": true, "allow_local_remote_servers": true, "overwritehost": "***REMOVED SENSITIVE VALUE***", "overwriteprotocol": "https", "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***", "htaccess.RewriteBase": "\/", "preview_concurrency_all": 4, "skeletondirectory": "\/mnt\/storage\/nextcloud\/skeleton", "log_type": "file", "logfile": "\/var\/log\/nextcloud.log", "loglevel": 3, "logdateformat": "F d, Y H:i:s", "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "28.0.1.1", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "filelocking.enabled": true, "memcache.local": "\\OC\\Memcache\\APCu", "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0 }, "mail_smtpmode": "smtp", "mail_smtpsecure": "ssl", "mail_sendmailmode": "smtp", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpauth": 1, "mail_smtpport": "465", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "filesystem_check_changes": 1, "maintenance": false, "theme": "" }, ```

Server log (data/nextcloud.log)

``` no related errors ```
nickvergessen commented 10 months ago

I can not reproduce this: Bildschirmaufzeichnung vom 2024-01-10 11-14-34.webm

Can you try to create a screen video?

RTechSn commented 10 months ago

As i fiddled around, the problem suddenly was gone. I suspect it has something to do with SmartProxy browser extension, which is installed on all our company computers. Although our Nextcloud domain name was not configured to go through a proxy, switching different modes on this extension has seemingly resolved the problem.

RTechSn commented 10 months ago

Closing for now.