nextcloud / nextcloud/richdocuments

Nextcloud Office fails to load document when Push service hangs

Open
#2,707 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug integration
Dominant language
JavaScript
Stars
453
Forks
147
Avg merge
14h 54m
Merged PRs (30d)
83

Description

Describe the bug
I think that it is since the upgrade to NC 25, that Nextcloud Office very often fails to load. I am running Nextcloud Office/Collabora in a docker container. Sometimes, it works after I have tried to load the document ten times, switched to another tab and switched back.

This happens only on Firefox, not Chrome.

To Reproduce
Steps to reproduce the behavior:

  1. Install NC office in docker
  2. Load a document

Expected behavior
Document should load in Nextcloud office

Screenshots
grafik

Client details:

  • OS: Debian GNU/Linux
  • Browser Firefox
  • Version 108
  • Device: Laptop

Server details

Operating system:
Ubuntu 20.04

Web server:
Nginx

Database:
Mariadb

PHP version:
7.4-fpm

Nextcloud version:

25.1

Version of the richdocuments app
7.0.2

Version of Collabora Online
22.05.9.2

Logs

Docker container log:

wsd-00001-00039 2022-12-28 15:35:47.840773 +0000 [ prisoner_poll ] WRN  An unassociated Kit disconnected.| wsd/COOLWSD.cpp:3290                       Forced Exit with code: 0                                                                                                                              
kit-01875-00040 2022-12-28 15:35:49.173175 +0000 [ kitbroker_03d ] FTL  Forced Exit with code: 0| common/Util.cpp:1117                                
wsd-00001-01889 2022-12-28 15:35:49.187728 +0000 [ docbroker_03d ] WRN  DocBroker [/opt/cool/child-roots/tmp/incoming/cool-EIot6X0tftPgz9E4/callbackwr
apper:] got disconnected from its Kit (1875). Closing.| wsd/COOLWSD.cpp:3283                                                                          
wsd-00001-00039 2022-12-28 15:35:49.188062 +0000 [ prisoner_poll ] WRN  Prisoner connection disconnected but without valid socket.| wsd/COOLWSD.cpp:3275                                                                                                                                                    
wsd-00001-00039 2022-12-28 15:35:49.188116 +0000 [ prisoner_poll ] WRN  An unassociated Kit disconnected.| wsd/COOLWSD.cpp:3290                       wsd-00001-00039 2022-12-29 06:23:05.423821 +0000 [ prisoner_poll ] WRN  Attempted ping on non-upgraded websocket! #28| net/WebSocketHandler.hpp:573   
Forced Exit with code: 0                                                                                                                              
kit-01890-00040 2022-12-29 06:23:08.026838 +0000 [ kitbroker_03e ] FTL  Forced Exit with code: 0| common/Util.cpp:1117                                
wsd-00001-01916 2022-12-29 06:23:08.041508 +0000 [ docbroker_03e ] WRN  DocBroker [/opt/cool/child-roots/tmp/incoming/cool-tgxmrFE9snmlGAWr/callbackwr
apper:] got disconnected from its Kit (1890). Closing.| wsd/COOLWSD.cpp:3283                                                                          
wsd-00001-00039 2022-12-29 06:23:08.042515 +0000 [ prisoner_poll ] WRN  Prisoner connection disconnected but without valid socket.|
Nextcloud log (data/nextcloud.log)
Insert your Nextcloud log here
Browser log
Insert your browser log here, this could for example include:

FAILED [richdocuments-viewer.js:2:1068919](https://cloud.*****/apps/richdocuments/js/richdocuments-viewer.js?v=c33922c9-139)
    loadingTimeout https://cloud.******/apps/richdocuments/js/richdocuments-viewer.js?v=c33922c9-139:2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the document-loading failure in Firefox and inspect the browser log entry for richdocuments-viewer.js: loadingTimeout alongside the supplied Docker container logs. Determine why loading fails when the Push service hangs, then verify that documents load reliably in Firefox under the reproduction steps.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.