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]: Sharing not working #630

Closed friedrichkeydel closed 4 months ago

friedrichkeydel commented 5 months ago

⚠️ This issue respects the following points: ⚠️

Server Information

{
    "version": {
        "server": "28.0.1.1",
        "app": "2024.1.20",
        "lsr": false,
        "php": "8.2.13",
        "cronPhp": "8.1.26"
    },
    "environment": {
        "os": "Linux",
        "architecture": "x86_64",
        "bits": 64,
        "database": "mysql",
        "cron": "cron",
        "proxy": false,
        "sslProxy": false,
        "subdirectory": false
    },
    "services": {
        "images": "imagick",
        "favicons": "local",
        "previews": "default",
        "security": "hibp",
        "words": "leipzig",
        "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 121.0.1 Client OS and Version: MacOS 14.2.1

Bug description

Sharing does not work anymore

The Passwords App tries to reach /apps/passwords/api/cron/sharing and does not get proper response.

Error: Content type mismatch: Expected application/json, got text/html; charset=UTF-8

Steps to reproduce

  1. Select "Share" on password item
  2. Type in name to share with
  3. Nothing happens after one minute or so
  4. After that, the selected person appears, but loading indicator circles forever

Expected behavior

  1. Select "Share" on password item
  2. Type in name to share with
  3. Shared successfull

Nextcloud Logs

No response

Browser Logs

Error: Content type mismatch: Expected application/json, got text/html; charset=UTF-8
marius-wieschollek commented 5 months ago

This should already be fixed in the nightly version.

The sharing process should still finish even with the bug, it just takes longer.

friedrichkeydel commented 5 months ago

thank you, it's indeed fixed with the current nightly build!