Problems with the application slack version 4.4.3?

I’m having connection issues using the Slack application today. When I open Slack, it says “Slack cannot connect”, with the error “-2: ERR_FAILED”. https://status.slack.com/ does not show any issues, which is expected because Slack works well on my android phone and directly through the browser. I do see a change in the slack derivation about one month ago, but I don’t know whether it has affected me or not. slack --version says I’m using version 4.4.3. I’m on the unstable channel:

$ sudo nix-channel --list
nixos https://nixos.org/channels/nixos-unstable

And I just updated the channels and ran sudo nixos-rebuild switch. However, I don’t know whether my slack version was recently updated to 4.4.3 or not as I didn’t check the version before the switch.

When I start slack in the terminal I see this output:

[07/30/20, 09:05:21:529] info: NetworkStatus: Network check failed {
  "error": "Failed to fetch"
}
[07/30/20, 09:05:21:529] info: Network status check {
  "elapsed_time_ms": 76,
  "navigator_online": true,
  "api_test": "offline"
}
[07/30/20, 09:05:21:530] info: Store: SET_NETWORK_STATUS offline

There’s other output as well which doesn’t seem relevant.

Are anyone else having problems with the Slack app today? Or does anyone have tips that may help me further debug this?

Here’s some information about my system in case it should help:

$ uname -a
Linux nixos-node 5.7.10 #1-NixOS SMP Wed Jul 22 07:34:29 UTC 2020 x86_64 GNU/Linux

Hello!

The problem has been fixed (see NSS issue prevent apps to connect anymore · Issue #93955 · NixOS/nixpkgs · GitHub) :slight_smile:

1 Like

Thank you very much! :slight_smile: I was able to get Slack working again by replacing slack with (slack.override { nss = pkgs.nss_3_44; }) in environment.systemPackages, following this tip.