Skip to content

Feature: Improve dashboard ip api - #3741

Merged
mergify[bot] merged 43 commits into
mainfrom
dashboard-ip-api
Nov 27, 2026
Merged

mergify[bot] merged 43 commits into
mainfrom
dashboard-ip-api

Conversation

@BornToBeRoot

Copy link
Copy Markdown
Owner

Description

See commits

Related issue

#3609

Type of change

  • 🐛 Bug fix
  • ✨ New feature / improvement
  • 📖 Documentation / website
  • 🧹 Refactoring / maintenance (no functional change)

BornToBeRoot and others added 3 commits November 26, 2026 23:38
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…widgets

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BornToBeRoot BornToBeRoot added this to the next-release milestone Nov 26, 2026
Copilot AI balanced review requested due to automatic review settings November 26, 2026 22:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@mergify

mergify Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

This pull request is merged.

BornToBeRoot and others added 19 commits November 26, 2026 23:48
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…below the header (B1)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…fter the check (B5)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…etwork change (B3)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… was enabled (B2)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the check is disabled (M2, C4)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… copy all (M1)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…st mapping)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r tools (M3)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ion limits (D1)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
BornToBeRoot and others added 21 commits November 27, 2026 00:52
…etwork change during a check (CR1)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… (CR3)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…er the check was disabled (CR4)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t (CR5)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n (CR7)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…thout a response (CR2)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e start (F1)

The widgets no longer start a check in their constructor: the dashboard starts it
(CheckWidgets() at the start, a widget shown the first time marks the dashboard
as outdated). Before, the dashboard's check right after creating the widget
queued a recheck (CR1): two ip-api.com requests per widget at every start.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ends no recheck (F2)

A recheck queued during a check (e.g. a network change) only runs while the
widget is shown. A hidden widget is checked when it is shown again (the setting
marks the dashboard as outdated).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t a response (F3)

When three requests in a row got no response but the server still answers a
small request, the remaining requests of the set are skipped and the direction
ends (before, each of them waited for the 15 s timeout, e.g. ~90 s for six
1 MB uploads through a proxy that silently drops them).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Settings > Dashboard has one section per widget in the order of the dashboard
(Network connection, Speed Test, IP geolocation, DNS resolver), each with
"Show widget" and the settings of its check. Showing a widget and enabling its
check stay separate (a new installation shows the IP API widgets with the
Enable button): "Check IP geolocation" / "Check DNS resolver" are disabled
while their widget is hidden (the value is kept). A note shows that the
network connection settings are also used by the status window, the help of
the public IPv4 / IPv6 address says it is not the address of the computer.

Docs: Settings section grouped the same way (existing anchors kept).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…jected (R1)

A proxy that answers every request with an HTTP error (e.g. 403) no longer
gives a "successful" test with -/- values, a test time and the "requests were
skipped" warning: without any latency, download or upload sample the error
of the last request is thrown (shown with the HTTP status code).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ries (R2)

A request that is still answered with HTTP 429 after its three retries ends
the test with the error. Before, it was skipped and every following request
was rate limited and retried too (up to 60 s per retry, no failure counted):
the test could run for hours showing "Measuring latency...".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The counter of requests in a row without a response starts again with every
download / upload set. Before, two failed latency probes (e.g. a short Wi-Fi
drop) and one failed request of the next size reached the limit; if the
server then answered the small request, the direction ended (F3) and all
larger sizes were skipped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… 429 (R6)

The answer to HTTP 429 uses the time left incl. the margin of one second like
the following requests, so "Try again in 61 seconds" is followed by 60, 59, ...
instead of 60 and then 61.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ore the last set (P1)

R3 reset the failures in a row at the start of every set, so a connection
lost during the last latency probes was no longer detected in the last set
(2 x 250 MB never reaches 3 failures): the test ended with a result and a
warning instead of the error. The failures in a row across the sets end the
test again; a separate counter of the set decides that a size fails, so
failed latency probes before a set still only skip one request (R3).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… a new connection per check (P2)

The HttpClients of ip-api.com (IP geolocation, DNS resolver) and of the public
IP address API send "Connection: close". A check right after a network change
(e.g. a full-tunnel VPN connected within a minute of the last check) no longer
reuses a pooled keep-alive connection of the old network, which could return
the old public IP address and location. The speed test keeps its pooled
connections (one test, many requests).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…om (P3)

The answer to HTTP 429 reads the time until the window resets (X-Ttl) if it is
there, 60 seconds only without it. Before, a 429 a few seconds before the
reset (e.g. another device used up the 45 requests) blocked the IP
Geolocation tool, the traceroute and the widget for a whole minute.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…in the set (Q1)

After failed latency probes before a set, the check of the server reset the
failures in a row, so a size that fails waited for three more timeouts before
it was skipped (one extra timeout of 15 s, a set of 3 was never detected).
The set's own counter now also starts the check (download / upload only, the
latency probes still end the test after three failures in a row). Docs
describe when a size is skipped (P1).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…Rl (Q2)

A 429 right before the window resets (X-Ttl: 0) blocks for one second
instead of a minute, and X-Ttl is used even if X-Rl is missing (P3).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…29 (P2, P3, Q2)

Entries for the Dashboard and the status window (new connection per check
after a network change) and for IP Geolocation and Traceroute (time left of
ip-api.com after HTTP 429).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mergify
mergify Bot merged commit 3799577 into main Nov 27, 2026
5 checks passed
@mergify
mergify Bot deleted the dashboard-ip-api branch November 27, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants