andweeb / presence.nvim

Discord Rich Presence for Neovim
793 stars 68 forks source link

Failure to connect to Discord #147

Closed binmalyi closed 5 months ago

binmalyi commented 5 months ago

Description

It just always keeps failing to connect to discord even though other rpc extensions/plugins are able to do so. (specifically referring to vs code extension)

Neovim version

NVIM v0.9.4
Build type: RelWithDebInfo
LuaJIT 2.1.1696883897

OS information

Windows 10 64-Bit (10.0.19045)

Steps to reproduce

  1. Setup the presence plugin as per documentation
  2. Open any file

Logs

[presence.nvim] Setting up plugin for windows
[presence.nvim] Using user-defined Discord client id
[presence.nvim] Duplicate options: `g:presence_auto_update` and setup option `auto_update`
[presence.nvim] Using Discord IPC socket path: \.pipediscord-ipc-0
[presence.nvim] Checking Discord IPC socket at \.pipediscord-ipc-0...
[presence.nvim] Using id 11a17a31-97ea-413c-88a6-41d6922703f4
[presence.nvim] Completed plugin setup
[presence.nvim] Getting nvim socket paths...
[presence.nvim] Executing command: `powershell.exe, -Command, (Get-ChildItem \.pipe).FullName | findstr 'nvim'`
[presence.nvim] Failed to get socket information: EBUSY: resource busy or locked: \.pipediscord-ipc-0
[presence.nvim] Failed to get socket information: EBUSY: resource busy or locked: \.pipediscord-ipc-0
[presence.nvim] Handling BufEnter event...
[presence.nvim] Connecting to Discord...
[presence.nvim] Handling BufAdd event...
[presence.nvim] Handling TextChanged event...
[presence.nvim] Currently connecting with Discord, scheduling callback for later...
[presence.nvim] Currently connecting with Discord, scheduling callback for later...
[presence.nvim] Parsed filename nil with no extension
[presence.nvim] Getting project name for nil...
[presence.nvim] Setting activity for unnamed buffer...
[presence.nvim] Getting line number for current buffer...
[presence.nvim] Sync activity to all peers...
[presence.nvim] Setting Discord activity...
[presence.nvim] Got nvim socket paths: {}
[presence.nvim] No other remote nvim instances
[presence.nvim] Got nvim socket paths: {}
[presence.nvim] No other remote nvim instances
[presence.nvim] Parsed filename nil with no extension
[presence.nvim] Getting project name for nil...
[presence.nvim] Setting activity for unnamed buffer...
[presence.nvim] Getting line number for current buffer...
[presence.nvim] Sync activity to all peers...
[presence.nvim] Setting Discord activity...
[presence.nvim] Handling BufAdd event...
[presence.nvim] Handling BufEnter event...
[presence.nvim] Currently connecting with Discord, scheduling callback for later...
[presence.nvim] Handling BufAdd event...
[presence.nvim] Handling TextChanged event...
[presence.nvim] Currently connecting with Discord, scheduling callback for later...
[presence.nvim] Currently connecting with Discord, scheduling callback for later...
[presence.nvim] Currently connecting with Discord, scheduling callback for later...
[presence.nvim] Last activity sent was within 10 seconds ago, skipping...
[presence.nvim] Parsed filename nil with no extension
[presence.nvim] Getting project name for nil...
[presence.nvim] Setting activity for C:/Users/TECHCITY/Desktop/Tsukuyomi/src/...
[presence.nvim] Getting line number for current buffer...
[presence.nvim] Sync activity to all peers...
[presence.nvim] Setting Discord activity...
[presence.nvim] Parsed filename nil with no extension
[presence.nvim] Getting project name for nil...
[presence.nvim] Setting activity for C:/Users/TECHCITY/Desktop/Tsukuyomi/src/...
[presence.nvim] Getting line number for current buffer...
[presence.nvim] Sync activity to all peers...
[presence.nvim] Setting Discord activity...
[presence.nvim] Parsed filename nil with no extension
[presence.nvim] Getting project name for nil...
[presence.nvim] Setting activity for C:/Users/TECHCITY/Desktop/Tsukuyomi/src/...
[presence.nvim] Getting line number for current buffer...
[presence.nvim] Sync activity to all peers...
[presence.nvim] Setting Discord activity...
[presence.nvim] Handling BufAdd event...
[presence.nvim] Handling BufEnter event...
[presence.nvim] Currently connecting with Discord, scheduling callback for later...
[presence.nvim] Currently connecting with Discord, scheduling callback for later...
[presence.nvim] Parsed filename nil with no extension
[presence.nvim] No status text for the given buffer, skipping...
[presence.nvim] Parsed filename nil with no extension
[presence.nvim] No status text for the given buffer, skipping...
[presence.nvim] Failed to connect to Discord: ETIMEDOUT
21 lines yanked
21 more lines
[presence.nvim] Handling TextChanged event...
[presence.nvim] Connecting to Discord...
[presence.nvim] Handling TextChanged event...
[presence.nvim] Currently connecting with Discord, scheduling callback for later...
[presence.nvim] Failed to connect to Discord: EBUSY
[presence.nvim] Parsed filename nil with no extension
[presence.nvim] No status text for the given buffer, skipping...
8 fewer lines
8 fewer lines
"src/index.mts" 41L, 1102B written
[presence.nvim] Handling BufAdd event...
[presence.nvim] Connecting to Discord...
[presence.nvim] Failed to connect to Discord: EBUSY
binmalyi commented 5 months ago

Apparently my system just needed a restart