That happens when the site is blocked or restricted by a Calendar, and the site is accessed via HTTPS. The router tries to display the “blocked” or “not available” page, but the browser insists on HTTPS. Since the router cannot provide a valid certificate for the destination site, the browser complains “connection not secure”.
One example is when you try to access YouTube outside of the time limits set in calendars.