[GH-ISSUE #174] Failed to connect IoError message: "No such file or directory" #1627

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

Originally created by @nishimi-ya on GitHub (Dec 1, 2024).
Original GitHub issue: https://github.com/JakeStanger/mpd-discord-rpc/issues/174

 mpd-discord-rpc          
2024-12-01T14:26:30.735370Z  INFO connect: mpd_protocol::connection: connected successfully version="0.23.5"
2024-12-01T14:26:30.735427Z  INFO mpd_utils::persistent_client: Connected to '127.0.0.1:6600'
2024-12-01T14:26:30.747349Z ERROR discord_presence::connection::manager: Failed to connect: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" })
2024-12-01T14:26:35.747596Z ERROR discord_presence::connection::manager: Failed to connect: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" })

Why is that happen? the error code is unclear of what's the missing file/directory.
Using equicord client in linux.

Originally created by @nishimi-ya on GitHub (Dec 1, 2024). Original GitHub issue: https://github.com/JakeStanger/mpd-discord-rpc/issues/174 ```shell  mpd-discord-rpc 2024-12-01T14:26:30.735370Z INFO connect: mpd_protocol::connection: connected successfully version="0.23.5" 2024-12-01T14:26:30.735427Z INFO mpd_utils::persistent_client: Connected to '127.0.0.1:6600' 2024-12-01T14:26:30.747349Z ERROR discord_presence::connection::manager: Failed to connect: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) 2024-12-01T14:26:35.747596Z ERROR discord_presence::connection::manager: Failed to connect: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) ``` Why is that happen? the error code is unclear of what's the missing file/directory. Using equicord client in linux.
Author
Owner

@JakeStanger commented on GitHub (Dec 1, 2024):

The program connects to the Discord RPC socket. If your custom client doesn't run the server it won't provide the socket, and the file won't exist

<!-- gh-comment-id:2510201853 --> @JakeStanger commented on GitHub (Dec 1, 2024): The program connects to the Discord RPC socket. If your custom client doesn't run the server it won't provide the socket, and the file won't exist
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#1627
No description provided.