Skip to content

Opening a document after a document is no longer working on Firefox (Nightly and Stable) #5936

Description

@SeDi343

Describe the bug
When opening a document after a document on Firefox it takes a time to load and in the end exits with error "Laden des Dokuments fehlgeschlagen". It works flawless on Chrome, Chromium Based Browsers and Safari. This was working before the latest Nextcloud Office (Collabora) Version 11.1.0 Update.

Image

To Reproduce
Steps to reproduce the behavior:

  1. Start Firefox web browser (Stable or Nightly)
  2. Open first document
  3. Close document
  4. Open other document
  5. Get Error (or application occasionally opens without loading the document)

Expected behavior
Opening of other document flawless like first one

Screenshots

Image Image

Client details:

  • OS: Ubuntu 24.04 / Mac OS 26.5 / Fedora 44
  • Browser: Firefox Nightly 155.0a1 / Firefox 153.0.0
  • Device: desktop

Server details

Operating system: Fedora 44

Web server: Apache/2.4.68 (Fedora Linux)

Database: mysql 8.4.10

PHP version: PHP 8.5.8 (cli)

Nextcloud version: 34.0.2

Version of the richdocuments app 11.1.0

Version of Collabora Online Collabora Online Development Edition 26.04.2.4 2229109277

Configuration of the richdocuments app (No idea what you mean with this)

Insert the output of `./occ config:list richdocuments` (or equivalent adapted for your runtime environment)

> sudo -E -u apache ./occ config:list richdocuments
{
    "apps": {
        "richdocuments": {
            "disable_certificate_verification": "",
            "doc_format": "ooxml",
            "enabled": "yes",
            "installed_version": "11.1.0",
            "public_wopi_url": "https:\/\/cloud.domain.example",
            "types": "filesystem,prevent_group_restriction",
            "wopi_allowlist": "redacted_public_ip, 192.168.178.0\/24, 192.168.1.0\/24, 127.0.0.1",
            "wopi_url": "https:\/\/cloud.domain.example"
        }
    }
}
Logs

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

these are the last two entries

