[PR #480] [CLOSED] Fixed unreliable IPv4 internet check in install.func #2556

Closed
opened 2025-11-20 05:30:37 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/480
Author: @infinisean
Created: 11/24/2024
Status: Closed

Base: mainHead: patch-1


📝 Commits (3)

  • ad81624 Fix unreliable IPv4 internet check in install.func
  • a8f2884 Fix unreliable IPv4 internet test in alpine-install.func
  • 4c8f077 Update alpine-install.func

📊 Changes

2 files changed (+5 additions, -2 deletions)

View changed files

📝 misc/alpine-install.func (+4 -1)
📝 misc/install.func (+1 -1)

📄 Description

Old check only tried a single IP address (1.1.1.1) which is not always online. Added Google (8.8.8.8) and CloudFlare (9.9.9.9) public resolvers so that if any of the three IPs are reachable, the test will succeed.

Note

We are meticulous when it comes to merging code into the main branch, so please understand that we may reject pull requests that do not meet the project's standards. It's never personal. Also, game-related scripts have a lower chance of being merged.

Description

Fix for unreliable IPv4 internet test in install.func

Provide a summary of the changes made and/or reference the issue being addressed.
Old check only tried a single IP address (1.1.1.1) which is not always online.
Added Google (8.8.8.8) and CloudFlare (9.9.9.9) public resolvers so that if any of the three IPs are reachable, the test will succeed.

Fixes # (issue)

Type of change

Please check the relevant option(s):

  • Bug fix (non-breaking change that resolves an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (a fix or feature that would cause existing functionality to change unexpectedly)
  • New script (a fully functional and thoroughly tested script or set of scripts.)

Prerequisites

The following efforts must be made for the PR to be considered. Please check when completed:

  • Self-review performed (I have reviewed my code, ensuring it follows established patterns and conventions)
  • Testing performed (I have tested my changes, ensuring everything works as expected)
  • Documentation updated (I have updated any relevant documentation)

Additional Information (optional)

Provide any additional context or screenshots about the feature or fix here.

If there are other pull requests or discussions related to this change, please link them here:

  • Related PR #

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/community-scripts/ProxmoxVE/pull/480 **Author:** [@infinisean](https://github.com/infinisean) **Created:** 11/24/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (3) - [`ad81624`](https://github.com/community-scripts/ProxmoxVE/commit/ad81624b6cd75e272405c99823b399582081167b) Fix unreliable IPv4 internet check in install.func - [`a8f2884`](https://github.com/community-scripts/ProxmoxVE/commit/a8f2884468b9dc55494d03711f4c624d38cccbc0) Fix unreliable IPv4 internet test in alpine-install.func - [`4c8f077`](https://github.com/community-scripts/ProxmoxVE/commit/4c8f077b80dd5cc300d2b721a0aac83d4b50e428) Update alpine-install.func ### 📊 Changes **2 files changed** (+5 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `misc/alpine-install.func` (+4 -1) 📝 `misc/install.func` (+1 -1) </details> ### 📄 Description Old check only tried a single IP address (1.1.1.1) which is not always online. Added Google (8.8.8.8) and CloudFlare (9.9.9.9) public resolvers so that if any of the three IPs are reachable, the test will succeed. > [!NOTE] > We are meticulous when it comes to merging code into the main branch, so please understand that we may reject pull requests that do not meet the project's standards. It's never personal. Also, game-related scripts have a lower chance of being merged. ## Description Fix for unreliable IPv4 internet test in install.func Provide a summary of the changes made and/or reference the issue being addressed. Old check only tried a single IP address (1.1.1.1) which is not always online. Added Google (8.8.8.8) and CloudFlare (9.9.9.9) public resolvers so that if any of the three IPs are reachable, the test will succeed. Fixes # (issue) ## Type of change Please check the relevant option(s): - [x] Bug fix (non-breaking change that resolves an issue) - [ ] New feature (non-breaking change that adds functionality) - [ ] Breaking change (a fix or feature that would cause existing functionality to change unexpectedly) - [ ] New script (a fully functional and thoroughly tested script or set of scripts.) ## Prerequisites The following efforts must be made for the PR to be considered. Please check when completed: - [x] Self-review performed (I have reviewed my code, ensuring it follows established patterns and conventions) - [x] Testing performed (I have tested my changes, ensuring everything works as expected) - [x] Documentation updated (I have updated any relevant documentation) ## Additional Information (optional) Provide any additional context or screenshots about the feature or fix here. ## Related Pull Requests / Discussions If there are other pull requests or discussions related to this change, please link them here: - Related PR # --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2025-11-20 05:30:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#2556