quartz-frontend icon indicating copy to clipboard operation
quartz-frontend copied to clipboard

Having to re-login to Development site regularly

Open dantravers opened this issue 3 years ago • 18 comments

Since the Auth0 changes to dev, I've had to login a couple of times to get the data. It doesn't log me out, but I get no data, so I have to log out and in again to get it working.

Doesn't seem to happen every day, but definitely happened Friday and today (Tuesday), since I first re-logged in after Auth0 changes.

dantravers avatar Nov 15 '22 14:11 dantravers

I get this too, loging in and out sorts it, but i suspect it happens every day. I think this is a critical bug that we should fix before release

peterdudfield avatar Nov 16 '22 13:11 peterdudfield

Just checked, and confirm it happened 2 days in a row - probably does every day. And agree that it should be P1.

dantravers avatar Nov 16 '22 15:11 dantravers

This has happend to me recently, @dantravers still happening to you?

peterdudfield avatar Nov 18 '22 10:11 peterdudfield

hi - yep, just happened now. I re-logged in 2 days ago. I checked yesterday and it was fine. But today it's thrown me out again.

dantravers avatar Nov 18 '22 11:11 dantravers

Ok it did just happen to me again

peterdudfield avatar Nov 18 '22 14:11 peterdudfield

@braddf did you say you deployed a fix to this on Monday?

peterdudfield avatar Nov 23 '22 11:11 peterdudfield

I did, so just need confirmation that this is no longer happening on staging ideally

cc @dantravers

braddf avatar Nov 23 '22 11:11 braddf

I have not had to re-log in today

peterdudfield avatar Nov 23 '22 17:11 peterdudfield

I had a thing where I had the errors but it said it was deploying a vercel preview, so I'm not sure if it was being masked or not.

dantravers avatar Nov 23 '22 17:11 dantravers

I had a thing where I had the errors but it said it was deploying a vercel preview, so I'm not sure if it was being masked or not.

do you know what time that was? @braddf might have done a deployment onto staging then

peterdudfield avatar Nov 23 '22 17:11 peterdudfield

I had a thing where I had the errors but it said it was deploying a vercel preview, so I'm not sure if it was being masked or not.

do you know what time that was? @braddf might have done a deployment onto staging then

~4pm wednesday 23rd.

dantravers avatar Nov 23 '22 17:11 dantravers

I think it just happened to me, think we need to reduce the timeout to say 10 mins, and test properly

peterdudfield avatar Nov 27 '22 12:11 peterdudfield

Dan also had this sunday night

peterdudfield avatar Nov 28 '22 09:11 peterdudfield

@braddf and I, just reduced the token to 60 seconds and we could see the refresh token working. Bit unsure what whats happenening, and therefore would like to leave it a few more days. If it does happen again, lets write here with a proper timestamps so we can investigate further if needed be

peterdudfield avatar Nov 28 '22 17:11 peterdudfield

I found the error came back for me on staging.nowcasting.io. I opened the app this morning. I think I last logged in Monday this week (today is Thursday) or maybe the end of last week.

dantravers avatar Dec 08 '22 17:12 dantravers

Now it goes to - logged out page - https://staging.nowcasting.io/logout. This happen after having the web page open for > 1 day

peterdudfield avatar Dec 11 '22 21:12 peterdudfield

now on production

peterdudfield avatar Dec 12 '22 17:12 peterdudfield

Seen it, logged in, clicked around.

Looks great!

From: Peter Dudfield @.> Sent: 12 December 2022 17:23 To: openclimatefix/nowcasting @.> Cc: dantravers @.>; Mention @.> Subject: Re: [openclimatefix/nowcasting] Having to re-login to Development site regularly (Issue #302)

now on production

— Reply to this email directly, view it on GitHub https://github.com/openclimatefix/nowcasting/issues/302#issuecomment-1346917738 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJGGYO4OVIG5E27AAYD6YGLWM5NOVANCNFSM6AAAAAASBA74UQ . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AJGGYO327NOB5Z6RREOM6CTWM5NOVA5CNFSM6AAAAAASBA74USWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSQJBKWU.gif Message ID: @.*** @.***> >

dantravers avatar Dec 12 '22 17:12 dantravers

Close this for the moment, un less it comes up again

peterdudfield avatar Jan 30 '23 09:01 peterdudfield