For me, the error happens even when just deleting the cookies, due I believe to the CORS failure as @Michal_Spak mentioned (GET latest.json 302 → GET sso 302 → OPTIONS primary site → failure).
@david - could your attempt to repro have failed because you have some exciting CORS options which means meta.discourse.org allows your request?