-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error 404 all of a sudden #1609
Comments
Hi In your specific case you can add the following, and the widgets should work again. Those are CORS-Erros.
|
Very strange that this is happening, everything was fine. I’ve been through this before, and inserted “use proxy: true” and finally got it working. Now when I look at the config, I don’t see the line in the widget? All of them are missing? Last update may have changed? Added them back and still have the issue.
name: CPU Usage
icon: fas fa-tachometer
widgets:
- type: gl-current-cpu
useProxy: true
label: Imac Docker cpu
options:
hostname: http://192.168.50.4:7300 <http://192.168.50.4:7300/>
Any thoughts?
… On Jun 3, 2024, at 12:59 PM, Tobias ***@***.***> wrote:
Hi
Look here for widget troubleshooting:
https://dashy.to/docs/widgets#troubleshooting-widget-errors
In your specific case you can add the following, and the widgets should work again.
useProxy: true
—
Reply to this email directly, view it on GitHub <#1609 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ATN5WTIKF7CUPAHKU6YEQ33ZFSOF7AVCNFSM6AAAAABIW4Q2GWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBVG4YDIMBTGU>.
You are receiving this because you authored the thread.
|
Hi @LarryT8959 To be honest, I can't fully understand what you mean. Does it work after adding the useProxy ? Please share your full config and describe clearly what your problem is, what you've tried and some exact steps, so I can reproduce the issue. |
The problem is that all of my widgets are broken. They all were working fine until about a month ago. I’ve been trying to figure out what went wrong without any success. Adding the “useProxy: true” doesn’t help the matter. It’s still showing the error. I had a ton of widgets on a beautiful dashboard.
Dashy is running in a container on my Synology NAS, an I’m using glances to collect the data. All of the links to glances are working. When I view the page in the web inspector, I see the
Errors below.
Pihole and adguard widgets are working fine? All others are broken.
… On Jun 3, 2024, at 2:02 PM, Tobias ***@***.***> wrote:
Hi @LarryT8959 <https://github.com/LarryT8959>
To be honest, I can't fully understand what you mean.
Does it work after adding the useProxy ?
Please share your full config and describe clearly what your problem is, what you've tried and some exact steps, so I can reproduce the issue.
—
Reply to this email directly, view it on GitHub <#1609 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ATN5WTLJ7WP6GHYNNJ7YOK3ZFSVSRAVCNFSM6AAAAABIW4Q2GWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBVHAYTGNRQGU>.
You are receiving this because you were mentioned.
|
Yeah that's correct, as there were changes to glances, they migrated to api v4. After updating to the latest version and adding useProxy: true everything works again fine, tested with mutiple systems and different users. Rebuild your container through docker, make sure the tag is set to latest and re-pull the image. |
Well that didn’t work for me. I deleted the container, reinstalled, and added proxy comment and that didn’t solve the issue. I have to move on from Dashy. This doesn’t make sense.
Thanks
… On Jun 3, 2024, at 2:24 PM, Tobias ***@***.***> wrote:
Yeah that's correct, as there were changes to glances, they migrated to api v4.
After updating to the latest version and adding useProxy: true everything works again fine, tested with mutiple systems and different users.
Rebuild your container through docker, make sure the tag is set to latest and re-pull the image.
—
Reply to this email directly, view it on GitHub <#1609 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ATN5WTICQZUZDQF2BYUGLPDZFSYHHAVCNFSM6AAAAABIW4Q2GWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBVHA2TEMJSGU>.
You are receiving this because you were mentioned.
|
Yeah you're right! |
Different errors now.

… On Jun 3, 2024, at 2:24 PM, Tobias ***@***.***> wrote:
Yeah that's correct, as there were changes to glances, they migrated to api v4.
After updating to the latest version and adding useProxy: true everything works again fine, tested with mutiple systems and different users.
Rebuild your container through docker, make sure the tag is set to latest and re-pull the image.
—
Reply to this email directly, view it on GitHub <#1609 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ATN5WTICQZUZDQF2BYUGLPDZFSYHHAVCNFSM6AAAAABIW4Q2GWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBVHA2TEMJSGU>.
You are receiving this because you were mentioned.
|

