vscord icon indicating copy to clipboard operation
vscord copied to clipboard

RPC not starting & showing in discord

Open flustix opened this issue 3 years ago β€’ 24 comments

Every time i try starting the rpc by pressing F1 and typing "Discord Rich Presence: Enable Discord Presence in the current workspace" it gives me this error, and nothing is showing up in my discord activity

image

flustix avatar Sep 19 '21 13:09 flustix

Same issue

Ranger-4297 avatar Sep 21 '21 18:09 Ranger-4297

https://github.com/LeonardSSH/vscord/issues/38#issuecomment-974157634

leonardssh avatar Nov 19 '21 15:11 leonardssh

Same here. None of the commands work.

TechStudent10 avatar Jan 28 '22 21:01 TechStudent10

#38 (comment)

@LeonardSSH None work for me. I installed Discord from https://discord.com, I've restarted both programs and nothing works.

TechStudent10 avatar Jan 28 '22 21:01 TechStudent10

Hey @TechStudent1, I know the problem, I spotted it some time ago, still haven't tried to find a solution, but I'll look into it.

Question, does the extension not work at all? Or just its commands?

leonardssh avatar Jan 28 '22 22:01 leonardssh

Hey @TechStudent1, I know the problem, I spotted it some time ago, still haven't tried to find a solution, but I'll look into it.

Question, does the extension not work at all? Or just its commands?

None of the commands work and just throw errors.

And my Discord doesn't update with the Rich Presence.

TechStudent10 avatar Jan 28 '22 23:01 TechStudent10

Have you tried a fresh install of the extension?

Can you show me what your logs show? image

leonardssh avatar Jan 28 '22 23:01 leonardssh

wait It's...

working

image

TechStudent10 avatar Jan 28 '22 23:01 TechStudent10

That's good, it means it connects to the discord-ipc.

  1. Do you have other extensions like this that may disrupt the functionality of my extension?
  2. Have you tried other extensions like this, do those work?

leonardssh avatar Jan 28 '22 23:01 leonardssh

I'm having the same problem for some time now, it's really weird, sometimes it just won't show on discord. Trying to start it manually doesn't work either, and sometimes just restarting vscode works.

Checking the rpc logs, this is all I have: image image image

Note: I have 2 instances running right now but this has never been a problem in the past, and it also breaks with only one instance running too. It's just very weird.

When it breaks, it seems to attempt a connection, and upon trying to connect manually this happens: image

It also says rpc.disable doesn't exist.

I haven't reinstalled it yet to see if it goes back to working as it used to, but I'm just noting this here in case it persists even after a fresh install.

LucasVinicius314 avatar Jan 29 '22 14:01 LucasVinicius314

1. Do you have other extensions like this that may disrupt the functionality of my extension?

I don't think so.

2. Have you tried other extensions like this, do those work?

Yes I have. icrawl.discord-vscode automatically connected to my Discord Client.

TechStudent10 avatar Jan 29 '22 14:01 TechStudent10

I'll see what I can do.

leonardssh avatar Jan 29 '22 15:01 leonardssh

I'll see what I can do.

Alright. The commands still don't work after a reinstallation, so that's probably a problem with the extension.

TechStudent10 avatar Jan 29 '22 18:01 TechStudent10

Please upgrade the extension and try again.

leonardssh avatar Feb 03 '22 22:02 leonardssh

Alright

TechStudent10 avatar Feb 03 '22 22:02 TechStudent10

@TechStudent11 any news, does it work?

leonardssh avatar Feb 04 '22 13:02 leonardssh

I wasn't able to upgrade it yesterday.

So I have updated it and... What'll you know?

image

TechStudent10 avatar Feb 04 '22 16:02 TechStudent10

Ok, that's really weird... I don't know what it could be from, I've tested all the environments, it works perfectly for me.

Can you provide me more details?

  • Where do you get the extension from?
  • What version of vscode do you have?
  • What windows version/build do you have?

leonardssh avatar Feb 04 '22 16:02 leonardssh

  • Where do you get the extension from?

The VSCode marketplace.

  • What version of vscode do you have?

VSCode 1.64.0

P:\>code -v
1.64.0
5554b12acf27056905806867f251c859323ff7e9
x64
  • What windows version/build do you have?

Windows 11 21H2 OS Build 22000.318

And, my Discord version is

image

It says Windows 10, but I am on Windows 11.

TechStudent10 avatar Feb 04 '22 16:02 TechStudent10

Ok, I've the same environment. Honestly, I don't think I can help you, I can't really figure out at the moment, what could be causing your problem, you should try debugging the extension, modifying the source code installed on your PC. It's a sure way to troubleshoot the problem and possibly report it here to fix it.

leonardssh avatar Feb 04 '22 17:02 leonardssh

Ok, I've the same environment. Honestly, I don't think I can help you, I can't really figure out at the moment, what could be causing your problem, you should try debugging the extension, modifying the source code installed on your PC. It's a sure way to troubleshoot the problem and possibly report it here to fix it.

okay. I'll try some time, but probably not today

TechStudent10 avatar Feb 04 '22 17:02 TechStudent10

When I start the extension. Screenshot 2022-04-01 at 15 51 46

BenitzCoding avatar Apr 01 '22 07:04 BenitzCoding

It happens to me too, although I try to "reconnect" from the command palette

ERROR: (spanish) https://femboy.wtf/Reven/πŸ¦πŸ³πŸ‘’πŸ₯Ÿ

exit: (spanish) https://femboy.wtf/Reven/πŸš§πŸ™πŸ₯˜πŸ›€

But if I close my workspace ,it works. https://femboy.wtf/Reven/πŸ’ΊπŸŒπŸŽ­πŸ§€

Kendomurftz avatar Aug 22 '22 09:08 Kendomurftz

[δΈ‹εˆ7:34:56 - INFO] [data.ts] ext(): Git extension is active
[δΈ‹εˆ7:34:57 - INFO] Discord Rich Presence for VS Code activated.
[δΈ‹εˆ7:34:57 - INFO] Registered Discord Rich Presence commands
[δΈ‹εˆ7:34:57 - ERROR] Encountered following error while trying to login:
Error: Could not connect
[δΈ‹εˆ7:34:57 - INFO] [002] Destroyed Discord RPC client
[δΈ‹εˆ7:35:08 - INFO] Reconnecting to Discord Gateway...
[δΈ‹εˆ7:35:08 - INFO] [003] Destroyed Discord RPC client
[δΈ‹εˆ7:35:08 - ERROR] Encountered following error while trying to login:
Error: Could not connect
[δΈ‹εˆ7:35:08 - INFO] [002] Destroyed Discord RPC client
[δΈ‹εˆ7:35:26 - INFO] Reconnecting to Discord Gateway...
[δΈ‹εˆ7:35:26 - INFO] [003] Destroyed Discord RPC client
[δΈ‹εˆ7:35:26 - ERROR] Encountered following error while trying to login:
Error: Could not connect
[δΈ‹εˆ7:35:26 - INFO] [002] Destroyed Discord RPC client
[δΈ‹εˆ7:35:55 - INFO] Reconnecting to Discord Gateway...
[δΈ‹εˆ7:35:55 - INFO] [003] Destroyed Discord RPC client
[δΈ‹εˆ7:35:55 - ERROR] Encountered following error while trying to login:
Error: Could not connect
[δΈ‹εˆ7:35:55 - INFO] [002] Destroyed Discord RPC client

logs

yoni13 avatar Sep 19 '22 11:09 yoni13