[GH-ISSUE #203] DRPC client fails to start if discord desktop app is not running #1099

Closed
opened 2026-05-23 01:58:22 +01:00 by JakeStanger · 1 comment
Owner

Originally created by @nils-derenthal on GitHub (Apr 27, 2025).
Original GitHub issue: https://github.com/JakeStanger/mpd-discord-rpc/issues/203

When the discord desktop app is not running I get the following errors:

Apr 27 19:32:18 archlinux mpd-discord-rpc[49581]: 2025-04-27T17:32:18.685232Z  INFO mpd_discord_rpc: starting drpc client
Apr 27 19:32:18 archlinux mpd-discord-rpc[49581]: 2025-04-27T17:32:18.685378Z ERROR discord_presence::connection::manager: Failed to connect: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Apr 27 19:32:18 archlinux mpd-discord-rpc[49581]: Context { event: Error(ErrorEvent { code: None, message: Some("Io Error") }) }
Apr 27 19:32:18 archlinux mpd-discord-rpc[49581]: JDFJDFJDF
Apr 27 19:32:18 archlinux mpd-discord-rpc[49581]: 2025-04-27T17:32:18.685421Z ERROR mpd_discord_rpc: Io Error

It seems as if the ipc channel (/run/user/1000/discord-ipc-0) is not present when discord is not running but the client expects that.

Originally created by @nils-derenthal on GitHub (Apr 27, 2025). Original GitHub issue: https://github.com/JakeStanger/mpd-discord-rpc/issues/203 When the discord desktop app is not running I get the following errors: ``` Apr 27 19:32:18 archlinux mpd-discord-rpc[49581]: 2025-04-27T17:32:18.685232Z INFO mpd_discord_rpc: starting drpc client Apr 27 19:32:18 archlinux mpd-discord-rpc[49581]: 2025-04-27T17:32:18.685378Z ERROR discord_presence::connection::manager: Failed to connect: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) Apr 27 19:32:18 archlinux mpd-discord-rpc[49581]: Context { event: Error(ErrorEvent { code: None, message: Some("Io Error") }) } Apr 27 19:32:18 archlinux mpd-discord-rpc[49581]: JDFJDFJDF Apr 27 19:32:18 archlinux mpd-discord-rpc[49581]: 2025-04-27T17:32:18.685421Z ERROR mpd_discord_rpc: Io Error ``` It seems as if the `ipc` channel (`/run/user/1000/discord-ipc-0`) is not present when discord is not running but the client expects that.
JakeStanger 2026-05-23 01:58:22 +01:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@JakeStanger commented on GitHub (Jun 22, 2025):

The client attempts to reconnect every 5 seconds until the IPC is running, this is working as expected.

<!-- gh-comment-id:2994236808 --> @JakeStanger commented on GitHub (Jun 22, 2025): The client attempts to reconnect every 5 seconds until the IPC is running, this is working as expected.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/mpd-discord-rpc#1099
No description provided.