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

Client Discord doesn't detected via RPC #77

Closed
mortim opened this issue Aug 8, 2018 · 36 comments
Closed

Client Discord doesn't detected via RPC #77

mortim opened this issue Aug 8, 2018 · 36 comments

Comments

@mortim
Copy link

mortim commented Aug 8, 2018

Hi ! I have a problem, the Rich Presence isn't detected on Visual Studio Code (I'm using Ubuntu Budgie 18.04) , I'm not sure that the problem is coming from Discord, because it works perfectly on Spotify

Screen:
https://screenshotscdn.firefoxusercontent.com/images/dc4b7aa8-baab-484a-a369-f031228324d3.png

@iCrawl
Copy link
Owner

iCrawl commented Aug 8, 2018

#66

Spotify Rich Presence is an official Discord implementation so its not comparable.
Discord does a very poor job when implementing RPC for Ubuntu, nothing I can do.

@iCrawl iCrawl closed this as completed Aug 8, 2018
@mortim
Copy link
Author

mortim commented Aug 8, 2018

okey thanks

@Stapleton
Copy link

Stapleton commented Nov 3, 2018

I found a solution to the extension not working on Ubuntu Budgie 18.04.
Don't install Discord from the software centre. If you have, uninstall it.
Go to https://discordapp.com mouse over "Download for Linux" then hit ~.deb` [Direct Link]
Open your downloads folder, right click and hit "Open Tilix/(some terminal emulator) here" and then paste in the following

# This first
dpkg -i discord*.deb
# If it finishes with an error basically saying it cannot finish
# because its missing libc++1, then do the following
sudo apt install --fix-broken

Installing the actual package and not the snap package is what made it work for me like a charm.
Makes it seem like snap's packaging either strips features or isolates the app to the extent some stuff either doesn't work or is flaky.

@iCrawl iCrawl mentioned this issue Nov 11, 2018
@dakyskye
Copy link
Contributor

dakyskye commented Nov 11, 2018

I found a solution to the extension not working on Ubuntu Budgie 18.04.
Don't install Discord from the software centre. If you have, uninstall it.
Go to https://discordapp.com mouse over "Download for Linux" then hit ~.deb` [Direct Link]
Open your downloads folder, right click and hit "Open Tilix here" and then paste in the following

# This first
dpkg -i discord-0.0.5.deb
# If it finishes with an error basically saying it cannot finish
# because its missing libc++1, then do the following
sudo apt --fix-broken install

Installing the actual package and not the snap package is what made it work for me like a charm.
Makes it seem like snap's packaging either strips features or isolates the app to the extent some stuff either doesn't work or is flaky.

Thank you @OscarXcore for solution and @iCrawl for referencing this to me !

@Stapleton
Copy link

No worries! I noticed that when you download the .deb off of the discord website, it opens the software centre. Anything that is installed in the software centre isn't the actual package, the .deb just links to the snap version unless you install the .deb with dpkg.

@kalkafox
Copy link

kalkafox commented Dec 3, 2018

I found a solution to the extension not working on Ubuntu Budgie 18.04.
Don't install Discord from the software centre. If you have, uninstall it.
Go to https://discordapp.com mouse over "Download for Linux" then hit ~.deb` [Direct Link]
Open your downloads folder, right click and hit "Open Tilix here" and then paste in the following

# This first
dpkg -i discord-0.0.5.deb
# If it finishes with an error basically saying it cannot finish
# because its missing libc++1, then do the following
sudo apt --fix-broken install

Installing the actual package and not the snap package is what made it work for me like a charm.
Makes it seem like snap's packaging either strips features or isolates the app to the extent some stuff either doesn't work or is flaky.

One thing to note as well: Make sure you also do NOT have Visual Studio Code installed on the Software Center. Just had this same issue, but I was able to fix it.

Go to the Visual Studio Code website and download VSCode. Direct link

In your Downloads folder, run the following in a Terminal.

sudo dpkg -i code*.deb
sudo apt install --fix-broken #incase packages are missing

You should be all set now.

@gregistech
Copy link

sudo apt --fix-broken install is not correct, I had to use sudo apt install --fix-broken

@kalkafox
Copy link

@thegergo02 Goodness me, I'm very sorry about that. I was half-assed tired.

Fixed now.

@Stapleton
Copy link

Fixed my comment as well @thegergo02

@RyanTheDevelopan
Copy link

Um, I'm starting to experience the same problem. I'm using Windows 7 Ultimate.

@Stapleton
Copy link

Try starting discord and VSCode both as Administrator

@Blaze135
Copy link

I have problem with connect to discord
https://gyazo.com/8a41e2bf56965135aaf5170d9c1db808

@HPaulson
Copy link

HPaulson commented May 5, 2020

I'd like to stress the comment made here. Basic fix: Don't use Software Installer. For Discord OR vscode.

@Pverte
Copy link

Pverte commented May 5, 2020

It’s ok for me, I downloaded manually and now it’s work

@danbulant
Copy link

Don't use Software Installer

Don't forget that this is an issue with snap based installers (like in Ubuntu). Other software centers which don't use snaps usually uses the deb package, meaning the installation will work normally.

Snaps are pretty isolated from system, nearly like running a VM. They're more secure, but also more limited and some features like rich presence might not work.

@iDevoid
Copy link

iDevoid commented Jun 30, 2020

has anyone faced the same problem on Fedora?

@kavinvalli
Copy link

kavinvalli commented Sep 15, 2020

I am on a Mac. How do I solve the issue? I downloaded the app from their website

@kavinvalli
Copy link

I am on a Mac. How do I solve the issue? I downloaded the app from their website

It ended up connecting after I reinstalled the extension

@RCout1nho
Copy link

i'm on ubuntu 20.04 and i have the rpc connection problem, anyone can help me?

