Loosing Network

Hi everyone. I hope you’re doing well. I’m new to this field and I’ve run into some issues that I’m trying to figure out.

I installed Home Assistant on my Raspberry Pi 5 (4GB RAM, 128GB SD card). It’s connected to my router (Keenetic Hopper KN-3811) via Ethernet. When Home Assistant is running, my network connection drops every minute. After some time (sometimes a few minutes, sometimes a few hours), the ISP connection is completely lost. It usually comes back after about 5 minutes, but then the same loop continues.

During this time, I can’t open any websites and basically can’t use my internet connection.

I also have a NAS connected to the same router.

I’m not sure if this is related to ports or something else. I’ve downloaded the logs and even asked several AI tools, but I still can’t figure out the root cause.

Welcome to the community. Based on what you describe, it seems more related to the router or interenet:

  • What kind of internet connection? Cable, Fiber, DSL, Mobile network?
  • Does you router supply logs? Can you set that to debug or critical and then recreate the steps that cause the problem, look for problems there
  • In HA, go to Settings/System/Logs and look through the different log views, any network related problems/
  • To focus on HA, try stopping/disconnecting everything else that is not HA or router and whatever device is access HA… especially the NAS.

Thank you for your response.

• I’m using a fiber internet connection.

• Yes, my router provides logs. I will try setting the log level to debug/critical and reproduce the issue to check for any related errors.

• In Home Assistant, I’ve already checked Settings → System → Logs, but I didn’t notice any obvious network-related errors. I will review them again more carefully.

• I will also try disconnecting all other devices, including the NAS, and keep only the router, Home Assistant, and one client device connected to isolate the issue.

I’ll share the results after testing.

Thank you for your guidance.

Hi, welcome to the forum!

Check if you have an IP conflict.

This is my first thought as well.
If you have a static IP inside the DHCP range, your router could be assigning that IP to another device. But I am trying to imagine how that would cause your WAN to drop offline?

My advice it to avoid static IP addresses. Use reserved addresses in your router for things that must remain unchanged, like routers, switches and cameras. Overuse of static IP is a prescription for headaches.

This is kind of broad. Which network? Your WAN connects to the ISP and your local network is the LAN. Are you saying that your Home Assistant server loses connection to the local network? How do you determine this? Can you ping the router and google.com from a PC on your network? Do you have an Ethernet switch or is everything connected to the LAN ports on the router?

I found the issue.

I had enabled external access to my Home Assistant using a Keenetic Cloud URL. It was generating too many connections — the last time I checked, there were around 3,500 active connections. This was causing my entire network to drop.

I removed the cloud access, and now everything seems stable. I’m going to switch to Tailscale instead.

Thank you all for your help. I hope this information helps someone in the future if they face the same issue.

2 Likes


this completely fixed my issue

This sounds like a security risk. Why would any external access setup would ever need or invite 3500 active connections?
Please be careful about this feature on your router.

1 Like