I have the same issue.
It happens on different wifi networks and not always. Sometimes reboot of the phone works and sometimes turning Flight mode on/off. And sometimes turning of the bluetooth works.
But today I had to reboot the phone and after that I had to even select 'Forget' for the WIFI...