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

Language Server Failed #420

Open
SanderNotenbaert opened this issue Jul 27, 2024 · 0 comments
Open

Language Server Failed #420

SanderNotenbaert opened this issue Jul 27, 2024 · 0 comments

Comments

@SanderNotenbaert
Copy link

SanderNotenbaert commented Jul 27, 2024

Hi!

I tried the current version e0342fde9474fdd0a36ff9692fe0031b7611a19f, as well as several previous releases based on previous issues I found, but to no avail: using the DEBUG option I always see something similar to this:

Exception: Server port has not been properly initialized. [function codeium#Complete[58]..codeium#server#Request, line 2]
Exception: Server port has not been properly initialized. [function codeium#Complete[58]..codeium#server#Request, line 2]
Launching server with manager_dir /var/folders/xv/hh0nl6vj54jd884f4w3lgh180000gn/T/nvim.sander/3yCi25/1/codeium/manager
[SERVER] 2024/07/27 17:02:29 maxprocs: Leaving GOMAXPROCS=10: CPU quota undefined

[SERVER] I0727 17:02:29.992276 73388 main.go:494] Setting GOMAXPROCS to 10

[SERVER] I0727 17:02:29.993919 73388 main.go:629] Starting language server manager with pid 73388

[SERVER] I0727 17:02:29.997619 73388 main.go:117] Manager acquired its lock file /var/folders/xv/hh0nl6vj54jd884f4w3lgh180000gn/T/nvim.sander/3yCi25/1/codeium/manager/locks/manager.lock
I0727 17:02:29.999808 73388 main.go:256] Waiting for random port file in /var/folders/xv/hh0nl6vj54jd884f4w3lgh180000gn/T/nvim.sander/3yCi25/1/codeium/manager/child_random_port_1722092549997718000_3280701159997779502 to be created

[SERVER] 2024/07/27 17:02:30 maxprocs: Leaving GOMAXPROCS=10: CPU quota undefined

[SERVER] I0727 17:02:30.032452 73390 main.go:494] Setting GOMAXPROCS to 4

[SERVER] I0727 17:02:30.034017 73390 main.go:623] Starting language server process with pid 73390
I0727 17:02:30.034061 73390 server.go:156] Language server will attempt to listen on host 127.0.0.1
F0727 17:02:30.034342 73390 main.go:626] Language server failed - listen tcp 127.0.0.1:0: bind: can't assign requested address
(1) attached stack trace
  -- stack trace:
  | github.com/Exafunction/Exafunction/exa/language_server.CreateLanguageServerAndServe
  | 	exa/language_server/server.go:161
  | main.main
  | 	exa/cmd/language_server/main.go:624
  | runtime.main
  | 	GOROOT/src/runtime/proc.go:267
  | runtime.goexit
  | 	src/runtime/asm_arm64.s:1197
Wraps: (2) listen tcp 127.0.0.1:0
Wraps: (3) bind
Wraps: (4) can't assign requested address
Error types: (1) *withstack.withStack (2) *net.OpError (3) *os.SyscallError (4) syscall.Errno

Exception: Server port has not been properly initialized. [function <SNR>85_SendHeartbeat[2]..codeium#server#Request, line 2]
Exception: Server port has not been properly initialized. [function <SNR>85_SendHeartbeat[2]..codeium#server#Request, line 2]

My Packer setup simply has:
use ({ 'Exafunction/codeium.vim', })
As well as a lua file containing
vim.keymap.set("i", "<C-;>", function() return vim.fn["codeium#Accept"]() end, { expr = true }) vim.g.codeium_no_map_tab = 1 vim.g.codeium_log_file = "~/.codeium/codeium.log" vim.g.codeium_log_level = "DEBUG"

Any ideas?

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

1 participant