… On Jun 3, 2024, at 2:24 PM, Tobias ***@***.***> wrote:
Yeah that's correct, as there were changes to glances, they migrated to api v4.
After updating to the latest version and adding useProxy: true everything works again fine, tested with mutiple systems and different users.
Rebuild your container through docker, make sure the tag is set to latest and re-pull the image.
—
Reply to this email directly, view it on GitHub <#1609 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ATN5WTICQZUZDQF2BYUGLPDZFSYHHAVCNFSM6AAAAABIW4Q2GWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBVHA2TEMJSGU>.
You are receiving this because you were mentioned.
|
@LarryT8959 Could you reupload your uploaded images from github? For me they are not rendered correctly and don't display. |
Hmm, this looks like the Glances server is not correctly set up, are you running the latest version? Plase share your version number of the installed glances. |
Looks like 3.4.3.3
… On Jun 4, 2024, at 12:56 PM, Tobias ***@***.***> wrote:
Hmm, this looks like the Glances server is not correctly set up, are you running the latest version?
Plase share your version number of the installed glances.
—
Reply to this email directly, view it on GitHub <#1609 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ATN5WTJ7WZBPOMSXQUCVHSDZFXWVHAVCNFSM6AAAAABIW4Q2GWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBXHE4TOMRUG4>.
You are receiving this because you were mentioned.
|
This has something to do with the glances version. I updated glances on my nas and those widgets are working now. I’ll work on the others now.
Thanks
… On Jun 4, 2024, at 2:16 PM, Larry Thompson ***@***.***> wrote:
Looks like 3.4.3.3
> On Jun 4, 2024, at 12:56 PM, Tobias ***@***.***> wrote:
>
>
> Hmm, this looks like the Glances server is not correctly set up, are you running the latest version?
>
> Plase share your version number of the installed glances.
>
> —
> Reply to this email directly, view it on GitHub <#1609 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ATN5WTJ7WZBPOMSXQUCVHSDZFXWVHAVCNFSM6AAAAABIW4Q2GWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBXHE4TOMRUG4>.
> You are receiving this because you were mentioned.
>
|
Yeah, most likely what happened here, glances updated to apiv4, dashy adapted to apiv4 ant therefore broke apiv3 support, and your specific instance has not yet updated to the new glances version, simply updating the python package on you mac should work. |
No matter what I do, the PI3 won't work with the widgets. I setup the same way as I did the PI4 I have which is working great. |
Can you verify that the apiv4 works on the server you want to use for the widgets? For example something like this, please execute oth of those commands, replace the ip and port with your own and show the results here.
|
Yeah that means, you are still on an old version of glances. Would you mind sharing, how you installed glances on that machine, so I can try to help you to update glances? |
I believe I used this stack; Docker Compose file versionversion: "3" Define services to runservices: Service name: glancesglances:
Don't understand because I used same method on other PI and have no issues. I did try to edit stack to change version but it wouldn't allow it.?? |
I got it! I edited the stack to this! It would't work the other day for whatever reason. Thanks so much, I appreciate the help. Docker Compose file versionversion: "3" Define services to runservices: Service name: glancesglances:
|
Yeah that's correct, yes updating the tag make docker automatically use tha latest or whatever tag specified on rebuild. Great to hear, that you got it working. |
One last thing, I had two instances of glances running on an old iMac I turned into a server. one running in docker desktop (port 7300), and the other running on the macOS (port 61208). I was able to monitor resources on both. Any ideas of why I can't get the one on the Mac to connect to dashy? I have verified they both are version four. |
Please share some more info about the macOS instance and the browser conosle logs of dashy. |
Must be the same issue because I'm getting error on api 4 but not 3 even though it said I'm running version 4 of glances. |
Hi you can try the following, if you installed glances using brew:
If you installed using ports:
Otherwise you can try to loon into taskmanager or something like that, to find the process and how it's started. |
I can't get past this message. Disable home-brew no install cleanup? I need to figure this out. I get this when I try to reinstall glances. @Larrys-iMac ~ % brew reinstall glances |
Yea, I've tried just about everything I can think of. Looks like I'll have to nuke my Mac and reinstall everything over to get this resolved. Not sure if its worth that because everything else is okay. Thanks for your help. |
Removed glances and reinstalled using ports. |
Hi to be honest I also don't know this, as I don't own a mac and never use brew. As the dashy side is working I suggest creating an issue on their github, I'm sure they are able to help you. |
Thank you. I ended up getting it but don't completely understand what and why? The first thing I did was to delete the docker instance of glances, removed pip and brew then started over. Once I got that instance going, I added the docker instance. |
Question
All of a sudden, all of my widgets are failing an I've tried everything I know to resolve it. Everything was fine, not sure what caused this.
Fail to load resource: Origin http:// 192.168.10.10:4000 is not allowed by access control allow orgin. Status code 404.
What is this telling me?
Category
Widgets
Please tick the boxes
The text was updated successfully, but these errors were encountered: