"False alarm" after hibernation wake-up: Doxument could not be loaded, lost connection
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- javascript
- 领域
- frontend, networking
调研方向
使用文本文件复现休眠和唤醒流程,然后从浏览器日志中与文件内容获取和 PollingBackend:fetchSteps 网络错误相关的条目开始。跟踪连接恢复和文档更新如何影响通知。完成的标准是:成功重新加载或更新的文档不再保留“连接已丢失”或“无法加载”消息。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
Although the latest version is loaded, the editor claims that the document could not be loaded and the connection is lost.
To Reproduce
- Open a text document with some content in the browser and hibernate the computer
- Use a different device to add some text to the document
- Start the hibernated computer again and watch the browser window
- At first nothing happens, no notification of a lost connection or alike
- Then the document is automatically updated, i.e. the text added on the second device appears
- But at the same time the notification at the bottom of the screen appears. that the connection was lost and the document could not be loaded.
Expected behavior
If the document can be loaded/updated, do not show that error message or "remove" it, cancel it as soon as the connection is re-established.
Screenshots
Server details:
- Nextcloud version: 33.0.7
- PHP Version: 8.3.32
- Database: PostgreSQL 18.4
Client details:
- OS: Windows
- Browser: Firefox
- Browser version: 153.0.1
- Device: notebook
Logs
Nextcloud log (data/nextcloud.log)
Insert your Nextcloud log here
Browser log
[WARN] viewer: Some mimes were ignored because they are not enabled in the server previews config
Object { app: "viewer", uid: "username", level: 2, ignoredMimes: (1) […] }
previewUtils-Dqoyaeqv.chunk.mjs:5:313
Notifications permissions granted NotificationsApp-nYK0QT1r.chunk.mjs:86:58933
Has notify_push enabled, slowing polling to 15 minutes NotificationsApp-nYK0QT1r.chunk.mjs:86:54457
Polling interval updated to 900000 NotificationsApp-nYK0QT1r.chunk.mjs:86:58364
Started background fetcher as session_keepalive is enabled NotificationsApp-nYK0QT1r.chunk.mjs:86:55524
Got notification data, restoring default polling interval. NotificationsApp-nYK0QT1r.chunk.mjs:86:57319
[ERROR] files: Error while fetching content
Object { app: "files", uid: "username", level: 2, error: DOMException }
core-common.js:1:2984825
[ERROR] files: Error while fetching content
Object { app: "files", uid: "username", level: 2, error: DOMException }
core-common.js:1:2984825
[WARN] viewer: No files provided, skipping update
Object { app: "viewer", uid: "username", level: 2 }
previewUtils-Dqoyaeqv.chunk.mjs:5:313
File info for /Dokumente/E/Waldsee.md fetched
Object { filename: Getter & Setter, basename: Getter & Setter, lastmod: Getter & Setter, size: Getter & Setter, type: Getter & Setter, etag: Getter & Setter, mime: Getter & Setter, tags: Getter & Setter, getcontentlength: Getter & Setter, getcontenttype: Getter & Setter, … }
viewer-main.mjs:8:15411
[ERROR] text: [PollingBackend:fetchSteps] Network error when fetching steps, retry 1
Object { app: "text", uid: "username", level: 2 }
index-zDAq7SQt.chunk.mjs:4:374
Die Verbindung zu wss://doma.in/push/ws wurde unterbrochen, während die Seite geladen wurde. NotificationsApp-nYK0QT1r.chunk.mjs:10:10931
Network is offline, slowing down pollingInterval to 9000000 NotificationsApp-nYK0QT1r.chunk.mjs:86:55176
Polling interval updated to 9000000 NotificationsApp-nYK0QT1r.chunk.mjs:86:58364
Started background fetcher as session_keepalive is enabled NotificationsApp-nYK0QT1r.chunk.mjs:86:55524
Request to https://doma.in/ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json failed because of a CSRF mismatch. Fetching a new token. index-CIlSxMEd.chunk.mjs:9:5994
Network is online, reseting pollingInterval to 900000 NotificationsApp-nYK0QT1r.chunk.mjs:86:55359
Polling interval updated to 900000 NotificationsApp-nYK0QT1r.chunk.mjs:86:58364
Started background fetcher as session_keepalive is enabled NotificationsApp-nYK0QT1r.chunk.mjs:86:55524
Slowing down notifications: Status 500 NotificationsApp-nYK0QT1r.chunk.mjs:86:57966
Polling interval updated to 9000000 NotificationsApp-nYK0QT1r.chunk.mjs:86:58364
Started background fetcher as session_keepalive is enabled NotificationsApp-nYK0QT1r.chunk.mjs:86:55524
- 主要语言
- JavaScript
- 星标
- 665
- 派生
- 133
- 平均合并
- 1 天 17 小时
- 30 天内合并 PR
- 172
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/text 的其他 Issue
-
0. Needs triage bug
难度 2/5 1-3 小时 新手友好度 67/100
nextcloud/text#9482 · 1 个 reaction ·
维护者通常 1 天内回复
-
0. Needs triage bug
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
folder description not shows when using folder tree to navigate可能重新可做 关联的 PR 已关闭且未合并。 未关闭bug feature: folder description
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
1. to develop design call discuss discussion ux
难度 5/5 一周以上 新手友好度 35/100
维护者通常 1 天内回复
-
bug
难度 3/5 1-2 天 新手友好度 58/100
维护者通常 1 天内回复
相似的 Issue
-
step.duration reflects only the last retry attempt (HelperStep.run() overwrites startTime)可能已有人在做 @mirao 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
codeceptjs/CodeceptJS#5774 · 1 条评论 ·
维护者通常 2 天内回复
-
Status: Unconfirmed
难度 1/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
AllTheMods/ATM10-Aeronautics#151 ·
维护者通常 4 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
feimacode/open-design-agent-kit#66 ·
维护者通常 1 天内回复