This happened in my case because one of the paths in our development servers was internal to our firewall/intranet/VPN and my device was not on our internal wi-fi.
Frustrating and confusing because it was working in the simulator and not on a device.