Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

"False alarm" after hibernation wake-up: Doxument could not be loaded, lost connection

Đang mở
#8,990 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
javascript
Lĩnh vực
frontend, networking

Hướng nghiên cứu

Tái hiện chuỗi ngủ đông và đánh thức bằng một tài liệu văn bản, sau đó bắt đầu từ các mục nhật ký của trình duyệt về việc lấy nội dung tệp và lỗi mạng của PollingBackend:fetchSteps. Theo dõi cách việc khôi phục kết nối và cập nhật tài liệu ảnh hưởng đến thông báo. Được xem là hoàn tất khi một tài liệu được tải lại hoặc cập nhật thành công không còn giữ thông báo “mất kết nối” hoặc “không thể tải”.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

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

  1. Open a text document with some content in the browser and hibernate the computer
  2. Use a different device to add some text to the document
  3. Start the hibernated computer again and watch the browser window
  4. At first nothing happens, no notification of a lost connection or alike
  5. Then the document is automatically updated, i.e. the text added on the second device appears
  6. 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

Image

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
Ngôn ngữ chính
JavaScript
Star
665
Fork
133
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
172

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextcloud/text

Tất cả issue của nextcloud/text

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.