Skip to content

Conversation

ptr1337
Copy link
Member

@ptr1337 ptr1337 commented Jul 19, 2025

In censored countries it is often not possible to ping "cachyos.org" since we are using cloudflare proxy for the website.

Add a fallback ping of 1.1.1.1 (Cloudflare), 8.8.8.8 (Cloudflare), 9.9.9.9 (Quad 9) for the internet check

Signed-off-by: Peter Jung <admin@ptr1337.dev>
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances internet connectivity checking in the installer by adding fallback ping tests when the primary HTTP check fails. This addresses accessibility issues in censored countries where the main CachyOS website may be blocked due to Cloudflare proxy usage.

  • Restructures connectivity check to try HTTP first, then fallback to ping tests
  • Adds ping tests to three reliable DNS servers (Google, Cloudflare, Quad9)
  • Improves connectivity detection reliability in restrictive network environments

Copy link
Member

@vnepogodin vnepogodin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit picks

ptr1337 and others added 6 commits July 20, 2025 13:55
Co-authored-by: Vladislav Nepogodin <nepogodin.vlad@gmail.com>
Co-authored-by: Vladislav Nepogodin <nepogodin.vlad@gmail.com>
Co-authored-by: Vladislav Nepogodin <nepogodin.vlad@gmail.com>
Co-authored-by: Vladislav Nepogodin <nepogodin.vlad@gmail.com>
Co-authored-by: Vladislav Nepogodin <nepogodin.vlad@gmail.com>
Co-authored-by: Vladislav Nepogodin <nepogodin.vlad@gmail.com>
Signed-off-by: Peter Jung <admin@ptr1337.dev>
Copy link
Member

@vnepogodin vnepogodin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vnepogodin vnepogodin merged commit b687897 into develop Jul 22, 2025
1 check failed
@vnepogodin vnepogodin deleted the ping-fallback branch July 22, 2025 16:29
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

Successfully merging this pull request may close these issues.

3 participants