There could be any number of things wrong... a faulty wifi hot spot... misconfiguration in the hotspot... make sure the wifi hotspot is configured to allow for the number of devices you want to simultaneously connect to it and that it will supply IP addresses for them all for starters...