@aliredahajj
Copy link

I have the same error but I am on windows 10 home

@RCout1nho
Copy link

i'm on ubuntu 20.04 and i have the rpc connection problem, anyone can help me?

I resolved it, i just installed vscode and discord from oficial sites and install with dpkg

@brendan-27
Copy link

Just restarting my pc worked for me.

@dinogomez
Copy link

dinogomez commented Oct 8, 2020

i'm on ubuntu 20.04 and i have the rpc connection problem, anyone can help me?

@RCout1nho try following @Stapleton fix

# This first
dpkg -i discord-0.0.5.deb
# If it finishes with an error basically saying it cannot finish
# because its missing libc++1, then do the following
sudo apt install --fix-broken

I removed both VSCODE and Discord from the pre-installed packages and redownloaded them fresh from their official websites then Discord Presence started to work.

@dinogomez
Copy link

@RCout1nho you can uninstall pre-installed discord by using this command.
sudo snap remove discord

@ElnuDev
Copy link

ElnuDev commented Oct 27, 2020

TL;DR: If this isn't working for you:

  1. If you installed Discord through Ubuntu Software, uninstall it.
  2. Reinstall Discord with the download directly from Discord's website.
  3. If you installed Visual Studio Code through Ubuntu Software, uninstall it.
  4. Reinstall Visual Studio Code directly from Visual Studio's website.
  5. If you get the error "Failed to install file: not supported" from Ubuntu Software when installing Discord or Visual Studio Code directly from their websites, use the GDebi Package Installer instead. It usually installs properly when Ubuntu Software fails, and when it fails it gives a detailed error.

@DeveloperPY-git
Copy link

DeveloperPY-git commented Nov 9, 2020

it was helpful thanks

@HeySkidee
Copy link

I uninstalled both discord and vs code from ubuntu software
and then installed them from the official websites
It worked for me..Thanks :)

@Avnoor-Gamerz
Copy link

I found a solution to the extension not working on Ubuntu Budgie 18.04.
Don't install Discord from the software centre. If you have, uninstall it.
Go to https://discordapp.com mouse over "Download for Linux" then hit ~.deb` [Direct Link]
Open your downloads folder, right click and hit "Open Tilix/(some terminal emulator) here" and then paste in the following

# This first
dpkg -i discord-0.0.5.deb
# If it finishes with an error basically saying it cannot finish
# because its missing libc++1, then do the following
sudo apt install --fix-broken

Installing the actual package and not the snap package is what made it work for me like a charm.
Makes it seem like snap's packaging either strips features or isolates the app to the extent some stuff either doesn't work or is flaky.

what will for windows

@Stapleton
Copy link

what will for windows

Run them as admin. A proper solution for windows should be made into a new issue.

@Th3Ph4nt0m
Copy link

I found a solution to the extension not working on Ubuntu Budgie 18.04.
Don't install Discord from the software centre. If you have, uninstall it.
Go to https://discordapp.com mouse over "Download for Linux" then hit ~.deb` [Direct Link]
Open your downloads folder, right click and hit "Open Tilix/(some terminal emulator) here" and then paste in the following

# This first
dpkg -i discord-0.0.5.deb
# If it finishes with an error basically saying it cannot finish
# because its missing libc++1, then do the following
sudo apt install --fix-broken

Installing the actual package and not the snap package is what made it work for me like a charm.
Makes it seem like snap's packaging either strips features or isolates the app to the extent some stuff either doesn't work or is flaky.

Thank you soooo much!

I have a similar solution:

  1. Open Discord
  2. Remove Discord via "Ubuntu Software" (While Discord is still opened!)
  3. Wait until the store is finished
  4. Close Discord
  5. Open Discord again

This worked for me!

@Peresh
Copy link

Peresh commented Feb 5, 2021

For OS X Big Sur, grant the vscode "Full Disk Access" may help.

Just go Sustem Preferences -> Security & Privacy -> Full Disk Access -> Add the vscode

@Avnoor-Gamerz
Copy link

Avnoor-Gamerz commented Feb 28, 2021 via email

@viktorashi
Copy link

For anybody that it doesn't work for: I got it working, by just uninstalling vscode and installing it back,

BEWARE THOUGH, AS IT WILL DELETE ALL YOUR SETTINGS AND EXTENSIONS, IT'S GONNA BE LIKE BEFORE YOU INSTALLED IT AND WENT THROUGH THE COSTUMIZATION PROCESS, VERY ANNOYING.

  1. Uninstall VsCode
  2. Install It back Up
  3. Install the rich presence plugin again.
  4. You should be done I hope

NOT DISCORD, but Vscode,

@fred-direne
Copy link

For who is using it on MacOS just go to System Preferences -> Security & Privacy -> Firewall -> Firewall options and allow both vscode and discord incoming connections. It worked for me

@DiegoNG90
Copy link

DiegoNG90 commented Feb 1, 2022

I found a solution to the extension not working on Ubuntu Budgie 18.04. Don't install Discord from the software centre. If you have, uninstall it. Go to https://discordapp.com mouse over "Download for Linux" then hit ~.deb` [Direct Link] Open your downloads folder, right click and hit "Open Tilix/(some terminal emulator) here" and then paste in the following

# This first
dpkg -i discord*.deb
# If it finishes with an error basically saying it cannot finish
# because its missing libc++1, then do the following
sudo apt install --fix-broken

Installing the actual package and not the snap package is what made it work for me like a charm. Makes it seem like snap's packaging either strips features or isolates the app to the extent some stuff either doesn't work or is flaky.

It worked perfectly for me.
Danke schön @kalkafox

@DexrnZacAttack
Copy link

What about people that use Fedora, as there seems to be no RPM package and updating Discord is hella annoying, so Flatpak is the easiest way.

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