marius-wieschollek / passwords

A simple, yet feature rich password manager for Nextcloud
GNU Affero General Public License v3.0
201 stars 39 forks source link

[BUG]: error message "construct(): Argument #2 ($code) must be of type int" #648

Closed GUNT0815 closed 3 months ago

GUNT0815 commented 3 months ago

⚠️ This issue respects the following points: ⚠️

Server Information

{
    "version": {
        "server": "28.0.3.2",
        "app": "2024.3.20",
        "lsr": false,
        "php": "8.2.16",
        "cronPhp": "8.2.16"
    },
    "environment": {
        "os": "Linux",
        "architecture": "x86_64",
        "bits": 64,
        "database": "pgsql",
        "cron": "cron",
        "proxy": false,
        "sslProxy": true,
        "subdirectory": false
    },
    "services": {
        "images": "imaginary",
        "favicons": "bi",
        "previews": "pageres",
        "security": "hibp",
        "words": "auto",
        "previewApi": false,
        "faviconApi": false
    },
    "status": {
        "autoBackupRestored": false
    },
    "settings": {
        "channel": "stable",
        "nightlies": false,
        "handbook": false,
        "performance": 5
    },
    "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 124.01 Client OS and Version: ZorinOS 17.01

Bug description

error log shows:

[passwords] Fatal: Exception::__construct(): Argument #2 ($code) must be of type int, GuzzleHttp\Exception\ClientException given GET /index.php/apps/passwords/api/1.0/service/favicon/eisencloud.de/32

Steps to reproduce

Expected behavior

no error message

Nextcloud Logs

[passwords] Fatal: Exception::__construct(): Argument #2 ($code) must be of type int, GuzzleHttp\Exception\ClientException given
    GET /index.php/apps/passwords/api/1.0/service/favicon/kinghp5.lan:9080/32
    from 192.168.1.1 by user at Mar 27, 2024, 11:51:11 AM

Browser Logs

n.a.
marius-wieschollek commented 3 months ago

https://github.com/marius-wieschollek/passwords/issues/646