gitpod icon indicating copy to clipboard operation
gitpod copied to clipboard

Access Control settings resetting (seemingly at random)

Open kevin-ci opened this issue 6 years ago • 11 comments

Describe the bug

The checked settings on the Access Control page occasionally seem to reset, resulting in this:

image

This causes a 403 unable to push status when trying to push. Note that in all cases, users were previously able to push from the same workspace. This seems to have just reset at random. Very strange.

Have noticed it happening with at least ten students over the past few months. One account which was recently affected: https://github.com/hschafer2017

Steps to reproduce

Unknown. Haven't been able to determine a pattern in the people affected.

Expected behavior

The settings stay checked until explicitly modified by a user.

Additional information

Reselecting the desired Access settings and clicking Update fixes the issue (i.e. the updated settings remain checked).

All affected users have been on the same Gitpod team/plan.

Cookies of an affected user: image And their browser settings: image

Example repository

kevin-ci avatar May 21 '20 13:05 kevin-ci

@Kreyren Yes, it appears to be happening at random. Am following up on cookie-blocking now. Will update the issue with info as soon as I get it. All of the affected users/students are on the same team, as it happens. Will also add this info to the report.

kevin-ci avatar May 21 '20 13:05 kevin-ci

Have updated with cookie info. None seem to be getting blocked.

kevin-ci avatar May 21 '20 14:05 kevin-ci

Thanks for reporting @kevin-ci! I want to investigate this. A quick search in the logs showed no results for the user mentioned above. Do you have another one? Maybe a timeframe?

My best guess at the moment is that it's due to GitHub shortages we've seen quite often in the last week. On login into Gitpod you will be sent to GitHub twice, if you're an existing user and you have granted additional permissions in a previous session. If the second round fails due to network issues for instance you likely will end in this situation.

AlexTugarev avatar May 26 '20 13:05 AlexTugarev

Hey @AlexTugarev. Will put out a call to students asking anyone who is affected to reply here with their username and as best a timeframe as they can. Cheers :)

kevin-ci avatar Jun 01 '20 17:06 kevin-ci

Hi @kevin-ci. Upon pushing to git also I get the 403 error also. My user name is jos-lab. I experienced the error immediately I reset my github account password on 25th May.

jos-lab avatar Jun 02 '20 10:06 jos-lab

I think this just happened to me this morning (although it could also be that I tested removing permissions and forgot about it).

Was surprised to see an error on git push:

$ git push upstream autofix-upgrade-pyenv-tools-63 
remote: Permission to gitpod-io/workspace-images.git denied to jankeromnes.
fatal: unable to access 'https://github.com/gitpod-io/workspace-images.git/': The requested URL returned error: 403

There was no permission alert in the IDE, but manually going to Access Control and granting back read/write repo permissions fixed the above error.

jankeromnes avatar Jun 03 '20 06:06 jankeromnes

I had this issue for several days. Needed to contact CI support. My last successful push was yesterday June 5th. But I'm hoping to have more successful pushes today since I accepted the permission settings!

RoyoftheRavers avatar Jun 05 '20 16:06 RoyoftheRavers

Reporting another on behalf of https://github.com/Jammerref2015 They noticed the issue on June 3rd. Their last successful push before that was four weeks earlier though, so quite a large timeframe.

kevin-ci avatar Jun 06 '20 09:06 kevin-ci

Reporting another for http://github.com/Astig-1982 Seems to have happened twice to them over the last three days. The first was after having connection issues to Github (internet connection was fine, the site was having issues).

kevin-ci avatar Jun 07 '20 14:06 kevin-ci

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 04 '20 08:10 stale[bot]

Side note: Access Control is currently being re-implemented.

jankeromnes avatar Mar 18 '21 17:03 jankeromnes