Gen 2 Controllers keep going offline after 1am or randomly

Hi Tech Support.
I have been running into issue with both controllers i have with wifi,
I haven’t changed any network hardware.
The controllers keep going offline and has been occuring frequently the past few weeks.

I tried both power cycling controllers and network routers but still running into same issue.
Any suggestions?
see photo for controller info

If you run this app and provide the generated code I can have the engineering team review.