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
3.1k stars 187 forks source link

Error with Networking Module #883

Open mpalls opened 5 days ago

mpalls commented 5 days ago

Is there an existing issue for this?

The issue occurs in the following browsers. Select at least 2.

Current Behavior

I'm getting this error when I go to Networking: "[ERROR] \u26a0 Infinite recursion detected. You probably have assigned the Internet node to another children node or to itself. Please open a new issue on GitHub and describe how you did it."

Expected Behavior

Should see the Networking hierarchy. I don't get anything but the aforementioned error.

Steps To Reproduce

I inadvertently assigned the internet node to something.

app.conf

No response

docker-compose.yml

No response

What branch are you running?

Production

app.log

No response

Debug enabled

jokob-sk commented 4 days ago

Hi @mpalls ,

Can you please let me know how you configured the network nodes to end up in this state? What plugins did you enable? Any more details would be appreciated.

Thanks, j

Strux-DK commented 11 hours ago

I'm not OP, but i am in the exact same situation. I assigned the Internet node to my router, thinking that was the right thing to do, but obviously not. Now i can't delete the connection. How did i configure the network nodes to end in this state? Not sure, becuase i was setting up all my devices for the first time, so i just "speed-ran" it all, but i guess at some point i thought "Oh! Have to remember to assign the other end of the internet connection" and then went into the "internet" node and assigned it to be connected to my router. It wasn't until after going through all my devices that i found out something was wrong in the "network" tab. However, different from @mpalls situation is, i can see the network overview, there's just a popup with the warning after a couple of seconds, i click "ok" and then i can still see the network overview. billede Dragged away from the overview to keep my devices private. Plugins: billede

I hope it's okay i ask something else here: Is it possible to have a NAS as a network device on the same basis as a hypervisor? I run some small containers and VMs on my NAS, but i can't assign them properly as child notes, since the NAS isn't considered a network node. I would love for a change like that.

Anyways thanks for the amazing work! I love it already

jokob-sk commented 11 hours ago

Hi @Strux-DK ,

You can add the Parent node MAC column to the UI_device_columns setting so you can identify the node that might cause the issue.

Then either fix it on the device details or in Maintenance - Multiedit.

Please let me know if you remember how you did it.

You can configure what is considered a Network device in the NETWORK_DEVICE_TYPES setting.

j