@RedaEL
I think you're having the same issue as the Iranian user whose also posted so here's the reply I gave him,
If it's a wifi connected device there is an issue with hidden networks, so if the SSID is turned off on the router the phone/tab/chromebook may struggle to connect or remain connected, this is especially bad on the 5ghz band,
Solution is when setting up the device to connect to the router to select advanced settings on the device wishing to connect after entering username encyption and password settings, this drops down to be able to select Hidden Network then save, that's supposed to sort it but doesn't always,
Short version
If you have the router set to not broadcast it's wifi ID's there is the possibility of connection problems, it's something to do with Google updating their security settings and possible Apple has done the same thing, hth.