[solved] Authenticate failed after enter valid password and got HTTP 302 redirect

#3
by qlas010 - opened

I deployed Livebook docker space following the Hugging Face's guide, and set a 12-digit secret to the space.

After initial build, I try to enter the Livebook with the secret but failed with 302 redirect, no other related information(log) except the network request record in browser's Devtools. I also tried Restart space and tried Factory reboot, it still redirect without any notice (of course it will notice me when token/password was wrong).

Here is the whole HAR(json) dump:
https://textbin.net/qedqjzxnm1

Hey @qlas010 ! What browser are you using? I've just checked the steps with a 000000000000 password and everything works as expected for me.

Also, please try in incognito mode or another browser to make sure it's not some extension intercepting the requests :)

@jonatanklosko I checked the browser environment and found that other browser works fine except Yandex(the previous one I used).

Then I checked Yandex settings and found a 'restrcted third-party cookies' option and the privacy icon beside the address bar showed it blocked two domain: stripe.com and hf.space. After unblock the hf.space the redirect problem solved.
I don't remember the Yandex tracker settings before was changed by myself or by default, hope this discussion helps others who come across similar issues.

qlas010 changed discussion title from Authenticate failed after enter valid password and got HTTP 302 redirect to [solved] Authenticate failed after enter valid password and got HTTP 302 redirect
qlas010 changed discussion status to closed

@qlas010 perfect!

Sign up or log in to comment