{"reqId":"OD6XsApECTFVYNw2S8HE","level":3,"time":"2026-07-25T15:45:02+00:00","remoteAddr":"","user":"--","app":"richdocuments","method":"","url":"--","scriptName":"/var/www/html/nextcloud/cron.php","message":"Failed to fetch capabilities: Server error: `GET https://cloud.example.domain/hosting/capabilities` resulted in a `502 Bad Gateway` response:\n<!doctype html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"utf-8\">\n  <title>502: Bad Gateway</title>\n  <meta name=\"viewpor (truncated...)\n","userAgent":"--","version":"34.0.2.1","occ_command":["/var/www/html/nextcloud/cron.php"],"exception":{"Exception":"GuzzleHttp\\Exception\\ServerException","Message":"Server error: `GET https://cloud.example.domain/hosting/capabilities` resulted in a `502 Bad Gateway` response:\n<!doctype html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"utf-8\">\n  <title>502: Bad Gateway</title>\n  <meta name=\"viewpor (truncated...)\n","Code":502,"Trace":[{"file":"/var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":72,"function":"create","class":"GuzzleHttp\\Exception\\RequestException","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php","line":209,"function":"{closure:{closure:{closure:GuzzleHttp\\Middleware::httpErrors():60}:61}:67}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php","line":158,"function":"callHandler","class":"GuzzleHttp\\Promise\\Promise","type":"::"},{"file":"/var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/TaskQueue.php","line":52,"function":"{closure:GuzzleHttp\\Promise\\Promise::settle():156}","class":"GuzzleHttp\\Promise\\Promise","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php","line":251,"function":"run","class":"GuzzleHttp\\Promise\\TaskQueue","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php","line":227,"function":"invokeWaitFn","class":"GuzzleHttp\\Promise\\Promise","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php","line":272,"function":"waitIfPending","class":"GuzzleHttp\\Promise\\Promise","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php","line":229,"function":"invokeWaitList","class":"GuzzleHttp\\Promise\\Promise","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php","line":69,"function":"waitIfPending","class":"GuzzleHttp\\Promise\\Promise","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":231,"function":"wait","class":"GuzzleHttp\\Promise\\Promise","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Http/Client/Client.php","line":214,"function":"request","class":"GuzzleHttp\\Client","type":"->"},{"file":"/var/www/html/nextcloud/apps/richdocuments/lib/Service/CapabilitiesService.php","line":135,"function":"get","class":"OC\\Http\\Client\\Client","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/apps/richdocuments/lib/Service/CachedRequestService.php","line":74,"function":"sendRequest","class":"OCA\\Richdocuments\\Service\\CapabilitiesService","type":"->"},{"file":"/var/www/html/nextcloud/apps/richdocuments/lib/Backgroundjobs/ObtainCapabilities.php","line":37,"function":"fetch","class":"OCA\\Richdocuments\\Service\\CachedRequestService","type":"->"},{"file":"/var/www/html/nextcloud/lib/public/BackgroundJob/Job.php","line":50,"function":"run","class":"OCA\\Richdocuments\\Backgroundjobs\\ObtainCapabilities","type":"->"},{"file":"/var/www/html/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":86,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/html/nextcloud/core/Service/CronService.php","line":204,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->"},{"file":"/var/www/html/nextcloud/core/Service/CronService.php","line":107,"function":"runCli","class":"OC\\Core\\Service\\CronService","type":"->"},{"file":"/var/www/html/nextcloud/cron.php","line":52,"function":"run","class":"OC\\Core\\Service\\CronService","type":"->"}],"File":"/var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/Exception/RequestException.php","Line":115,"message":"Failed to fetch capabilities: Server error: `GET https://cloud.example.domain/hosting/capabilities` resulted in a `502 Bad Gateway` response:\n<!doctype html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"utf-8\">\n  <title>502: Bad Gateway</title>\n  <meta name=\"viewpor (truncated...)\n","exception":"{\"class\":\"GuzzleHttp\\Exception\\ServerException\",\"message\":\"Server error: `GET https://cloud.example.domain/hosting/capabilities` resulted in a `502 Bad Gateway` response:\\n<!doctype html>\\n<html lang=\\\"en\\\">\\n<head>\\n  <meta charset=\\\"utf-8\\\">\\n  <title>502: Bad Gateway</title>\\n  <meta name=\\\"viewpor (truncated...)\\n\",\"code\":502,\"file\":\"/var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/Exception/RequestException.php:115\",\"trace\":\"#0 /var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php(72): GuzzleHttp\\Exception\\RequestException::create()\\n#1 /var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php(209): GuzzleHttp\\Middleware::{closure:{closure:{closure:GuzzleHttp\\Middleware::httpErrors():60}:61}:67}()\\n#2 /var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php(158): GuzzleHttp\\Promise\\Promise::callHandler()\\n#3 /var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/TaskQueue.php(52): GuzzleHttp\\Promise\\Promise::{closure:GuzzleHttp\\Promise\\Promise::settle():156}()\\n#4 /var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php(251): GuzzleHttp\\Promise\\TaskQueue->run()\\n#5 /var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php(227): GuzzleHttp\\Promise\\Promise->invokeWaitFn()\\n#6 /var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php(272): GuzzleHttp\\Promise\\Promise->waitIfPending()\\n#7 /var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php(229): GuzzleHttp\\Promise\\Promise->invokeWaitList()\\n#8 /var/www/html/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php(69): GuzzleHttp\\Promise\\Promise->waitIfPending()\\n#9 /var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php(231): GuzzleHttp\\Promise\\Promise->wait()\\n#10 /var/www/html/nextcloud/lib/private/Http/Client/Client.php(214): GuzzleHttp\\Client->request()\\n#11 /var/www/html/nextcloud/apps/richdocuments/lib/Service/CapabilitiesService.php(135): OC\\Http\\Client\\Client->get()\\n#12 /var/www/html/nextcloud/apps/richdocuments/lib/Service/CachedRequestService.php(74): OCA\\Richdocuments\\Service\\CapabilitiesService->sendRequest()\\n#13 /var/www/html/nextcloud/apps/richdocuments/lib/Backgroundjobs/ObtainCapabilities.php(37): OCA\\Richdocuments\\Service\\CachedRequestService->fetch()\\n#14 /var/www/html/nextcloud/lib/public/BackgroundJob/Job.php(50): OCA\\Richdocuments\\Backgroundjobs\\ObtainCapabilities->run()\\n#15 /var/www/html/nextcloud/lib/public/BackgroundJob/TimedJob.php(86): OCP\\BackgroundJob\\Job->start()\\n#16 /var/www/html/nextcloud/core/Service/CronService.php(204): OCP\\BackgroundJob\\TimedJob->start()\\n#17 /var/www/html/nextcloud/core/Service/CronService.php(107): OC\\Core\\Service\\CronService->runCli()\\n#18 /var/www/html/nextcloud/cron.php(52): OC\\Core\\Service\\CronService->run()\\n#19 {main}\"}","CustomMessage":"Failed to fetch capabilities: Server error: `GET https://cloud.example.domain/hosting/capabilities` resulted in a `502 Bad Gateway` response:\n<!doctype html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"utf-8\">\n  <title>502: Bad Gateway</title>\n  <meta name=\"viewpor (truncated...)\n"}}
{"reqId":"juijNQD56bZND5oQHXoW","level":2,"time":"2026-07-26T07:05:01+00:00","remoteAddr":"","user":"--","app":"updatenotification","method":"","url":"--","scriptName":"/var/www/html/nextcloud/cron.php","message":"Cleared old `updater.secret` that was created 174987 seconds ago","userAgent":"--","version":"34.0.2.1","occ_command":["/var/www/html/nextcloud/cron.php"],"data":{"app":"updatenotification"}}

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
<img width="2560" height="1398" alt="Image" src="https://github.com/user-attachments/assets/987fd34d-2f31-4ba6-a006-c2f98c5f0e78" />
c) Browser console log
<img width="1280" height="1358" alt="Image" src="https://github.com/user-attachments/assets/6ceaa2bb-55ba-4099-be1b-af9befd63a9d" />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions