Giter Site home page Giter Site logo

[BUG] Glances Issue about dashy HOT 9 CLOSED

Eviljubs avatar Eviljubs commented on September 22, 2024 1
[BUG] Glances Issue

from dashy.

Comments (9)

portalzine avatar portalzine commented on September 22, 2024 2

For those using Nginx Proxy Manager

  1. Create custom location / , apply default IP + Port
  2. Press gear icon and set CORS header
    add_header 'Access-Control-Allow-Origin' *;

from dashy.

CrazyWolf13 avatar CrazyWolf13 commented on September 22, 2024

I just tested with the new api v4 version and it seems like most of the things work.

What threw an error:

    • type: gl-ip-address:
⚠️ Warning ⚠️ The IP plugin is not supported in this instance of Glances This is likely not an issue with Dashy, but rather your configuration.If you think it is a bug, please open a ticket on GitHub: https://git.io/JukXk

    • type: gl-network-traffic:
110Error: <path> attribute d: Unexpected end of attribute. Expected number, "M".
110Error: <path> attribute d: Expected number, "Mundefined,NaNLLu…".
frappe-charts.min.esm.js:1 Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
   at e.value (http://172.17.104.102:4000/js/chunk-50f31ec3.5ad55dde.js:1:42229)
   at e.value (http://172.17.104.102:4000/js/chunk-50f31ec3.5ad55dde.js:1:41749)
   at ResizeObserver.boundDrawFn (http://172.17.104.102:4000/js/chunk-50f31ec3.5ad55dde.js:1:40602)

image


    • type: gl-cpu-temp:

Shows nothing on the dashboard, shows no erros, but seems broken.
image


Glances CPU temp could also be due to testing inside WSL but I enabled the sensors plugin.

@Lissy93 I'll get a PR ready to update to V4, but could you take a look at the above three widgets?

from dashy.

mr-f0xx avatar mr-f0xx commented on September 22, 2024

Same issue with latest version, it stopped working. I had to go to the previous version.

from dashy.

CrazyWolf13 avatar CrazyWolf13 commented on September 22, 2024

Same issue with latest version, it stopped working. I had to go to the previous version.

A fix has been release, just re-pull the :latest tag of the docker container and rebuild, then it should work again. :)

from dashy.

mr-f0xx avatar mr-f0xx commented on September 22, 2024

Same issue with latest version, it stopped working. I had to go to the previous version.

A fix has been release, just re-pull the :latest tag of the docker container and rebuild, then it should work again. :)

Weird...There's no change

from dashy.

CrazyWolf13 avatar CrazyWolf13 commented on September 22, 2024

Same issue with latest version, it stopped working. I had to go to the previous version.

A fix has been release, just re-pull the :latest tag of the docker container and rebuild, then it should work again. :)

Weird...There's no change

Can you share your browser console?
This can be found by right clicking anywhere in the browser and selecting the last entry, called develop, developer tools or similar.

Then you can seitch to the console tab on the rights side, please send a screenshot or copy +paste here

And also your dashy log?

from dashy.

Eviljubs avatar Eviljubs commented on September 22, 2024

Here is my console log:

image

It looks like the update is in place, and if I copy and paste the address (http://192.168.1.45:61208/api/4/mem) from there I can access the data feed directly in my browser. However, it looks like it's not allowing it to talk to Dashy directly for some reason. Unsure why this would be, unless something updated or changed on the Glances side of things, a few weeks ago all of this was working perfectly.

from dashy.

CrazyWolf13 avatar CrazyWolf13 commented on September 22, 2024

@mr-f0xx and @Eviljubs

Those are CORS-Errors:
https://dashy.to/docs/widgets#troubleshooting-widget-errors

You can just add useProxy: true to each item.

from dashy.

Eviljubs avatar Eviljubs commented on September 22, 2024

Perfect, that worked, thanks!

from dashy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.