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

Fix Public IP detection - Fix issue when seeip.org is unreachable #1241 #1243

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ralphg6
Copy link

@ralphg6 ralphg6 commented Aug 10, 2024

The script does work when seeip.org is unreachable, so I changed the policy to define the public IP.

It solves the issue #1241

CHANGELOG

Added

  • Timeout limit on each try to solve the IP to avoid long waits;
  • Extra public IP providers as failovers;

Changed

  • the script only will try to solve an IP if the ENDPOINT is empty;

Removed

  • Unneeded output of CURL commands on IP detection;
  • Duplicated code;

@ralphg6
Copy link
Author

ralphg6 commented Aug 10, 2024

Solves #1241

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.

2 participants