[GH-ISSUE #14] Not connecting to Discord anymore. #809

Closed
opened 2026-05-23 00:58:09 +01:00 by JakeStanger · 8 comments
Owner

Originally created by @Phate6660 on GitHub (Feb 3, 2021).
Original GitHub issue: https://github.com/JakeStanger/mpd-discord-rpc/issues/14

Oddly enough, there are no errors or anything. It runs just like it usually does.

However, there is simply just no rich presence being displayed.

I'm not sure what the issue could be, as my own plus other rich presence programs work fine.

Though it did stop working after Discord updated, so that could be part of the issue.

Originally created by @Phate6660 on GitHub (Feb 3, 2021). Original GitHub issue: https://github.com/JakeStanger/mpd-discord-rpc/issues/14 Oddly enough, there are no errors or anything. It runs just like it usually does. However, there is simply just no rich presence being displayed. I'm not sure what the issue could be, as my own plus other rich presence programs work fine. Though it did stop working after Discord updated, so that could be part of the issue.
Author
Owner

@JakeStanger commented on GitHub (Feb 3, 2021):

Hm, I'm up to date (updated this evening) and it's working fine for me. Are you using Discord stable or Canary? I take it mpd-discord-rpc isn't producing any errors?

<!-- gh-comment-id:772895596 --> @JakeStanger commented on GitHub (Feb 3, 2021): Hm, I'm up to date (updated this evening) and it's working fine for me. Are you using Discord stable or Canary? I take it `mpd-discord-rpc` isn't producing any errors?
Author
Owner

@Phate6660 commented on GitHub (Feb 3, 2021):

Hmm, found the problem.

For some reason, it can't connect to Discord when ran from tmux.

Which is odd because it worked perfectly fine that way before.

<!-- gh-comment-id:772897783 --> @Phate6660 commented on GitHub (Feb 3, 2021): Hmm, found the problem. For some reason, it can't connect to Discord when ran from `tmux`. Which is odd because it worked perfectly fine that way before.
Author
Owner

@JakeStanger commented on GitHub (Feb 3, 2021):

That is very odd. I wonder if other RPC programs have that same issue. I can't see why tmux would get in the way of a socket connection?

Perhaps a plugin interfering?

<!-- gh-comment-id:772898334 --> @JakeStanger commented on GitHub (Feb 3, 2021): That is *very* odd. I wonder if other RPC programs have that same issue. I can't see why tmux would get in the way of a socket connection? Perhaps a plugin interfering?
Author
Owner

@Phate6660 commented on GitHub (Feb 3, 2021):

Nope, I'm not using any plugins.

My music setup has always been done through tmux and there were never any issues before.

I'm not sure what could have changed to cause that outcome unless maybe a tmux update or discord update broke it.

<!-- gh-comment-id:772901046 --> @Phate6660 commented on GitHub (Feb 3, 2021): Nope, I'm not using any plugins. My music setup has always been done through `tmux` and there were never any issues before. I'm not sure what could have changed to cause that outcome unless maybe a `tmux` update or discord update broke it.
Author
Owner

@Phate6660 commented on GitHub (Feb 3, 2021):

And I forgot to mention there are no errors.

mpd-discord-rpc even acts like it did in fact connect and is running fine.

<!-- gh-comment-id:772901964 --> @Phate6660 commented on GitHub (Feb 3, 2021): And I forgot to mention there are no errors. mpd-discord-rpc even acts like it did in fact connect and is running fine.
Author
Owner

@JakeStanger commented on GitHub (Feb 3, 2021):

Just installed tmux on Arch and tried running it from there, and it's definitely still working for me.

An oddity, and something to keep my eyes on I guess. It sounds like it's probably not a bug with my code at least.

mpd-discord-rpc even acts like it did in fact connect and is running fine.

I suspected this'd be the case. The rpc connection is a bit crap and just sorta silently falls over if it can't connect. I need to have a poke at it when I get time and see if I can improve that...

<!-- gh-comment-id:772902797 --> @JakeStanger commented on GitHub (Feb 3, 2021): Just installed `tmux` on Arch and tried running it from there, and it's definitely still working for me. An oddity, and something to keep my eyes on I guess. It sounds like it's *probably* not a bug with my code at least. > mpd-discord-rpc even acts like it did in fact connect and is running fine. I suspected this'd be the case. The rpc connection is a bit crap and just sorta silently falls over if it can't connect. I need to have a poke at it when I get time and see if I can improve that...
Author
Owner

@Phate6660 commented on GitHub (Mar 10, 2021):

Just wanted to comment and say that it's working through tmux now.
I'm not sure what the issue was, I never changed anything, it just started working again.

<!-- gh-comment-id:795632371 --> @Phate6660 commented on GitHub (Mar 10, 2021): Just wanted to comment and say that it's working through tmux now. I'm not sure what the issue was, I never changed anything, it just started working again.
Author
Owner

@JakeStanger commented on GitHub (Mar 10, 2021):

Thanks for letting me know, glad it's resolved.

An odd one...

<!-- gh-comment-id:795663486 --> @JakeStanger commented on GitHub (Mar 10, 2021): Thanks for letting me know, glad it's resolved. An odd one...
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#809
No description provided.