Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discord RPC_CONNECTION_TIMEOUT #891

Closed
Technetium1 opened this issue Nov 21, 2022 · 12 comments
Closed

Discord RPC_CONNECTION_TIMEOUT #891

Technetium1 opened this issue Nov 21, 2022 · 12 comments

Comments

@Technetium1
Copy link

Discord Rich Presence isn't working for me. I tried to reconnect, and this is the error:
Screenshot_1578

I also use PreMiD, which uses Discord RPC, so I closed PreMiD thinking it may be a new problem, relaunched ytm, and the same error appears on reconnect. Previously, it worked fine alongside PreMiD, and both activities were shown at the same time. I don't know when exactly this stopped working, but it was fine around 2 weeks ago.

Happy to provide any other details that might help.

@JustTNE
Copy link

JustTNE commented Nov 21, 2022

Hi Tech! Fancy seeing you here :P
This is actually just #879, not sure why that one was closed, it's definitely still an issue and I don't see a commit fixing it.

@unrelatedact
Copy link

Yeah the problem was just because the Discord app ID was invalid and can't make an RPC connection. If you want an instant fix you can try to build ytm yourself and everything should work just fine since #888 was accepted to change the app id. Otherwise you could just wait until the next update releases.

@Crawron
Copy link

Crawron commented Nov 22, 2022

Hi Tech! Fancy seeing you here :P This is actually just #879, not sure why that one was closed, it's definitely still an issue and I don't see a commit fixing it.

#879 was fixed in ee01ae1

@juleast
Copy link

juleast commented Nov 22, 2022

Hi Tech! Fancy seeing you here :P This is actually just #879, not sure why that one was closed, it's definitely still an issue and I don't see a commit fixing it.

#879 was fixed in ee01ae1

But there is no new release referencing this change. I think for now in order to use the app, you have to build it yourself....

@Technetium1
Copy link
Author

As mentioned in my initial post, I have built the latest commit that is available on master branch. The full version is 1.18.0.r33.g335d515-1 from commit 335d515. If this issue is actually identical to 879, then this confirms it wasn't fixed in any of the recent commits.

@Crawron
Copy link

Crawron commented Nov 23, 2022

The issue in 879 displays a different error message, "Connection closed". I can confirm that 879 was fixed after building the newest commit. This is a different issue, tho it seems to happen at a similar time, when starting the RPC client.

In 879, the plugin managed to connect to Discord, but the connection was closed since the client ID stopped working, the client ID has been changed to a working one as of the latest commit. My guess is that in this case the plugin fails to connect with Discord altogether, for some reason

@Zo-Bro-23
Copy link
Contributor

I fixed this issue in ee01ae1 - don't know why it's still an issue. My build uses this commit, and it's still working. The Discord plugin files weren't changed after that, so that can't be the problem. How are you building the app? Package repositories and releases aren't updated yet (@th-ch?), probably since this is a minor change. Try using yarn build or yarn build:linux (after running yarn first of course).

@Technetium1
Copy link
Author

Technetium1 commented Nov 25, 2022

Well, it seems to be working now, but I'm not sure why! I'm still using the same exact build and have changed nothing. In case it stops working again, I'll wait a day to close this, since I can't open it back up myself.

@Zo-Bro-23
Copy link
Contributor

That's weird! Maybe you mixed up the commits and you were actually building an old version, or maybe there was some issue with the Discord token. I'm glad is working now though, and please let us know if you face any more issues!

@Technetium1
Copy link
Author

I'm 100% sure I'm still on the same commit. I wonder if there was a temporary issue with the token.

@Zo-Bro-23
Copy link
Contributor

Possibly. Let me know if you face further issues though, since the token is registered with my Discord account, so I'll need to debug it.

@Technetium1
Copy link
Author

Seems to be working fine still! I checked the dependencies of the package to see if anything changed, and nothing related to this has been changed in weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants