loft-sh / loft

Namespace & Virtual Cluster Manager for Kubernetes - Lightweight Virtual Clusters, Self-Service Provisioning for Engineers and 70% Cost Savings with Sleep Mode
https://loft.sh/docs/introduction
Other
737 stars 65 forks source link

Loft login hangs #257

Open mausch opened 1 year ago

mausch commented 1 year ago

I run loft login https://vcluster.elevate.direct. Browser log in pops up ( https://vcluster.elevate.direct/login?cli=true ) I enter my credentials. Browser screen goes blank. CLI never returns. I see in the browser network tab a GET request to http://localhost:25843/login?username=youareusinganoutdatedcli&key=[REDACTED]

I can log in just fine to the web UI at https://vcluster.elevate.direct using the same credentials.

Version for both CLI and server is 3.3.2

I also tried loft login https://vcluster.elevate.direct --debug but it doesn't print anything.

FabianKramm commented 1 year ago

@mausch thanks for reporting this issue! Would you be able to send us the web console output for the blank page (Right click -> Inspect -> Navigate to Console). Are you using google chrome?

mausch commented 1 year ago

Console output is empty. This is on Firefox.

alexandradragodan commented 11 months ago

Hey, @mausch!

Thanks for reporting this issue! Unfortunately we still couldn't reproduce it internally.

If you're still facing this, would you be willing to hop on a quick call with someone from our team to quickly identify the root cause?

mausch commented 11 months ago

I'm not really using the loft CLI (and will likely never use it) so I can't spend any time on this issue... when I reported this I think I tried to use it to diagnose some issue but since it didn't work I worked things out some other way. I figured I'd report this anyway.

Anyway I just tested this again and it's still happening for me.

I'd say that youareusinganoutdatedcli bit is clearly incorrect so maybe check that?