Skip to content

Missing talk name org.freedesktop.secrets for flatpak package #36

@hafeoz

Description

@hafeoz

The flatpak package currently fails for me with following output:

2025-04-06T22:45:40.387972Z  INFO notify::application: running app_id=com.ranfdev.Notify version=0.1.6 profile= datadir=/app/share/notify
2025-04-06T22:45:40.758220Z  INFO notify::application: database_path=/home/hafeoz/.var/app/com.ranfdev.Notify/data/com.ranfdev.Notify.sqlite
thread '<unnamed>' panicked at ntfy-daemon/src/credentials.rs:23:22:
Failed to start Secret Service: DBus(Service(ZBus(MethodError(OwnedErrorName(ErrorName(Str(Owned("org.freedesktop.DBus.Error.ServiceUnknown")))), Some("org.freedesktop.DBus.Error.ServiceUnknown"), Msg { type: Error, reply-serial: 2, body: Signature("s") }))))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2025-04-06T22:45:41.144650Z ERROR notify::error: source="NotifyWindow" error=Disconnected: Error receiving data: Connection reset by peer

Adding org.freedesktop.secrets to Session Bus Talk Names using flatseal solves the issue for me.

System info: Hyprland/Arch Linux with GNOME Keyring

> flatpak info com.ranfdev.Notify

Notify - Receive notifications from ntfy.sh.

          ID: com.ranfdev.Notify
         Ref: app/com.ranfdev.Notify/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 0.1.6
     License: GPL-3.0-or-later
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 16.4?MB
     Runtime: org.gnome.Platform/x86_64/47
         Sdk: org.gnome.Sdk/x86_64/47

      Commit: 2c956282d8e155ebb478c66f7d7ca8369706a12b90302ab9028a4083f006285e
      Parent: 789bb6057d92a62c41231f6c017c67eb4ff4b64045d79aed5d4b9b1d00cf1fcc
     Subject: Update com.ranfdev.Notify.json (cf8dbb7f)
        Date: 2024-11-09 11:26:59 +0000

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions