Skip to content
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

[BUG] Vulnerabilities Widget Not Loading #1065

Closed
5 tasks done
DanAE111 opened this issue Jan 15, 2023 · 2 comments
Closed
5 tasks done

[BUG] Vulnerabilities Widget Not Loading #1065

DanAE111 opened this issue Jan 15, 2023 · 2 comments
Assignees
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working

Comments

@DanAE111
Copy link

Environment

Self-Hosted (Docker)

System

Docker version 20.10.22, build 3a2c30b

Version

2.1.1

Describe the problem

The vulnerabilities widget does not load with any combination of configuration, even with options specified. The message on the widget and in the logs is "Unable to fetch data".

Other widgets like the domain monitor widget are working as expected.

Current non working widget configuration:
widgets: - type: cve-vulnerabilities id: 0_1586_cvevulnerabilities

Additional info

image

Please tick the boxes

@DanAE111 DanAE111 added the 🐛 Bug [ISSUE] Ticket describing something that isn't working label Jan 15, 2023
@liss-bot
Copy link
Collaborator

If you're enjoying Dashy, consider dropping us a ⭐
🤖 I'm a bot, and this message was automated

@albcp
Copy link
Contributor

albcp commented Jan 21, 2023

The "unable to fetch data" error could be caused by Cross-Origin Resource Sharing (CORS) restrictions. A solution to this issue is proxying the request with (useProxy: true). Currently the filtering by productId doesn't works but I have made the pull request #1075 to fix it.

Try with the following config:

widgets:
- type: cve-vulnerabilities
  options:
    sortBy: publish-date
    productId: 28125
    hasExploit: false
    minScore: 5
    limit: 30
    useProxy: true

@liss-bot liss-bot added the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Jan 21, 2023
@liss-bot liss-bot removed the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Jan 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working
Projects
None yet
Development

No branches or pull requests

4 participants