WiFi problems: com.apple.preference.network.remoteservice[1552]: CGContextGetCTM: invalid context 0x0
I am experiencing the same problems with both a MacBook Air and a MacBook Pro.

Disabling and re-eanbling the Wifi on the computer fixes the issue temporarily.

iPad and iPhone are able to connect without any problems.