henrywhitaker3 / Speedtest-Tracker

Continuously track your internet speed
GNU General Public License v3.0
1.52k stars 121 forks source link

[BUG] Dev Build - healthchecks.io Integration - Tests Fail #618

Open jiriteach opened 3 years ago

jiriteach commented 3 years ago

I have the dev build of speedtest-tracker running well on my RPI4. I have noticed that the in the dev build - healthchecks.io integration seems to be failing.

Testing from the GUI shows nothing.

Google Chrome console - Uncaught (in promise) Error: Request failed with status code 500

Following the link (/api/settings/test-healthchecks/start?token=) - lluminate\Contracts\Container\BindingResolutionException Target class [IntegrationsController] does not exist.

Anyone else seeing this?

henrywhitaker3 commented 3 years ago

Yeah, just tried myself and seeing this. Will add it to the to-do list - forunately the integration still works when tests run, it's just the GUI where it doesn't work currently

jiriteach commented 3 years ago

Thanks!

vordenken commented 2 years ago

Is there any update on this bug? I have found this GitHub issue because I have the same problem on my hosted speedtest tracker.

nicklasjepsen commented 2 years ago

I have the same problem with a fresh install. Tried both the :latest and the :dev branch and for me the integration does not work for either test or when the speed test run. Here's an error from the console when I run a test from the UI:

GET https://speedtracker.mydomain.com/api/settings/test-healthchecks/start?token=undefined 500 (I have replaced my real dns name with speedtracker.mydomain.com before posting here)

{message: "Target class [IntegrationsController] does not exist.",…}
exception: "Illuminate\\Contracts\\Container\\BindingResolutionException"
file: "/config/www/vendor/laravel/framework/src/Illuminate/Container/Container.php"
line: 832
message: "Target class [IntegrationsController] does not exist."
trace: [{file: "/config/www/vendor/laravel/framework/src/Illuminate/Container/Container.php", line: 712,…},…]
0: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Container/Container.php", line: 712,…}
1: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Foundation/Application.php", line: 841,…}
2: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Container/Container.php", line: 651,…}
3: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Foundation/Application.php", line: 826,…}
4: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Routing/Route.php", line: 268,…}
5: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Routing/Route.php", line: 1019,…}
6: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Routing/Route.php", line: 980,…}
7: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Routing/Router.php", line: 710,…}
8: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Routing/Router.php", line: 686,…}
9: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Routing/Router.php", line: 670,…}
10: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Routing/Router.php", line: 636,…}
11: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Routing/Router.php", line: 625,…}
12: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", line: 166,…}
13: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", line: 128,…}
14: {,…}
15: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", line: 167,…}
16: {,…}
17: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", line: 167,…}
18: {,…}
19: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", line: 167,…}
20: {,…}
21: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", line: 167,…}
22: {file: "/config/www/vendor/fruitcake/laravel-cors/src/HandleCors.php", line: 57,…}
23: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", line: 167,…}
24: {file: "/config/www/vendor/fideloper/proxy/src/TrustProxies.php", line: 57,…}
25: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", line: 167,…}
26: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", line: 103,…}
27: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", line: 141,…}
28: {file: "/config/www/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", line: 110,…}
29: {file: "/config/www/public/index.php", line: 55, function: "handle",…}
snowwolf3388 commented 2 years ago

Is this still open? I'm having the same issue. Not sure how to get those logs, but I've setup and tested my Healthchecks.io properly, then Speedtest runs just fine, but never sends the pings to Healthchecks as far as I can tell.