veso266 / Flash-Speedtest.net-by-Ookla

This is Ooklas old Flash based Speedtest the best speedtest that ever existed
8 stars 0 forks source link

Issues with getting the speedtest site running #3

Open SurenaSoroush opened 9 months ago

SurenaSoroush commented 9 months ago

Hello, I am new to Github so forgive me if I sound weird.

I tried to set up the speedtest server from the last site folder hosted through xampp and opened through flash browser, the site would load without the actual speedtest part. The middle would be empty with the background color gradient.

If I tried your server files by changing the server address to my own ip as suggested in your readme of that folder, I can get further, the actual speedtest loads but immediately gives me a WRONG LICENSE error. I did get a license from the keygen and changed it in the config file, yet I keep getting that error.

I couldn't figure out what I am doing wrong but I would love to test and maybe even host the speedtest on a raspberry pi to test externally against my network.

Could you give me some insight what I might need to do or if something is wrong with the files?

Kind regards.

veso266 commented 9 months ago

Hmm, maybe you could get further by writing debug inside speedtest window (white windows that looks like console tab in developer tools will open) and it will tell u why your license if wrong

I think it only works on domain not on ip adress or localhost though (although i dont remember localhost part)

I guess first part would be to get license sorted, then try to get the last side working (I tried to archive everything I could, but I might miss something)

Here u can read a bit more: https://github.com/veso266/Flash-Speedtest.net-by-Ookla/issues/1

Also pictures how debug window looks like

Hope u manage to fix it if not ask here and will try to help u, but please forgive me if I am slow to respond, since I am very busy theese days)

SurenaSoroush commented 9 months ago

Thank you for your relatively quick response.

I have tried what you said but it didn't work. In the https://github.com/veso266/Flash-Speedtest.net-by-Ookla/issues/1#issuecomment-1003136406 you mention a link which is dead, unfortunately.

I can't look any further. In the debug it says invalid host, yet I tried 3 hosts: localhost, 127.0.0.1 and my DHCP ip incase xampp somehow routed the host through the network instead of locally. None worked. All invalid.

These are some screenshots which may or may not be needed: console debug keygen console

SurenaSoroush commented 9 months ago

NEVERMIND!!! I found out what the issue was.

You need to use http:// and end with /, so I used http://127.0.0.1/ and the license worked!

Now I have a different issue, and I recorded it to show: https://youtu.be/6E781szoKAU

It looks like it freezes when trying to ping or something.

SurenaSoroush commented 9 months ago

Another update, it seems I had to turn on the ookla server and keep using your own IP and settings in config file.

Then it worked but I guess it tested my storage speed? Since ping is 1ms download is around 350mbps and upload is around 1250-1750mbps when retesting.

If I press ANY other server, it gives latency error or freezes like in the video from previous comment.

latency error

SurenaSoroush commented 9 months ago

Another update: It seems some servers do work. I got TRANSTELCO in Ciudad Juarez working (border between USA and Mexico, under LV) and another random one was MTN Irancell in Isfahan, Iran. Chose that location at random cuz I knew Iran is kinda isolated from the world so maybe the servers were older and I guess I was right. None work in my home country of the Netherlands.

SurenaSoroush commented 9 months ago

When running my own server, I am limited to 350 down and around max 1800 up with flash browser but smooth. If I use an older build of portable mozilla with flash, I get higher speeds but laggy. This is as fast as I could get while recording: https://www.youtube.com/watch?v=6qF-PD6P4_0

Would be cool if the flash part could be made into html5, especially because of crappy performance with flash, and all servers working but oh well.

veso266 commented 9 months ago

Its nice u made it working but this is not optimized for over 1gbps speeds 😢

I tried to run this with ruffie back in 2021 and it didnt even ran

It was always laggy on newer flash versions for some reason

And yea a lot of servers in config are dead nowadays 😢

SurenaSoroush commented 9 months ago

The fastest I got it running with was with Portable Firefox with flash built in this link. But yeah ruffle is bad. Seems like with other options anyhting over 300mbps is just straight lag.

Is there a way to convert the swf to html5? That way we get rid of the performance penalty and we can run it in modern browsers, phones etc.

veso266 commented 9 months ago

sadly source code is obfuscacated so even if u decompile it it would be extremly hard to convert the whole thing to html5 (not even sure if html5 supports all the fancy animations)

the best u can do is run it like it was suppose to (with real flash)

you might try some other flash emulators like CheerPX Flash (they even have (CheerPX Native bridge (its for extremly dificult programs where u run flash inside a server and it gets streamed to ur browser) but sadly I was not able to get my hands on it (they say it works preaty well)

If u manage to get ur hands on this emulator please share as I would also love to use the old speedtest on modern browsers

Also some day someone has to download the map: https://github.com/AliFlux/MapTilesDownloader/issues/15

because without the map speedtest will look extremly wierd and loose all its charm