gitpod icon indicating copy to clipboard operation
gitpod copied to clipboard

Constantly being thrown out workspace

Open KrisK1978 opened this issue 5 years ago • 7 comments

I have been constantly being thrown out from my workspace. It happens when I add new piece of code to my workspace and push them to GitHub. I often get this message. Please see below.

Screen Shot 2020-12-10 at 16 59 44

Also, when refreshing the website in browser after clearing cookies I get the following error

Screen Shot 2020-12-10 at 17 06 00

I cannot complete my project as I am constantly asked to login and open my workspace again and again. Can this be investigated please? Thanks.

KrisK1978 avatar Dec 10 '20 17:12 KrisK1978

401 means Unauthorized. Looks like your OAuth tokens expired too early.

sr229 avatar Dec 10 '20 17:12 sr229

@KrisK1978 let me check if I can find any issue in the logs.

Please, could you post some details on your browser and settings? Check if you have any restrictions in privacy settings, especially w.r.t. to cookies.

Also, it's very unlikely to be an issue with git tokens, but rather with the HTTP session.

AlexTugarev avatar Dec 11 '20 10:12 AlexTugarev

Hi Alex Please see some screenshots. Thanks. Screen Shot 2020-12-11 at 11 08 25 Screen Shot 2020-12-11 at 11 09 24

KrisK1978 avatar Dec 11 '20 11:12 KrisK1978

@KrisK1978 I see that you get to repeat login quite frequently. That's not intentional for sure.

Also, when refreshing the website in browser after clearing cookies I get the following error

Clearing cookies means that you will logout effectively. Gitpod stores a cookie containing a session ID, which the browser will send on each request to the Gitpod server. Once cookies are cleared, you need to login again.

Can you please describe what exactly happens before you get to the point of clearing cookies and reloading the tab, etc.?

I have been constantly being thrown out from my workspace. It happens when I add new piece of code to my workspace and push them to GitHub.

So you have the IDE opened and from there, you get redirected to the /sorry page, is that correct?

AlexTugarev avatar Dec 11 '20 11:12 AlexTugarev

Well when refreshing the page using cmd+4 after applying some changes in IDE, no changes are visible, so I used to clear cookies not being aware that it would log me out. Now it's more clear for me. Thanks.

KrisK1978 avatar Dec 11 '20 11:12 KrisK1978

Alright, I see. That explains, why there weren't any errors to find 🙏🏻

But then, please tell me more about ...

Well when refreshing the page using cmd+4 after applying some changes in IDE

What's your task? Where do you miss updates for changes?

AlexTugarev avatar Dec 11 '20 11:12 AlexTugarev

Thanks for your assistance in this matter.

KrisK1978 avatar Dec 14 '20 09:12 KrisK1978