speed.cloudflare.com

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
UCyborg
Lunatic
Lunatic
Posts: 358
Joined: 2019-01-10, 09:37
Location: Slovenia

speed.cloudflare.com

Unread post by UCyborg » 2020-12-15, 10:22

This site is unable to measure one's internet speed due to JavaScript error about some variable or something being undefined. The error shows for multiple JS files and its code is minified. Maybe only about:config tweak is needed? It works on Firefox 52.9. User agent doesn't seem to matter at first glance.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5590
Joined: 2015-12-09, 15:45

Re: speed.cloudflare.com

Unread post by moonbat » 2020-12-15, 10:32

It would help if you posted the actual error in code tags.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 5443
Joined: 2011-10-03, 10:19
Location: Piney Woods of Southeast Texas, USA

Re: speed.cloudflare.com

Unread post by Night Wing » 2020-12-15, 11:19

@ UCyborg

There is another site, which I use, and it will show you your internet speed. Have you tried Speedtest?

https://www.speedtest.net/

Once on the page, find your server to your ISP, then left click on the large "GO" button, wait about 10 seconds and then the site will automatically start to find your internet speed (download and upload).
Linux Mint 22.1 (Xia) Xfce w/Pale Moon, Waterfox, Firefox
MX Linux 23.6 (Libretto) Xfce w/Pale Moon, Waterfox, Firefox
Linux Debian 12.11 (Bookworm) Xfce w/Pale Moon, Waterfox, Firefox

User avatar
UCyborg
Lunatic
Lunatic
Posts: 358
Joined: 2019-01-10, 09:37
Location: Slovenia

Re: speed.cloudflare.com

Unread post by UCyborg » 2020-12-15, 12:40

The error:

Code: Select all

"Error fetching https://speed.cloudflare.com/__down?measId=5338652838411533&bytes=0: TypeError: i is undefined"
@Night Wing
I know about Speedest by Ookla, but I brought Cloudflare's site up because we're interested in having as most compatible browser as possible.

User avatar
Isengrim
Board Warrior
Board Warrior
Posts: 1324
Joined: 2015-09-08, 22:54
Location: 127.0.0.1

Re: speed.cloudflare.com

Unread post by Isengrim » 2020-12-15, 12:41

Off-topic:
I occasionally use fast.com which is run by Netflix.
Night Wing wrote:
2020-12-15, 11:19
Have you tried Speedtest?
I've found that some ISPs prioritize traffic to speedtest.net to make the speed results look faster than they are. Or at least they used to. I recommend running several tests at different sites to be sure.
a.k.a. Ascrod
Linux Mint 19.3 Cinnamon (64-bit), Debian Bullseye (64-bit), Windows 7 (64-bit)
"As long as there is someone who will appreciate the work involved in the creation, the effort is time well spent." ~ Tetsuzou Kamadani, Cave Story

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5590
Joined: 2015-12-09, 15:45

Re: speed.cloudflare.com

Unread post by moonbat » 2020-12-15, 12:58

Can confirm the error on Pale Moon, the site requires WebGL, but that doesn't stop these 'undefined' errors. The page loads on Basilisk but the test doesn't run. Different set of errors -

Code: Select all

Error: WebGL: texImage2D: Conversion requires change inalpha-premultiplication.  
Error: WebGL: texImage2D: Alpha-premult and y-flip are deprecated for non-DOM-Element uploads.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 5443
Joined: 2011-10-03, 10:19
Location: Piney Woods of Southeast Texas, USA

Re: speed.cloudflare.com

Unread post by Night Wing » 2020-12-15, 13:00

Isengrim wrote:
2020-12-15, 12:41
Off-topic:
I occasionally use fast.com which is run by Netflix.

I've found that some ISPs prioritize traffic to speedtest.net to make the speed results look faster than they are. Or at least they used to. I recommend running several tests at different sites to be sure.
Off-topic:
Looks like a little comparison is in order.

I live in a very small city (population 1,300). This is what our local politicians call it, but I call it a small town and this city/town is in a rural county in southeast Texas. We do have broadband and my ISP is Comcast/Xfinity.

Using "Speedtest", my download internet speed is 315 Mbps. With "Fast", my download speed is 320 Mbps. Basically, winner and loser wise, it is a "draw". But if I'm going to nitpick, "Fast" is faster than "Speedtest" which makes your comment "moot".
Linux Mint 22.1 (Xia) Xfce w/Pale Moon, Waterfox, Firefox
MX Linux 23.6 (Libretto) Xfce w/Pale Moon, Waterfox, Firefox
Linux Debian 12.11 (Bookworm) Xfce w/Pale Moon, Waterfox, Firefox

