https://prefect.io logo
Title
s

Suchindra

02/17/2021, 12:28 PM
Hi, While playing around with the server UI, I clicked on the cloud option in the top right corner. Now if I try to navigate to http://localhost:8080/default it automatically redirects me to https://universal.prefect.io/. I tried restarting chrome and get the same behavior. Any idea how to stop this? Thanks!
👍 1
a

Amanda Wee

02/17/2021, 12:30 PM
Try going to http://localhost:8080/home and reset the URL?
s

Suchindra

02/17/2021, 12:35 PM
it still auto redirects
Going to localhost:8080 without a specific endpoint auto redirects as well. Seems like a bug to me?
j

Josh Greenhalgh

02/17/2021, 12:44 PM
Yep! I had this problem too - delete cookies associated to localhost
j

Jenny

02/17/2021, 1:10 PM
Hi @Suchindra we have a ticket open to improve the behavior here. In the meantime, if you navigate to your server instance and open the developer console (Cmd + option + i on Mac, Ctrl + shift + j on Windows), you should be able to reset this by typing localStorage.setItem('backend', 'SERVER'). Or you can delete local storage as Josh Greenhalgh suggests.
s

Suchindra

02/17/2021, 1:49 PM
Hi @Jenny, Do I type that in the javascript console?
I tried both localStorage and sessionStorage but still get the same behavior
Clearing all browsing data for the last 24 hours helped
@Josh Greenhalgh @Jenny thanks for your help
It would be great to get this fixed
👍 1
j

Jenny

02/17/2021, 1:57 PM
Thanks @Suchindra - I'll advise to clear browsing data in future! (And noted - I'll add your comments here to the ticket.)
z

Zuhair Ikram

02/17/2021, 3:35 PM
lol I had to do a double take b/c this was my experience as well, almost word for word. I followed the advice here and managed to solve it 👍
👍 1
f

flavienbwk

04/26/2021, 12:38 PM
Personnaly I am still redirected. That's very annoying.
🐛 1
j

Jay Krish

05/06/2021, 11:59 PM
@flavienbwk , I also still have the same problem . I have tried 3 browsers, incognito , clearing all cookies , restarting the my PC many times - but still could not reach the UI.
j

Jenny

05/07/2021, 12:52 AM
Hi @Jay Krish - what UI image are you using? If you can reset to the 2021-04-15 image it should resolve.
j

Jay Krish

05/07/2021, 1:31 AM
Thank @Jenny, I am having 2021.04.27 but localStorage.setItem('backend', 'SERVER'). solved my problem. I was waiting for a positive response in the prompt but tried refresh evern after I saw <undefined and it worked.
j

Jenny

05/07/2021, 1:36 AM
Glad you got it working again! Thanks for the update.