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

No internet connection #75

Open
MH0386 opened this issue Nov 7, 2024 · 8 comments
Open

No internet connection #75

MH0386 opened this issue Nov 7, 2024 · 8 comments

Comments

@MH0386
Copy link

MH0386 commented Nov 7, 2024

Image

It does not connect to my Wi-Fi network.

@IMNOTIKE
Copy link

Same here

@yonacwy
Copy link

yonacwy commented Nov 16, 2024

Same here...

I wonder if the problem is the ssl url probably should be "http://nmcheck.gnome.org/check_network_status.txt" seeing the page does not have ssl certs

src/parse/util.rs
pub fn checkonline() -> bool {
reqwest::blocking::get("https://nmcheck.gnome.org/check_network_status.txt").is_ok()
}

@HellishINC
Copy link

image

Also can't install anything as everything shows "Offline"

@yonacwy
Copy link

yonacwy commented Nov 26, 2024

Here is a "Single Run Fix" until the next release.

nix run github:yonacwy/nix-software-center

Also one can fork the nix-software-center and make the change, and use their own fork.

This
src/parse/util.rs
pub fn checkonline() -> bool {
reqwest::blocking::get("https://nmcheck.gnome.org/check_network_status.txt").is_ok()
}

To This
src/parse/util.rs
pub fn checkonline() -> bool {
reqwest::blocking::get("http://nmcheck.gnome.org/check_network_status.txt").is_ok()
}

@yonacwy
Copy link

yonacwy commented Nov 26, 2024

image

Also can't install anything as everything shows "Offline"

You really don't need nix-software-center to install packages just add the package name to the enviroment systemPackages in the configuration editor and use 'rebuild' button.

Or edit the file directly and run 'nixos-rebuild switch'
/etc/nixos/systems/x86_64-linux/user/default.nix
# List packages installed in system profile.
environment.systemPackages = with pkgs; [
firefox

@HellishINC
Copy link

I understand you do not need it. Do you understand that this program is aimed at those who are new to nix and could use the easier option? Likewise, telling new users to fork and compile their own build is also not really helpful as the majority of users don't want to deal with that. If it's that easy why don't you fork it and submit a pull request?

Regardless, if this tool doesn't work as intended it is a bug that needs reporting and fixing.

@yonacwy
Copy link

yonacwy commented Nov 28, 2024

Im new myself to nix, nixos, snowflakeos but not new to linux. You don't have to compile it just copy and paste nix run github:yonacwy/nix-software-center into the terminal its that simple, but one could fork and make change and run from own fork. There is a merge request already not necessary to make another one, but the solution is to have 2 online checks for ssl and non-ssl but probably something for a beta build.

Its a year old alpha build if you don't like the pace of developers you should move on its open source people working on it for free when they can, but you probably could support them financially to speed up the process if you that interested.

Im poor atm so i can only contribute time to solve issues that beginners can use to keep motivated not complaints that no one benefits.

@yonacwy
Copy link

yonacwy commented Nov 29, 2024

Sent a email to gnome.org to make them aware ssl certs are expired on the nmcheck sub domain.

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

4 participants