If you use a VPN, my experience may save you a future problem. I bought a new 10.5" iPad Pro recently, and when I got it home I couldn't connect to the internet. I could pick up the wifi signal but couldn't get on the internet.
After 40 frustrating minutes, including a discussion with an Apple tech, I noticed something: a VPN app was trying to connect to the internet and blocking everything else until it was connected. A VPN will do this as a protection so we don't get on the internet until the VPN is connected. I quickly turned the VPN off and got connected to the internet right away.
I had forgotten I had this VPN turned on on my iPad, and it was trying to do its job. I use a VPN on my computers and will get a dialog box informing me that the internet is blocked until the VPN is connected. Apps such as Dropbox and my antivirus program are clamoring to get on the internet when I fire up my computer, but they can't until the VPN settles in.