Skip to content

Review and adjust internet connectivity check logic to avoid false positives at night #6

Description

@prorochestvo

Problem

There are suspicious internet connectivity checks triggering during night and early morning hours. These triggers may be caused by the ISP, but they still pose a risk: many processes depend on internet access, and we do not want to cut off the internet for them due to potentially incorrect connectivity checks.

Context

  • Strange connectivity check events are observed only at night or early in the morning.
  • It might be related to the internet provider performing maintenance or having brief outages at those times.
  • Current behavior risks disabling internet access for processes that critically depend on it.

Tasks / Next Steps

  1. Review the existing internet connectivity check mechanism:
    • What exactly is being checked (e.g., ping to specific hosts, HTTP requests, DNS resolution)?
    • What are the timeouts and retry policies?
    • How often checks run, especially at night.
  2. Analyze recent logs for night/early-morning periods:
    • Identify when and how often connectivity checks are failing.
    • Confirm whether failures are brief/transient or prolonged.
  3. Assess impact on dependent processes:
    • Determine which processes are affected when the system decides that the internet is down.
    • Verify whether any processes have been incorrectly blocked during these night-time events.
  4. Propose and implement safer handling:
    • Adjust thresholds, timeouts, or retry counts to better tolerate brief night-time issues.
    • Consider different behavior during known maintenance windows (if applicable) to avoid unnecessary cutoffs.
  5. Validate changes:
    • Monitor behavior over several nights.
    • Confirm that legitimate outages are still detected while avoiding unnecessary internet cutoffs for dependent processes.

Acceptance Criteria

  • False-positive internet outage detections during night/early-morning hours are reduced or eliminated.
  • Dependent processes no longer lose internet access due to brief or spurious connectivity check failures.
  • Logs clearly show when and why internet is considered unavailable.

Task: 260801.001

Attachments:
PHOTO_1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions