Squid Posted April 11, 2021 Share Posted April 11, 2021 I think the issues are due to changes at ookla (could be wrong though). Either way, I'm having CA mark 2018.02.11 as being incompatible as it doesn't work at all. 1 Quote Link to comment
stretch886 Posted April 19, 2021 Share Posted April 19, 2021 On 4/11/2021 at 10:36 AM, cinereus said: I strongly recommend moving to henryw3's docker. @cinereusWhat's it called? Tried searching apps for his name and didn't see anything. Quote Link to comment
trurl Posted April 19, 2021 Share Posted April 19, 2021 18 minutes ago, stretch886 said: Tried searching apps I found it by searching Apps for speedtest and then clicking the support link for each of the matches. Quote Link to comment
Squid Posted April 19, 2021 Share Posted April 19, 2021 35 minutes ago, stretch886 said: What's it called? Tried searching apps for his name and didn't see anything. If CA doesn't find anything on a search that doesn't have an autocomplete entry, try simplifying the search term. ie: searching for henry comes up with the appropriate app Quote Link to comment
-MacGyver- Posted April 19, 2021 Share Posted April 19, 2021 (edited) This was a change on the ookla side, and not related to the 6.9.x series updates. My unraid software is a few versions older, and this issue started April 7th for me as well. Did install the henrywhitaker3/speedtest-tracker after this plugin broke. Still prefer the plugin because it can highlight speed tests below thresholds for both down and up tests, and why I spent some time this weekend looking at the code for the speedtest plugin. It seems someone else here noticed a new version of the script and asked if dmacias could update the plugin. After looking at the code more I found the repository for the speedtest-cli update that is used within this plugin. That file, as of now, was last updated on April 8th to version 2.1.3 by the maintainer of that repo. Applied this version to my system and the speedtest plugin works again. Providing here for others, if so interested. ** Notice: Not claiming to be the creator of the plugin, or the creator of the speedtest.py script the plugin uses. Providing a workaround to get the plugin back up and operational. ** Disclaimer: Follow these steps at your own risk. This info is provided as-is. Understand and know what these steps are doing. If you do not know, then don’t run them! Downloading and modifying this file in /tmp to not cause issues with real data, this was done via ssh to the unraid server. cd /tmp mkdir speedtest-new cd speedtest-new Now we grab the new version of the script (raw repository location): wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py The downloaded file, when viewed on the speedtest plugin settings tab will show a lot more “version” info. like this image. Updating the "def versoin():" function will change from this image on the setting page to showing just 2.1.3. This is optional. Open speedtest.py and look for “def version():” and update this function to look like below:: Quote def version(): """Print the version""" printer(__version__) #printer('Python %s' % sys.version.replace('\n', '')) sys.exit(0) Save and exit your editor once this section looks like above. Changing the name of the file, to know what version it is. Currently still in our download location, in this example: /tmp/speedtest-new mv speedtest.py speedtest-2.1.3.py Now that we have the file, updated the version function (if you did that) and renamed we can place in the speedtest plugin location. Use this command to copy to the speedtest plugin location: cp speedtest-2.1.3.py /usr/local/emhttp/plugins/speedtest/scripts Change into the speedtest scripts location, backup the current script. Then rename the new version file to the speedtest.py file name and lastly make our new script executable: cd /usr/local/emhttp/plugins/speedtest/scripts ls -ltr verify you see “speedtest-2.1.3.py”. If not go back to the location you downloaded and copy to this location again. Now backup the old 2.0.0 version file, I’m assuming that is the latest version you had working: cp speedtest.py speedtest-2.0.0.py Copy the new file over and make executable: cp speedtest-2.1.3.py speedtest.py chmod 755 speedtest.py verify rwxr-xr-x for speedtest.py: ls -ltr Change to the webui settings page for the speedtest plugin. Refresh the page and the version drop down should now show 2.1.3 (or like the image above with more detailed version info). Hit the apply button. Now hit the Begin Test button to verify speedtest plugin is working again for you. The last thing to do is to make this survive a reboot. For me that was making a custom directory in the /boot location (this is your flash device, take care when executing commands here. You can wipe your unraid flash device or make unintended change If you do not know what you are doing). Then copy the speedtest-2.1.3py file from tmp to here. Either in the “go” file or from the “user scripts” add-on you can copy the file (and rename in one step) to the speedtest scripts location above. Be sure to include a step to chmod the file in your go or user scripts. Please note the copy, and chmod, need to be done after plugins have been installed, otherwise the change will be overwritten – or the copy could fail since the directory wouldn’t exist. You could copy the plugin .tgz file to another computer, unzip (7zip works) find the file and replace it. Then re-zip as (as a TAR archive compresses in GNU Zip) replace the file in the plugins folder on the flash (/boot). Edited April 19, 2021 by klepel code blocks show properly on dark forum theme 1 1 Quote Link to comment
hrv231 Posted April 19, 2021 Share Posted April 19, 2021 Having this problem with speedtest plugin Have you seen this? I'm on unraid 6.8.3 Quote Link to comment
Featured Comment truckerCLOCK Posted April 21, 2021 Featured Comment Share Posted April 21, 2021 If you go to setting and go to v0.3.4. It works fine for me. 4 1 Quote Link to comment
truckerCLOCK Posted April 21, 2021 Share Posted April 21, 2021 On 4/11/2021 at 8:36 AM, cinereus said: I strongly recommend moving to henryw3's docker. I have tried that app. It sadly is not the same. Quote Link to comment
ikekreham Posted May 26, 2021 Share Posted May 26, 2021 On 4/21/2021 at 5:21 AM, truckerCLOCK said: If you go to setting and go to v0.3.4. It works fine for me. Hello @truckerCLOCK Thank you for the tips. Is manual server selection is working for you ? Server list is empty for me. Quote Link to comment
shiftylilbastrd Posted May 26, 2021 Share Posted May 26, 2021 (edited) @klepel That works perfect Submitted a pull request to sivel/speedtest-cli on Github. Maybe that'll get it fixed. Edited May 26, 2021 by shiftylilbastrd Quote Link to comment
shiftylilbastrd Posted June 7, 2021 Share Posted June 7, 2021 On 5/26/2021 at 12:54 PM, shiftylilbastrd said: @klepel That works perfect Submitted a pull request to sivel/speedtest-cli on Github. Maybe that'll get it fixed. So I just got the notification that my pull request was committed. Now if we can get the plugin updated to pull the latest version(2.1.3) this should be functional again. Quote Link to comment
cinereus Posted June 13, 2021 Share Posted June 13, 2021 (edited) @henryw3 this has not been working for me since 12PM UTC today... Edited June 13, 2021 by cinereus Quote Link to comment
cinereus Posted June 14, 2021 Share Posted June 14, 2021 Spontaneously fixed again. Quote Link to comment
Masterwishx Posted July 5, 2021 Share Posted July 5, 2021 (edited) its working on 0.3.4 on server that was selected befor but servers list is empty ... Edited July 5, 2021 by Masterwishx Quote Link to comment
FreeMan Posted July 5, 2021 Share Posted July 5, 2021 On 6/7/2021 at 2:08 PM, shiftylilbastrd said: So I just got the notification that my pull request was committed. Now if we can get the plugin updated to pull the latest version(2.1.3) this should be functional again. If the plugin was ever updated (I'm guessing not since the newest version I see is 2.0.0 and my plugin is dated 2018.02.11), your changes don't seem to have worked for me. I have auto updates turned on, but don't recall having seen the change come through (doesn't mean it didn't, just that I don't recall). My speed tests have been reliably failing before & since your post. I appreciate your efforts and hope that it does get updated! On 4/20/2021 at 11:21 PM, truckerCLOCK said: If you go to setting and go to v0.3.4. It works fine for me. The V0.3.4 change appears to be working for me as well. A manual test functions, now to wait for my regularly scheduled test to ensure all is good. Thank you for this work-around! Quote Link to comment
Masterwishx Posted July 5, 2021 Share Posted July 5, 2021 On 4/19/2021 at 8:58 PM, klepel said: Applied this version to my system and the speedtest plugin works again Thanks its work with servers list . on 0.3.4 i have only server that was selected befor ... Quote Link to comment
Masterwishx Posted July 6, 2021 Share Posted July 6, 2021 On 4/19/2021 at 8:58 PM, klepel said: This was a change on the ookla side, and not related to the 6.9.x series updates. My unraid software is a few versions older, and this issue started April 7th for me as well. i made a script for these steps and work fine also servers list enabled, but its very srange i have a lower speed results than my main comp and also tryed speednet test from firefox plugin in unraid its show more speed . maybe you know where the problem may be ? Thanks Quote Link to comment
-MacGyver- Posted July 13, 2021 Share Posted July 13, 2021 Busy work week last week. Glad to hear those worked for you @Masterwishx. I need to update the steps as the speedtest script was updated by the original developer (thanks for the pull request shiftlilbastrd) to present the version the way it had been. Yes, have noticed the same, seems to be 10% lower than what was previously reported. My latest speed test was 210Mb, and I know to add 10%, which means an older script version would have registered as 231Mb. Did notice that this version of the speedtest script has many more lines of code than previous ones. Have not compared it to a prior version to see if something was added that is causing the lower speed test results. 1 Quote Link to comment
Masterwishx Posted July 17, 2021 Share Posted July 17, 2021 On 7/13/2021 at 3:29 PM, klepel said: Yes, have noticed the same, seems to be 10% lower Unfortunately , i have more than 10% lower , if i have (ping - 12 ,down - 450mbps ,up 10mbps) in main comp in plugin i have about (ping - 30.468 ms , down - 323.3 Mbit/s , up - 8.42 Mbit/s ) maybe it will be fixed next versions ?!? Quote Link to comment
Viper359 Posted July 21, 2021 Share Posted July 21, 2021 Thanks for the tip of trying the new Speedtest app by henrywhitaker3. its working perfectly. Now I actually get my real speed test results. The other app never worked for me, only showed 30MB/s when I have 1.5Gbps connection. Quote Link to comment
Masterwishx Posted July 23, 2021 Share Posted July 23, 2021 On 7/13/2021 at 3:29 PM, klepel said: Did notice that this version of the speedtest script has many more lines of code than previous ones Hi, Do you think the speed problem in speedtest.py ? is any chance the problem may be in OpenSSL ? maybe we should use new ver of pyOpenSSL-17.5.0-x86_64-1_slonly instead of pyOpenSSL-0.15.1-x86_64-1_slack ? Quote Link to comment
dalben Posted August 12, 2021 Share Posted August 12, 2021 I get the following error no matter what version I try to use. Has anyone seen it or know how to get around it? Internet bandwidth test started Warning: simplexml_load_file(): /boot/config/plugins/speedtest/speedtest.xml:1: parser error : Document is empty in /usr/local/emhttp/plugins/speedtest/scripts/speedtest-xml on line 59 Warning: simplexml_load_file(): in /usr/local/emhttp/plugins/speedtest/scripts/speedtest-xml on line 59 Warning: simplexml_load_file(): ^ in /usr/local/emhttp/plugins/speedtest/scripts/speedtest-xml on line 59 Fatal error: Uncaught Error: Call to a member function addChild() on bool in /usr/local/emhttp/plugins/speedtest/scripts/speedtest-xml:60 Stack trace: #0 {main} thrown in /usr/local/emhttp/plugins/speedtest/scripts/speedtest-xml on line 60 Quote Link to comment
Masterwishx Posted September 4, 2021 Share Posted September 4, 2021 (edited) On 4/11/2021 at 6:36 PM, cinereus said: I strongly recommend moving to henryw3's docker. Moved to this docker some time ago (2 month) and i can confirm work fine and shows right speed like in speedtest.net . (speedtest tracker - Selfhosters Unraid Discord Repository) Edited September 4, 2021 by Masterwishx Quote Link to comment
saneguy Posted September 9, 2021 Share Posted September 9, 2021 On 9/4/2021 at 8:15 AM, Masterwishx said: Moved to this docker some time ago (2 month) and i can confirm work fine and shows right speed like in speedtest.net . (speedtest tracker - Selfhosters Unraid Discord Repository) Don't think this does what you think it does. If I understood correctly, this measures speed to that docker container. For e.g., if you have this docker container running on your Unraid and you visit this container's URL from your mobile phone via Wifi, then the speed you see is the speed experienced by your mobile phone when accessing the Unraid machine. So when I visit this from my mobile phone, I see speeds ranging between 400-400 Mbps over Wifi When I visit this connected to a 10Gbps switch, I see speeds of around 8Gbps. If your Unraid machine is exposed to the internet, then perhaps, the docker container can be used to do an internet speed test. Quote Link to comment
henryw3 Posted September 10, 2021 Share Posted September 10, 2021 8 hours ago, saneguy said: Don't think this does what you think it does. If I understood correctly, this measures speed to that docker container. For e.g., if you have this docker container running on your Unraid and you visit this container's URL from your mobile phone via Wifi, then the speed you see is the speed experienced by your mobile phone when accessing the Unraid machine. So when I visit this from my mobile phone, I see speeds ranging between 400-400 Mbps over Wifi When I visit this connected to a 10Gbps switch, I see speeds of around 8Gbps. If your Unraid machine is exposed to the internet, then perhaps, the docker container can be used to do an internet speed test. This isn't what that container does, it always runs the speedtest from the container using ooklas cli. I would guess that the difference in speeds you are seeing would be down to it connecting to different servers each time it runs the test Quote Link to comment
Recommended Posts
Posted by truckerCLOCK,
5 reactions
Go to this post
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.