Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-6831

Failed to create the workspace by factory from Github Enterprise server public repo if PAT or OAuth not configured

XMLWordPrintable

    • False
    • None
    • False
    • Release Notes
    • Hide
      = Workspace creation failure for GitHub Enterprise public repositories with no PAT or OAuth configuration

      There is a known issue with creating a workspace from GitHub Enterprise public repositories that have no personal access token (PAT) or OAuth configured. If you try to create a workspace from such a repository, you receive the following error message: "Failed to create the workspace. Cannot build factory with any of the provided parameters. Please check parameters correctness, and resend query."

      .Workaround

      Add a PAT of the Git provider, or configure the OAuth.
      Show
      = Workspace creation failure for GitHub Enterprise public repositories with no PAT or OAuth configuration There is a known issue with creating a workspace from GitHub Enterprise public repositories that have no personal access token (PAT) or OAuth configured. If you try to create a workspace from such a repository, you receive the following error message: "Failed to create the workspace. Cannot build factory with any of the provided parameters. Please check parameters correctness, and resend query." .Workaround Add a PAT of the Git provider, or configure the OAuth.
    • Known Issue
    • Done
    • Workaround Exists
    • Hide

      add Personal Access Token of git provider, or configure its OAuth

      Show
      add Personal Access Token of git provider, or configure its OAuth

      Description of problem:

      Failed to create the workspace by factory from Github Enterprise server public repo  if PAT or OAuth not configured. 

      It throws `Failed to create the workspace
      Cannot build factory with any of the provided parameters. Please check parameters correctness, and resend query.` error.

      If click on `Continue with default devile` workspace starts successfully and project clonned. 

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Create workspace from Github Enterprise Server repository, for example https://gh.crw-qe.com/test-org/public-test

      Actual results:

      `Failed to create the workspace` error

      Expected results:

      Workspace started and project clonned

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

            ivinokur-1 Igor Vinokur
            sskoryk Serhii Skoryk
            Serhii Skoryk Serhii Skoryk
            Jana Vrbkova Jana Vrbkova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: