Community Forum
How long has this been going on ? FWIW, the overnight hours are their network maintenance / upgrades window of opportunity.
Start here;
https://forums.xfinity.com/t5/Your-Home-Network/Internet-Troubleshooting-Tips/m-p/3310447#M316652