question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to connect to discord after installation

See original GitHub issue

I was unable to connect I installed it and when I opened up NeoVim it printed out: [coc.nvim] RPC: Could not connect I also tried to enable with [coc.nvim]: Error on notification "runCommand": Could not connect And reconnect as well [coc.nvim] RPC: Could not connect

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:26 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
AlexWillCodecommented, Mar 24, 2021

I wasn’t able to connect to Discord.

3reactions
RayCursecommented, Sep 1, 2021

Refer to this issue that happened before.

It seems that this is an issue specific to macOS. Luckily, there is a fix posted by @Vaansh

If you haven’t figured it out, here is what worked for me:

  1. $ find /private/var/folders -name "*discord-ipc*" 2> /dev/null in my case it returned: /private/var/folders/g3/znz8yyl55ls27thh9l56x6rr0000gn/T/discord-ipc-0
  2. Go into /.config/coc/extensions/node_modules/coc-discord-rpc/lib and open index.js.
  3. Change line 3046 from return ${prefix.replace(/\/$/, '')}/discord-ipc-${id}; to return /var/folders/g3/znz8yyl55ls27thh9l56x6rr0000gn/T/discord-ipc-${id};

Configure 3. to return your discord pic path accordingly, and put both the returns in backticks.

This fix worked for me but the index.js file was different. I did a ctrl-f for “discord-ipc” to find the return statement that was mentioned, and following the steps from there fixed the issue for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Discord Stuck on Connecting - Causes and how to fix it
One major issue that Discord users face is that Discord gets stuck when you are connecting, particularly to voice calls. Discord getting stuck...
Read more >
How to Fix Discord Connection Issues - Lifewire
Discord stuck on connecting is usually caused by technical problems on Discord's side, such as high volumes of traffic, or internet connectivity ...
Read more >
How To Fix Discord Stuck On The Connecting Screen
The first thing you can do when Discord is stuck on connecting is to check whether there are any current outage problems.
Read more >
Fix: Discord Not Connecting [2022 Solution] - PC Strike
Fix: Discord Not Connecting · Fix 1: Check Discord Server Status · Fix 2: Restart The Application · Fix 3: Restart Your Computer...
Read more >
5 Tested Fixes to Try if Discord Installation has Failed
How do I fix the Discord installation failed? · 1. Stop the Discord process · 2. Uninstall the previous Discord app · 3....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found