Skip to content

Speedtest stuck in "Started" when can't reach icanhazip.com #1824

@ppittle

Description

@ppittle

Describe the bug
If the container is unable to reach http://icanhazip.com, speedtests will be stuck in starting.

AFAIK, this was introduced in #1714 in https://github.com/alexjustesen/speedtest-tracker/releases/tag/v0.22.0

This appears to be the root cause of #1821

NOTE: The container is able to fully reach speedtest.net.

To Reproduce
Steps to reproduce the behavior:

  1. Prevent access to http://icanhazip.com. One way is running a pi-hole on network.
  2. Click on Run Speedtest
  3. See error

Expected behavior
There should not be a critical dependencies on http://icanhazip.com. Instead, fail gracefully, by running the test. Or allow to disable this check in configuration.

Background
This domain is blocked in the Easy Privacy list which is used by several ad blockers, example NextDns.io

easylist/easylist#15562

Environment (please complete the following information):

  • OS: [e.g. Ubuntu]
  • Architecture: [e.g. arm64, amd64]
  • Browser [e.g. chrome, safari]
  • Version [e.g. v1]

Screenshots
From #1821:
image

Logs
no logs

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions