that’s the output of the codeium language server:
2024/11/10 17:01:11 maxprocs: Leaving GOMAXPROCS=8: CPU quota undefined
I1110 17:01:11.982696 5746 main.go:559] [Language Server Manager] Setting GOMAXPROCS to 8
I1110 17:01:11.982790 5746 main.go:769] [Language Server Manager] Starting language server manager with pid 5746
I1110 17:01:11.983876 5746 main.go:309] [Language Server Manager] Attempting to connect to language server at 127.0.0.1:42100
2024/11/10 17:01:11 maxprocs: Leaving GOMAXPROCS=8: CPU quota undefined
I1110 17:01:12.151654 5759 main.go:559] Setting GOMAXPROCS to 4
I1110 17:01:12.151753 5759 main.go:763] Starting language server process with pid 5759
I1110 17:01:12.151792 5759 server.go:184] Language server will attempt to listen on host 127.0.0.1
I1110 17:01:12.152005 5759 server.go:191] Language server listening on fixed port at 42100
W1110 17:01:12.455261 5759 proxy.go:128] proxy failed to connect: GET http://0.0.0.0:50001/exa.api_server_pb.ApiServerService/GetCompletions giving up after 4 attempt(s): Get "http://0.0.0.0:50001/exa.api_server_pb.ApiServerService/GetCompletions": dial tcp 0.0.0.0:50001: connect: connection refused
I1110 17:01:12.455314 5759 unleash.go:93] Initializing Unleash
I1110 17:01:13.715995 5759 unleash.go:113] Successfully initialized Unleash
E1110 17:01:13.746842 5759 client_manager.go:275] Metadata is nil when trying to refresh user JWT
I1110 17:01:13.750666 5759 server.go:447] Successfully created API server client
E1110 17:01:13.751535 5759 api_server_client.go:328] GetUnleashContextFields error: dial tcp 0.0.0.0:50001: connect: connection refused
E1110 17:01:13.751532 5759 api_server_client.go:316] GetConfig error: dial tcp 0.0.0.0:50001: connect: connection refused
I1110 17:01:13.816313 5759 server.go:462] Successfully initialized tokenizer
I1110 17:01:14.004569 5759 sqlite_faiss_db_client.go:64] Successfully created embedding search database in 3ms
I1110 17:01:14.004980 5759 indexer.go:213] Using 4 embed workers
I1110 17:01:14.005045 5759 search_provider.go:304] Successfully created embedding search provider
I1110 17:01:14.011639 5759 server.go:700] Successfully created completion provider
I1110 17:01:14.011701 5759 server.go:749] Child process attempting to acquire lock file /tmp/child_lock_1731254471983013414_3233511302584694524
I1110 17:01:14.011893 5759 server.go:757] Child process acquired lock file /tmp/child_lock_1731254471983013414_3233511302584694524
E1110 17:01:14.021106 5759 api_server_client.go:240] Ping error: dial tcp 0.0.0.0:50001: connect: connection refused
I1110 17:01:14.022222 5746 main.go:361] [Language Server Manager] Successfully connected to new language server at 127.0.0.1:42100
E1110 17:01:14.461466 5759 unleash.go:63] Unleash error: context deadline exceeded (Client.Timeout or context cancellation while reading body)
E1110 17:01:14.753870 5759 api_server_client.go:316] GetConfig error: dial tcp 0.0.0.0:50001: connect: connection refused
E1110 17:01:15.755557 5759 api_server_client.go:316] GetConfig error: dial tcp 0.0.0.0:50001: connect: connection refused
E1110 17:01:16.756443 5759 api_server_client.go:316] GetConfig error: dial tcp 0.0.0.0:50001: connect: connection refused
E1110 17:01:17.757538 5759 api_server_client.go:316] GetConfig error: dial tcp 0.0.0.0:50001: connect: connection refused
E1110 17:01:18.758366 5759 api_server_client.go:316] GetConfig error: dial tcp 0.0.0.0:50001: connect: connection refused
E1110 17:01:19.759322 5759 api_server_client.go:316] GetConfig error: dial tcp 0.0.0.0:50001: connect: connection refused
E1110 17:01:20.760180 5759 api_server_client.go:316] GetConfig error: dial tcp 0.0.0.0:50001: connect: connection refused
E1110 17:01:21.761504 5759 api_server_client.go:316] GetConfig error: dial tcp 0.0.0.0:50001: connect: connection refused
^CW1110 17:01:21.882250 5746 main.go:128] [Language Server Manager] Got signal interrupt, shutting down
W1110 17:01:21.882241 5759 server.go:365] Got signal interrupt, shutting down
I1110 17:01:21.882350 5759 server.go:840] Language server shutting down
I1110 17:01:21.915249 5746 cmd_wrapper.go:267] [Language Server Manager] LanguageServer exited with: success
That’s the current config.nix
used by the system:
{ config, pkgs, ... }:
{
imports = [
/etc/nixos/hardware-configuration.nix
(
# Put the most recent revision here:
let
revision = "7691d0ac1deb6ac7482c5a22fe1a14a34ca608b0";
in
builtins.fetchTarball {
url = "https://github.com/Jovian-Experiments/Jovian-NixOS/archive/${revision}.tar.gz";
# Update the hash as needed:
sha256 = "sha256:057xsfmr2yz2mx56jzdn6aqvabmlsjwl2lbziiqxziffdzli0rb8";
}
+ "/modules"
)
];
nix = {
gc = {
automatic = true;
dates = "daily";
};
settings = {
auto-optimise-store = true;
experimental-features = [
"nix-command"
"flakes"
];
};
};
# paste your boot config here...
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
virtualisation.docker.enable = true;
networking = {
firewall = {
enable = true;
allowedTCPPorts = [ 50001 ];
allowedUDPPorts = [ ];
};
hostName = "Azrael";
networkmanager.enable = true;
};
# edit as per your location and timezone
time.timeZone = "Europe/Berlin";
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "de_DE.UTF-8";
LC_IDENTIFICATION = "de_DE.UTF-8";
LC_MEASUREMENT = "de_DE.UTF-8";
LC_MONETARY = "de_DE.UTF-8";
LC_NAME = "de_DE.UTF-8";
LC_NUMERIC = "de_DE.UTF-8";
LC_PAPER = "de_DE.UTF-8";
LC_TELEPHONE = "de_DE.UTF-8";
LC_TIME = "de_DE.UTF-8";
LC_CTYPE = "en_US.utf8"; # required by dmenu don't change this
};
services = {
desktopManager.plasma6.enable = true;
libinput.enable = true;
printing.enable = true;
signald = {
enable = true;
user = "ulysses";
};
xserver = {
enable = true;
xkb = {
layout = "eu";
variant = "";
};
displayManager.sessionCommands = "xhost si:localuser:root";
}; # xserver
gvfs.enable = true;
gnome.gnome-keyring.enable = true;
blueman.enable = true;
pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = true;
};
pulse.enable = true;
};
};
nixpkgs = {
config = {
allowUnfree = true;
pulseaudio = true;
permittedInsecurePackages = [
"freeimage-unstable-2021-11-01"
];
};
};
users = {
defaultUserShell = pkgs.nushell;
users.ulysses = {
isNormalUser = true;
description = "ulysses";
extraGroups = [
"networkmanager"
"wheel"
"docker"
];
};
}; # services
environment = {
localBinInPath = true;
variables = {
SRC_ENDPOINT = "https://sourcegraph.example.com";
SRC_SRC_ACCESS_TOKEN = "'cat ${config.users.users.ulysses.home}/sourcegraphToken'";
NIXPKGS_ALLOW_INSECURE = "1";
};
shellAliases = {
sudo = "sudo ";
nixos_list_generations = "sudo nix-env --list-generations --profile /nix/var/nix/profiles/system";
nixosRebuild = "sudo nixos-rebuild switch";
dockerRmContainters = "docker ps -a | awk '{print $NF}' | while read -r container_name; do docker rm $container_name; done";
dockerRmImages = "docker image ls --quiet --no-trunc | while read -r image_id; do docker image rm $image_id; done";
};
systemPackages = with pkgs; [
alacritty
alacritty-theme
bat
bluez
bluez-tools
cargo
catimg
clang
codeium
curl
cmake
cytoscape
docker
discord
firefox
fuse
gcc
glab
git
gimp
gnome-keyring
gparted
gr-framework
htop
inkscape
jabref
jql
julia
just
jupiter-dock-updater-bin
kate
lazygit
lemminx
libclang
lld_18
lua-language-server
luajitPackages.luarocks-nix
maliit-keyboard
libgcc.lib
mc
networkmanagerapplet
neovim
nixfmt-rfc-style
nil
nix-ld
nitrogen
pasystray
p7zip
prusa-slicer
obsidian
openjdk
openscad-unstable
openscad-lsp
picom
pkg-config
polkit_gnome
pulseaudioFull
ravedude
ripgrep
rpi-imager
roboto
rustc
rustup
steam
steamcontroller
steamdeck-firmware
signald
signal-desktop-beta
tectonic
texliveFull
tree
thunderbird
typst
typstfmt
typst-lsp
ucs-fonts
unetbootin
unrar
unzip
uv
vcstool
vesktop
vim
vimPlugins.codeium-nvim
vimPlugins.vim-markdown-toc
vimPlugins.yanky-nvim
vscode
wget
xclip
xorg.xhost
xorg.libX11
xlayoutdisplay
x11docker
xz
zip
(vscode-with-extensions.override {
vscodeExtensions =
with vscode-extensions;
[
bbenoist.nix
ms-azuretools.vscode-docker
ms-python.python
ms-toolsai.jupyter
ms-toolsai.jupyter-keymap
ms-toolsai.jupyter-renderers
ms-toolsai.vscode-jupyter-slideshow
ms-toolsai.vscode-jupyter-cell-tags
ms-vscode-remote.remote-ssh
serayuzgur.crates
tamasfe.even-better-toml
]
++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
{
name = "remote-ssh-edit";
publisher = "ms-vscode-remote";
version = "0.47.2";
sha256 = "1hp6gjh4xp2m1xlm1jsdzxw9d8frkiidhph6nvl24d0h8z34w49g";
}
];
})
];
}; # environment
jovian = {
devices.steamdeck = {
autoUpdate = true;
enable = true;
enableControllerUdevRules = true;
enableDefaultCmdlineConfig = true;
enableGyroDsuService = true;
};
steam = {
enable = true;
user = "ulysses";
desktopSession = "plasma";
autoStart = true;
};
}; # jovian layer
programs = {
dconf.enable = true;
firefox = {
enable = true;
};
git.enable = true;
neovim = {
enable = true;
defaultEditor = true;
};
ssh.startAgent = true;
steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
thunar.enable = true;
};
security = {
polkit.enable = true;
rtkit.enable = true;
};
systemd = {
user.services.polkit-gnome-authentication-agent-1 = {
description = "polkit-gnome-authentication-agent-1";
wantedBy = [ "graphical-session.target" ];
wants = [ "graphical-session.target" ];
after = [ "graphical-session.target" ];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
Restart = "on-failure";
RestartSec = 1;
TimeoutStopSec = 10;
};
};
};
hardware.bluetooth.enable = true;
# Don't touch this
system = {
activationScripts = {
script.text = ''
mkdir -p ${config.users.users.ulysses.home}/{ros2_ws,microros_ws,ros2_debug}/src
'';
};
autoUpgrade = {
enable = true;
};
stateVersion = "24.11";
};
}
Why isn’t the port demanded by the codeium language server don’t callable? Does I need to add more?