Can't access\connect to Home Assistant after while on Docker

Hi

I’m running HA on Docker on My Synology NAS and I lately have a lot of connection issue to HA. it working but after a while I can’t connect to the web interface, getting timeout.

Then I restart the docker and working for a while and then again can’t connect.

Some time after few mins I can connect it again.

I don’t see anything interesting in the logs. Some time I see a lot of disconnection (like from MQTT server and then reconnect)

I tried switch from HTTPS to HTTP and letting NGINX do the HTTPS. Still happening

I tried changing Docker network mode from host to default and open ports, Still happening

Not quite sure how to debug it, anybody has good advice to troubleshoot it?

I run HA in a container.

sudo journalctl -f

and paste the output around the time you can/cannot login.

to run it in the container or in the host?
anyway i don’t have this command not in the host and not in the container.

docker logs <ha container name/ID>

on the host.

like I said, i didn’t see anything the logs