Skip to content

Improve error handling in the Fleet UI when /status/live_query endpoint returns an error. #627

@randalmichael

Description

@randalmichael

Fleet version (Head to the "My account" page in the Fleet UI or run fleetctl version): 3.10.1
Operating system (e.g. macOS 11.2.3): Linux 7.5
Web browser (e.g. Chrome 88.0.4324): Chrome


🧑‍💻  Expected behavior

When I select the Queries tab, then click on Add new query I get an error message saying Live queries disabled due to error.

💥  Actual behavior

This is the screen I get:

image

More info

Here are the errors in the browser:

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as documented

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions