marius-wieschollek / passwords-webextension

The official browser extension for the Passwords app for Nextcloud.
GNU General Public License v3.0
103 stars 31 forks source link

[BUG]: Extension shows "no elements" after upgrading to NC 28 #276

Open andrewille opened 6 months ago

andrewille commented 6 months ago

⚠️ This issue respects the following points: ⚠️

Server Information

{
    "version": {
        "server": "28.0.1.1",
        "app": "2023.12.32",
        "lsr": false,
        "php": "8.2.14",
        "cronPhp": "8.2.14"
    },
    "environment": {
        "os": "Linux",
        "architecture": "aarch64",
        "bits": 64,
        "database": "pgsql",
        "cron": "cron",
        "proxy": false,
        "sslProxy": false,
        "subdirectory": false
    },
    "services": {
        "images": "imagick",
        "favicons": "local",
        "previews": "default",
        "security": "hibp",
        "words": "random",
        "previewApi": false,
        "faviconApi": false
    },
    "status": {
        "autoBackupRestored": false
    },
    "settings": {
        "channel": "stable",
        "nightlies": false,
        "handbook": false,
        "performance": 1
    },
    "encryption": {
        "sse": {
            "SSEv1r1": false,
            "SSEv1r2": true,
            "SSEv2r1": false,
            "SSEv3r1": false,
            "none": false,
            "default": "SSEv1r2"
        },
        "cse": {
            "CSEv1r1": false,
            "none": true,
            "default": "none"
        }
    }
}

Client Information

Browser and Version: Firefox 121.0 Client OS and Version: Linux Mint 21.2 Extension Version: 2.5.0

Bug description

Hello, I upgraded my NextCloud instance to version 28. I did it by pulling the latest Docker container and running it. Everything works just fine. But your extension is no longer working for me, unfortunately. It shows "no elements found" and loads indefinitely when I click on the reload button. Other apps (like the Android app "NC passwords") do still work.

What I tried so far:

Steps to reproduce

Update a running instance of NC 27 in Docker behind an Nginx reverse proxy with recommended config to NC 28. Then try to load your passwords from the extension.

Expected behavior

I expect my passwords to show up obv. They are not being offered for autofill either. They're not received anymore from my server.

Extension Logs

[
    {
        "details": {
            "data": {
                "module": {},
                "message": {
                    "id": "fe23dda3-beec-4e09-b2fb-1f402efbb84e",
                    "tab": null,
                    "type": "server.reload",
                    "reply": null,
                    "silent": false,
                    "sender": "popup",
                    "channel": "runtime",
                    "payload": "61730d89-182d-4ef6-ad73-e7a6add0c014",
                    "receiver": "background"
                },
                "reply": {
                    "id": "afcd1216-5356-46cd-ac0f-3693a1a84597",
                    "tab": null,
                    "type": null,
                    "reply": "fe23dda3-beec-4e09-b2fb-1f402efbb84e",
                    "silent": false,
                    "sender": "background",
                    "channel": "runtime",
                    "payload": null,
                    "receiver": "popup"
                }
            },
            "message": "this._authQueue is null",
            "file": "moz-extension://f35451b9-b044-4fd5-8e11-dd23a789b3d1/js/background.js",
            "line": 2,
            "stack": "addServer@moz-extension://f35451b9-b044-4fd5-8e11-dd23a789b3d1/js/background.js:2:755801\n",
            "time": 1704906468935
        },
        "error": {
            "name": "TypeError",
            "stack": [
                "addServer@moz-extension://f35451b9-b044-4fd5-8e11-dd23a789b3d1/js/background.js:2:755801",
                ""
            ],
            "string": "TypeError: this._authQueue is null",
            "fileName": "moz-extension://f35451b9-b044-4fd5-8e11-dd23a789b3d1/js/background.js",
            "lineNumber": 2,
            "columnNumber": 755801,
            "message": "this._authQueue is null"
        }
    },
    {
        "details": {
            "data": {
                "event": {
                    "isTrusted": true
                }
            },
            "message": "Could not open database",
            "file": "moz-extension://f35451b9-b044-4fd5-8e11-dd23a789b3d1/js/background.js",
            "line": 2,
            "stack": "7588/load/e.onerror@moz-extension://f35451b9-b044-4fd5-8e11-dd23a789b3d1/js/background.js:2:793554\n",
            "time": 1704906426190
        },
        "error": {
            "name": "Error",
            "stack": [
                "7588/load/e.onerror@moz-extension://f35451b9-b044-4fd5-8e11-dd23a789b3d1/js/background.js:2:793554",
                ""
            ],
            "string": "Error: Could not open database",
            "fileName": "moz-extension://f35451b9-b044-4fd5-8e11-dd23a789b3d1/js/background.js",
            "lineNumber": 2,
            "columnNumber": 793554,
            "message": "Could not open database"
        }
    }
]