Had a similar problem with an old iPod touch. I think once the system time gets screwed up iOS won’t connect to any website due to certificate security errors - ie iOS thinks its 1999 but all the website certs aren’t effective until 2019 for some reason.