So recently our Tauri v2 app has started not being able to complete any fetch requests to https endpoints, logging the error Failed to load resource: TLS support is not available.
We've been using the same flake.nix (src) for the past few months and this issue appeared all of a sudden after a system update (nix flake update && nix-rebuild switch)
The system update did not touch glib-networking, which afaik usually includes the TLS stuff. It did, however, bump webkit2gtk_4_1 from 2.46.1 to 2.46.3. That's the only relevent change I can think of.
On the other hand, the flake for this project hasn't changed at all and I haven't updated it in a while, so in that environment it should still be using a slightly older version of libwebkit2gtk_4.1. EDIT: yeah so according to tauri info it's still using 2.44.3 :thinking:
Is anyone else on Nix (or generally on 2.46.3 of libwebkit2gtk_4.1) having similar issues?
Run pnpm dev:desktop to start the application, and notice all fetch requests to external domains throw the TLS support is not available error in the console.
Not sure exactly what the issue was, but rolling back to the hyprland@0.45.1 tagged release (instead of master) and re-enabling programs.hyprland.enable = true (instead of just via home-manager) fixed it
Describe the bug
So recently our Tauri v2 app has started not being able to complete any fetch requests to https endpoints, logging the error
Failed to load resource: TLS support is not available
.We've been using the same
flake.nix
(src) for the past few months and this issue appeared all of a sudden after a system update (nix flake update && nix-rebuild switch
)The system update did not touch
glib-networking
, which afaik usually includes the TLS stuff. It did, however, bumpwebkit2gtk_4_1
from2.46.1
to2.46.3
. That's the only relevent change I can think of.On the other hand, the flake for this project hasn't changed at all and I haven't updated it in a while, so in that environment it should still be using a slightly older version of
libwebkit2gtk_4.1
. EDIT: yeah so according totauri info
it's still using2.44.3
:thinking:Is anyone else on Nix (or generally on
2.46.3
oflibwebkit2gtk_4.1
) having similar issues?Reproduction
direnv allow
ornix develop
pnpm dev:desktop
to start the application, and notice all fetch requests to external domains throw theTLS support is not available
error in the console.Expected behavior
No response
Full
tauri info
outputStack trace
Additional context
No response