Some users getting "Unknown error" upon login

Run into this problem today. Weird, I saw several topics about it and one very good one as it had someone encountering it after restoring from backup… but I cannot find that one so I’m just posting here.

Moved one forum to another site today.

Everything was working just fine.

Then I tried enabling sso which hit one of the “stupid organization with too strict security policy”-snafus. Which really is weird as the other forum I’m using has sso enabled and works just fine. Did I mention stupid and strict security already? :smiley:

Anyway, went back to the normal login instead.

And suddenly the same username which worked well when logged in to the forum from outside now failed with “unknown error” when logging in from within the organization. Made absolutely no sense.

I checked I didn’t have https enabled in the original app.yml

After reading everything I could find on this forum I caved in and just tried enabling https.

And suddenly logging in worked.

(tried a clean browser without cookies etc just in case, that didn’t help)

No idea why but apparently enabling https is worth trying as a solution, thankfully Discourse makes Let’s Encrypt usage a breeze.

Verified on [v2.3.0.beta4 +39]