Closed coot closed 1 year ago
coc.nvim version: 0.0.82-d8e45830 2022-12-26 18:00:25 +0800
Upgrade your coc.nvim to latest release.
I observe the same behaviour by using current master
branch:
vim version: VIM - Vi IMproved 9.0 9001251 node version: v18.15.0 coc.nvim version: 0.0.82-628f08a0 2023-03-23 17:56:36 +0900 coc.nvim directory: /home/coot/.vim/pack/utils/start/coc.nvim term: dumb platform: linux
2023-03-25T11:22:17.864 INFO (pid:994578) [plugin] - coc.nvim initialized with node: v18.15.0 after 111 2023-03-25T11:22:17.869 INFO (pid:994578) [services] - LanguageClient haskell state change: stopped => starting 2023-03-25T11:22:17.876 INFO (pid:994578) [language-client-index] - Language server "languageserver.haskell" started with 994604 2023-03-25T11:22:20.767 INFO (pid:994578) [attach] - receive notification: showInfo [] 2023-03-25T11:22:23.311 INFO (pid:994578) [services] - LanguageClient haskell state change: starting => running 2023-03-25T11:22:23.319 INFO (pid:994578) [services] - service languageserver.haskell started 2023-03-25T11:22:35.251 INFO (pid:994578) [attach] - receive notification: jumpDefinition [] 2023-03-25T11:22:37.021 INFO (pid:994578) [attach] - Request action: rename [] 2023-03-25T11:22:40.023 ERROR (pid:994578) [timing] - Request timeout after 3000ms 2023-03-25T11:23:43.837 INFO (pid:994578) [attach] - receive notification: showInfo []
Request timeout after 3000ms
Language server's issue, coc did the renaming request but language server didn't response in time.
Is there a way to configure the timeout to something larger than 3s?
If it timeout after 3s, it's also rather odd that coc.nvim
shows a rename pop up window after 60s.
There're two issues:
Request timeout after 3000ms
, this timeout came from network requesting, maybe extensions updating, you can ignore this.ok, thanks I'll look how to investigate this on the server side then.
Result from CocInfo
versions
vim version: VIM - Vi IMproved 9.0 9001251 node version: v18.15.0 coc.nvim version: 0.0.82-d8e45830 2022-12-26 18:00:25 +0800 coc.nvim directory: /home/coot/.vim/pack/utils/start/coc.nvim term: dumb platform: linux
Log of coc.nvim
2023-03-22T09:23:24.793 INFO (pid:712624) [plugin] - coc.nvim initialized with node: v18.15.0 after 92 2023-03-22T09:24:15.277 INFO (pid:712624) [services] - LanguageClient haskell state change: stopped => starting 2023-03-22T09:24:15.296 INFO (pid:712624) [language-client-index] - Language server "languageserver.haskell" started with 727678 2023-03-22T09:24:26.879 INFO (pid:712624) [services] - LanguageClient haskell state change: starting => running 2023-03-22T09:24:26.886 INFO (pid:712624) [services] - service languageserver.haskell started 2023-03-22T11:01:08.030 ERROR (pid:712624) [node-client] - request error on "nvim_call_function" [ 'coc#util#suggest_variables', [ 4 ] ] Error: request error on "nvim_call_function" - Vim(return):E117: Unknown function: coc#util#suggest_variables on api "call_function" ["coc#util#suggest_variables",[4]] at Complete.doComplete (/home/coot/.vim/pack/utils/start/coc.nvim/build/index.js:71396:21) at Completion._startCompletion (/home/coot/.vim/pack/utils/start/coc.nvim/build/index.js:72298:42) at Completion.triggerCompletion (/home/coot/.vim/pack/utils/start/coc.nvim/build/index.js:72394:20) at Completion.onTextChangedI (/home/coot/.vim/pack/utils/start/coc.nvim/build/index.js:72363:22) at /home/coot/.vim/pack/utils/start/coc.nvim/build/index.js:19819:39 at new Promise ()
at wrappedhandler (/home/coot/.vim/pack/utils/start/coc.nvim/build/index.js:19817:42)
at promiseFn (/home/coot/.vim/pack/utils/start/coc.nvim/build/index.js:19794:23)
2023-03-22T11:01:08.052 ERROR (pid:712624) [events] - Error on event: TextChangedI Error: request error on "nvim_call_function" - Vim(return):E117: Unknown function: coc#util#suggest_variables on api "call_function" ["coc#util#suggest_variables",[4]]
at Complete.doComplete (/home/coot/.vim/pack/utils/start/coc.nvim/build/index.js:71396:21)
at Completion._startCompletion (/home/coot/.vim/pack/utils/start/coc.nvim/build/index.js:72298:42)
at Completion.triggerCompletion (/home/coot/.vim/pack/utils/start/coc.nvim/build/index.js:72394:20)
at Completion.onTextChangedI (/home/coot/.vim/pack/utils/start/coc.nvim/build/index.js:72363:22)
at /home/coot/.vim/pack/utils/start/coc.nvim/build/index.js:19819:39
at new Promise ()
at wrappedhandler (/home/coot/.vim/pack/utils/start/coc.nvim/build/index.js:19817:42)
at promiseFn (/home/coot/.vim/pack/utils/start/coc.nvim/build/index.js:19794:23)
2023-03-22T11:01:08.516 ERROR (pid:712624) [node-client] - request error on "nvim_call_function" [ 'coc#util#suggest_variables', [ 4 ] ] Error: request error on "nvim_call_function" - Vim(return):E117: Unknown function: coc#util#suggest_variables on api "call_function" ["coc#util#suggest_variables",[4]]
at Complete.doComplete (/home/coot/.vim/pack/utils/start/coc.nvim/build/index.js:71396:21)
at Completion._startCompletion (/home/coot/.vim/pack/utils/start/coc.nvim/build/index.js:72298:42)
at Completion.triggerCompletion (/home/coot/.vim/pack/utils/start/coc.nvim/build/index.js:72394:20)
at Timeout. (/home/coot/.vim/pack/utils/start/coc.nvim/build/index.js:72368:24)
at listOnTimeout (node:internal/timers:569:17)
at process.processTimers (node:internal/timers:512:7)
2023-03-22T11:01:08.517 ERROR (pid:712624) [server] - unhandledRejection Promise {