Hi, While playing around with the server UI, I cli...
# prefect-server
s
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
Try going to http://localhost:8080/home and reset the URL?
s
it still auto redirects
Going to localhost:8080 without a specific endpoint auto redirects as well. Seems like a bug to me?
j
Yep! I had this problem too - delete cookies associated to localhost
j
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
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
Thanks @Suchindra - I'll advise to clear browsing data in future! (And noted - I'll add your comments here to the ticket.)
z
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
Personnaly I am still redirected. That's very annoying.
🐛 1
j
@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
Hi @Jay Krish - what UI image are you using? If you can reset to the 2021-04-15 image it should resolve.
j
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
Glad you got it working again! Thanks for the update.