jokob-sk / NetAlertX

🖧🔍 WIFI / LAN intruder detector. Scans for devices connected to your network and alerts you if new and unknown devices are found.
GNU General Public License v3.0
2.67k stars 152 forks source link

No devices in dev branch #779

Closed corasaniti closed 4 days ago

corasaniti commented 2 weeks ago

Is there an existing issue for this?

Current Behavior

I wanted to quickly inform you that the latest builds of the dev branch do not allow the display of devices, despite having forced the cache cleaning Thanks

Expected Behavior

show devices

Steps To Reproduce

No response

app.conf

No response

docker-compose.yml

No response

What branch are you running?

Production

app.log

No response

Debug enabled

jokob-sk commented 2 weeks ago

Hi @corasaniti ,

Could you please confirm you have refreshed the cache 🔄 and cleared the browser cache as well? You can also try pulling the latest -dev image as I implemented some settings improvements and changes recently.

corasaniti commented 2 weeks ago

@jokob-sk Cleared cashe from GUI and browser. Devices are displayed once but when I go back to home they disappear PS: where do I find GUI settings to change the fields to display for device display. Immagine 2024-09-02 084926

jokob-sk commented 2 weeks ago

Thanks for confirming!

  1. Could you please let me know what browser are you using? If you are not using Firefox or Chrome, could you please try one of those instead?
  2. Are there any errors in the console of the browser?

I moved the columns setting into Settings -> UI Settings

corasaniti commented 1 week ago

Thanks for confirming!

  1. Could you please let me know what browser are you using? If you are not using Firefox or Chrome, could you please try one of those instead? I use Chrome

  2. Are there any errors in the console of the browser? Attacched console screen no errror but devices disappared

Immagine 2024-09-02 115957

I moved the columns setting into Settings -> UI Settings ok but how I change columng in device View?

11111

jokob-sk commented 1 week ago

Thank you @corasaniti for the screenshots! Hummm, there are no errors, however other users on the dev branch (e.g. #766 ) seem not to have this issue. I just published a new image on the dev branch with a version/timestamp setting to determine if the app was upgraded/the backend has changed. Can you try pulling the latest image, opening the app in an incognito browser and posting your build timestamp? It should be equal to the one below:

image

corasaniti commented 1 week ago

@jokob-sk Sure, I cleared cashe browser and force clear with the button from the GUI

This is my timestamp Cattura

But I can't change add/remove columns in devices view from settings. Dont see any button add/remove

Cattura2

After clear cache, devices are now visible Cattura3

Thanks in advance PC

corasaniti commented 1 week ago

@jokob-sk I keep having problems with the latest build-dev

  1. Missing device in device view (clean and forced cache browser) nodev

  2. Missing ADD/remove button in gui settings columns ADD

I take this opportunity to ask for information on the status of the device. Why do I see some devices marked offline with the "green offline" label and instead I see other devices marked online with the "grey online" label Cattura2

Cattura1

Thanks

jokob-sk commented 1 week ago

Thanks for the feedback! I added 3 buttons and a better description to describe how to change that setting:

image

This should be in the-dev branch in about 15 min

corasaniti commented 1 week ago

@jokob-sk Unfortunately the problem still exists with the latest dev build

The devices continue to NOT be visible. I see them the first time after I clear the cache but every time I return to the home page the devices disappear Immagine 2024-09-05 110834

Furthermore I do not see the complete ui settings section. I cannot see the entire complete section. There are only the buttons but I cannot perform any operation (see screen)

Immagine 2024-09-05 111048

I love NetalertX but I have to note that in this last period it has become very complex. Every user would like to have the features much simpler. This is my consideration Thanks

jokob-sk commented 1 week ago

Hi @corasaniti,

Thanks a lot for the detailed information.

I really appreciate your ongoing feedback and help to make NAX better.

I only can spend 1-2 h on the project every couple of days so someone helping me test the dev branch is amazing. I also understand the frustration if something does not work. So I understand if you want to switch to the production branch or a different tool.

As you said it's a complex tool that covers a lot of use cases and that means there will always be a bug here and there. In the end I don't have a team, it's only me and a few amazing contributors.

Anyway, I just pushed some changes which hopefully fix some things. Please send me the browser dev console log screenshots if something doesn't and I'll try to fix it.

Thanks for the ongoing help. J

corasaniti commented 1 week ago

@jokob-sk

Ok the UI settings now works perfectly. Cattura0

I also understood how to simulate the error of missing devices in the device list. I like to display ALL devices without pagination. Cattura1

If I select from the combo "All" and then go to another page of the GUI, when I return to the device list I do NOT see the devices anymore. Cattura2

If I select 10, 25 or another value in the combo, the devices appear.

Cattura3

Recap: If I set "All" in the device view and go to another page, then I go back to the device list, they do not appear, I am forced to change the value from the combo to 10, 25 (or other) and reset "All", to make the devices appear. No errors are shown in debug console. I hope I was helpful

Thanks in advance PC

jokob-sk commented 1 week ago

Thanks a lot for the details!

I think I've found the issue and fixed the All display error.

I also improved the cache update to hopefully prevent this bug:

image

The new -dev image should be available in 15 min.

Thanks fo the ongoing support!

corasaniti commented 1 week ago

@jokob-sk Hi, With latest dev build, everything seems to be working fine. I will monitor it for a few days. Thanks for your patience PC

jokob-sk commented 1 week ago

Glad to hear that and thanks for testing!

jokob-sk commented 4 days ago

Releasing -> closing