This keeps happening on my Samsung A5 2016. The Wi-Fi is from a virgin super hub 3 and I'm sat about 3 feet away. I've tried forgetting the network as well as manually inputting the settings for a static IP. It is only my phone that does this. Turning Wi-Fi on and off solves the problem for a couple of minutes before the same error occurs. A reboot of the router does not solve it. Apart from factory resetting the phone is there anything else I can try?