JustOff

Re: speed.cloudflare.com

Unread post by JustOff » 2020-12-15, 17:06

The console displays a lot of errors like:

Code: Select all

"Error fetching https://speed.cloudflare.com/__down?measId=728300315040175&bytes=0: TypeError: i is undefined"
due to unsuccessful execution of the following expression:

Code: Select all

var i = performance.getEntriesByName(h).slice(-1)[0]

// where "h" equals "https://speed.cloudflare.com/__down?measId=728300315040175&bytes=0"
The regression happened while removing telemetry stubs in Issue #929 (UXP), where the Performance interface was somehow broken.

User avatar
Isengrim
Board Warrior
Board Warrior
Posts: 1324
Joined: 2015-09-08, 22:54
Location: 127.0.0.1

Re: speed.cloudflare.com

Unread post by Isengrim » 2020-12-15, 17:31

Night Wing wrote:
2020-12-15, 13:00
Off-topic:
Looks like a little comparison is in order.
Using "Speedtest", my download internet speed is 315 Mbps. With "Fast", my download speed is 320 Mbps. Basically, winner and loser wise, it is a "draw". But if I'm going to nitpick, "Fast" is faster than "Speedtest" which makes your comment "moot".
Off-topic:
Not saying it was a definite widespread thing that is still going on, just saying that I had seen it before and it's just something to keep in mind. It's still a good idea to check multiple sites if you have doubts. :coffee:
a.k.a. Ascrod
Linux Mint 19.3 Cinnamon (64-bit), Debian Bullseye (64-bit), Windows 7 (64-bit)
"As long as there is someone who will appreciate the work involved in the creation, the effort is time well spent." ~ Tetsuzou Kamadani, Cave Story

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37676
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: speed.cloudflare.com

Unread post by Moonchild » 2020-12-15, 17:56

JustOff wrote:
2020-12-15, 17:06
The regression happened while removing telemetry stubs in Issue #929 (UXP),
Can you pinpoint the exact commit where this regressed?
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
badnick
Astronaut
Astronaut
Posts: 670
Joined: 2017-03-23, 19:56

Re: speed.cloudflare.com

Unread post by badnick » 2020-12-15, 18:30

moonbat wrote:
2020-12-15, 12:58
The page loads on Basilisk but the test doesn't run.
Same for me but also on Pale Moon the page loads but no test.
Windows 10 pro /64 (version 1809)
PM last/64

JustOff

Re: speed.cloudflare.com

Unread post by JustOff » 2020-12-15, 18:36

Moonchild wrote:
2020-12-15, 17:56
Can you pinpoint the exact commit where this regressed?
Telemetry: Remove stubs and related code

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37676
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: speed.cloudflare.com

Unread post by Moonchild » 2020-12-15, 19:31

Right that was that huge difficult to review commit.
Might have been a bit overzealous removing code -- although nothing immediately stands out as related to DOM performance.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
adesh
Board Warrior
Board Warrior
Posts: 1273
Joined: 2017-06-06, 07:38

Re: speed.cloudflare.com

Unread post by adesh » 2020-12-16, 07:38

That is my commit. I can look into it if no one else is checking this, although I doubt I'd be able to find something quickly and logically. Most of my effort will be trial and error, and I may not find anything.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37676
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: speed.cloudflare.com

Unread post by Moonchild » 2020-12-16, 07:52

I'd appreciate it if you try. There's clearly something amiss with it that slipped by (all of) us.
I've already found one problem that I corrected for the upcoming release; quite possible there's something else causing this issue for the speed test/performance API.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

JustOff

Re: speed.cloudflare.com

Unread post by JustOff » 2020-12-16, 09:44

Yesterday I managed to narrow it down to the following two files:

Code: Select all

netwerk/base/nsLoadGroup.cpp
netwerk/base/nsLoadGroup.h
Rolling them back makes the site work, but a new error appears in the console, and I don't have enough time to deal with it yet.

User avatar
adesh
Board Warrior
Board Warrior
Posts: 1273
Joined: 2017-06-06, 07:38

Re: speed.cloudflare.com

Unread post by adesh » 2020-12-16, 10:07

Thanks JustOff! That's a nice pointer. Because reverting changes to js/src and perfmonitoring did not fix the issue.

EDIT: I have a working build. Sending a PR soon.
You do not have the required permissions to view the files attached to this post.