Skip to content

Blocking a server leads to using the same server for all future requests #1978

@daviddavid

Description

@daviddavid

Describe the bug
When setting SPEEDTEST_BLOCKED_SERVERS all future requests use the same server.

To Reproduce
Steps to reproduce the behavior:

  1. Add a server ID to SPEEDTEST_BLOCKED_SERVERS
  2. Run the speed test

Expected behavior
I would expect the chosen server to still be randomized among the non-blocked IDs.

Environment (please complete the following information):

  • OS: Ubuntu
  • Architecture: amd64
  • Browser Firefox
  • Version v1.0.3

Additional context
I ran 24 hours of speed tests (one each hour) without blocking a server and noticed my ISP's server showing up repeatedly. After blocking it, for the next 48 hours, all requests were made to the same server. Removing the blocked IP randomized the test servers again.

Related to #1877 and how the first server is chosen when a block list exists.

Metadata

Metadata

Assignees

Labels

wontfixThis will not be worked on

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions