falcosecurity / falcosidekick-ui

A simple WebUI with latest events from Falco
Apache License 2.0
110 stars 16 forks source link

WebUI answers with {"message":"Not Found"} #149

Open m8522s opened 2 months ago

m8522s commented 2 months ago

We I go the web address of a running falcosidekick-ui, the browser receives {"message":"Not Found"} instead of the HTML-based web page. URL: http://localhost:2802/

This issue happens on falcosidekick-ui version 2.2.0. I also tested with 2.3.0-rc3 and 2.1.0 with the same result.

falcosidekick-ui is started with: falcosidekick-ui -l debug I used the binary version from falcosidekick-ui_2.2.0_linux_arm64.tar.gz

The console messages show, that the process is running ans receiving events from falcosidekick:

2024/07/15 13:30:35 [WARN] : Auhentication disabled
2024/07/15 13:30:35 [INFO] : Falcosidekick UI is listening on 0.0.0.0:2802
2024/07/15 13:30:35 [INFO] : log level is debug
2024/07/15 13:32:38  NEW event 'event:79b4e17d-63dd-435d-9d16-cf55a1d93867'

Falcosidekick-ui is running on a Raspberry Pi 3B+ with Raspberry Pi OS (Debian 12.6)

Describe the bug The documentation at https://github.com/falcosecurity/falcosidekick-ui#ui does not work for my set up. The web UI is not visible and the browser shows {"message":"Not Found"}. Other endpoints, like /docs and /api/v1/, are working as expected.

How to reproduce it Start falcosidekick-ui and run curl http://localhost:2802/

Expected behaviour I expect a web page similar to the screenshot on your GitHub page at https://github.com/falcosecurity/falcosidekick-ui#screenshots

Screenshots n/a

Environment

Issif commented 2 months ago

Hi,

There are issues on arm I still can't explain, see #95. I'm planning to rewrite (once again) the UI in the next months, I hope the new stack will work better.