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]: Internal Words API Error #618

Closed fyah closed 6 months ago

fyah commented 7 months ago

⚠️ This issue respects the following points: ⚠️

Server Information

{
    "version": {                                                                                          "server": "27.1.4.1",                                                                             "app": "2023.11.30",
        "lsr": false,
        "php": "8.2.13",
        "cronPhp": "8.2.13"                                                                           },
    "environment": {
        "os": "Linux",
        "architecture": "x86_64",
        "bits": 64,
        "database": "pgsql",
        "cron": "cron",
        "proxy": false,
        "sslProxy": true,
        "subdirectory": false
    },
    "services": {
        "images": "imagick",
        "favicons": "bi",
        "previews": "default",
        "security": "hibp",
        "words": "leipzig",
        "previewApi": false,
        "faviconApi": true
    },
    "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: FF 120 Client OS and Version: Windows 10

Bug description

Hello, I have seen from the application logs

image

GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to api.corpora.uni-leipzig.de port 80 after 35 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://api.corpora.uni-leipzig.de/ws/corpora/availableCorpora

So I have contacted the people in charge of uni leipzig to notify them that api was not reachable.

Bellow their answer:

The domain you mentioned is indeed inactive at the moment, due to a new firewall being setup for the whole university network. You can still find the API under a newer domain here [1]. However, we are also working on a fix for the old one.

One question in return. You mentioned:

This API is being used by the nextcloud password application (this
is how I noticed) Could you elaborate on this? We are not aware of any application actively using our API - and I'm not quite sure how a password app would utilize this service?

Best regards, Felix Helfer

[1] https://api.wortschatz-leipzig.de/

Steps to reproduce

Use the password nextcloud app to generate a new password

image

Use the extension and try to generate a new password

image

Expected behavior

A new password is generated

Nextcloud Logs

No response

Browser Logs

No response

llaumgui commented 6 months ago

Hi,

now I have an another issue:

image

fyah commented 6 months ago

here the update solved the problem

image

marius-wieschollek commented 6 months ago

@llaumgui Can you check your nextcloud log for the error message?

llaumgui commented 6 months ago

@llaumgui Can you check your nextcloud log for the error message?

@marius-wieschollek it's solved. It was a OPCode issue. Restarting my docker container solve it.