#[v2 alpha] Fails to check for update
1 messages · Page 1 of 1 (latest)
hmm, i think that can only happen if the http request doesn't get a 2XX response 🤔
can you try debugging the updater events like this f.e. <#1067927006509023392 message>
and if you don't maybe add a log facility like pretty_env_logger with RUST_LOG=debug to check the http clients logs too
we do have the logger setup, let me check
I get these logs:
[2023-02-14][11:34:07][attohttpc][DEBUG] trying to connect to sun.noor.to:443
[2023-02-14][11:34:07][attohttpc][DEBUG] DNS returned only one address, using fast path
Error is from this line:
https://github.com/tauri-apps/tauri/blob/50576a5e1e83978882d90aca280809da2235a8d5/core/tauri/src/updater/core.rs#L421
yep, which is why i said that it can only really happen if it gets a non 2xx response
errors in 2xx responses would be thrown in the if above that
that should crash on this line: https://github.com/tauri-apps/tauri/blob/50576a5e1e83978882d90aca280809da2235a8d5/core/tauri/src/updater/core.rs#L417
yeah i tried the url too
you can download the app here: https://noor.to/download
in the preferences > check for update
can you try adding/removing the "reqwest-client" feature flag?
(still got no mac :P )
and my macos vm is not my friend at the moment 
u broke up? 
the vm is a bit emotionally unstable when i'm near
then you must've forgotten the valentine's gift
seems like it fixed it in my test build. let me try to do a release
is it expected?
well, no but also a little bit, yes. wouldn't be the first problem we've had with attohttpc
I already have reqwest in my project, so it wouldn't even add anything, it's great
well, since it removes the attohttpc backend it shouldn't make much of a difference even if you wouldn't use reqwest yourself, but since you're using it, it should decrease your app size since you don't have 2 different http clients anymore

