Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"We are having trouble parsing your context" in GitPod #1505

Closed
TiffanyDonner opened this issue May 13, 2020 · 6 comments
Closed

"We are having trouble parsing your context" in GitPod #1505

TiffanyDonner opened this issue May 13, 2020 · 6 comments

Comments

@TiffanyDonner
Copy link

Describe the bug

I created a new repository in GitHub and clicked the green button toopen GitPod however, I get an error of "We are having trouble parsing your context
Error: GitHub API Error. Status: 500
Please file an issue if you think this is a bug.

Expected behavior

To open my new repository...

@Kreyren
Copy link

Kreyren commented May 13, 2020

afaik this is caused by a syntax error in .gitpod.yml please verify

@jankeromnes
Copy link
Contributor

afaik this is caused by a syntax error in .gitpod.yml please verify

No, the error "We are having trouble parsing your context" is about mis-using the gitpod.io/# URL prefix, and has nothing to do with .gitpod.yml.

E.g. try visiting https://gitpod.io/#what-is-this

The supported context URLs are currently GitHub or GitLab URLs, e.g.:

Things that are not yet supported by the gitpod.io/# prefix:

  • Typos (e.g. adding a space after the #, or messing up the https:// in the GitHub/GitLab URL, etc)
  • Gists
  • Random websites

Note: Support for Bitbucket.org URLs, and for self-managed GitHub/GitLab/Bitbucket instance URLs is coming soon.

@jankeromnes
Copy link
Contributor

Ah, I just noticed the Error: GitHub API Error. Status: 500 in the original report.

In that case, maybe the URL was indeed a valid GitHub URL, but for some reason the GitHub API returned HTTP 500 Internal Server Error to a request from Gitpod.

This can happen when GitHub.com has a temporary outage (check https://www.githubstatus.com/), but it's almost always temporary, so if you retry the same thing (sometimes immediately, sometimes after after a few minutes) it will likely work.

@Kreyren
Copy link

Kreyren commented May 13, 2020

For the record this is the error message on mis-use of context url alike https://gitpod.io/#https://githfasfasub.com/gitpod-io/gitpod/issues/1505:

image

@TiffanyDonner
Copy link
Author

Just in case anyone has this issue in the future. I was able to clear it by logging out and logging back in!

@Kreyren
Copy link

Kreyren commented May 13, 2020

I was able to clear it by logging out and logging back in! @TiffanyDonner

FWIW from the informations provided we believe that it's because GitHub had a temporary shortage which prevented gitpod from authentificating the workspace. So you would likely resolve the issue by re-openning the workspace.

Closing as resolved ^-^

@Kreyren Kreyren closed this as completed May 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants