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

Getting "Error : Failed to fetch a content from URL"  error while cloning repo  using OAuth 2.0 for   Bitbucket Server in Devspaces

XMLWordPrintable

    • False
    • None
    • False

      Description of problem:

      Creating the workspace using the Bitbucket Server (OAuth 2.0) repo  reports error "Error is: Failed to fetch a content from URL" while cloning repo. 
      The workspace pod is up and running as checked but the Web UI shows "workspace does not exist" and devspces logs reports error "Error is: Failed to fetch a content from URL"

      Prerequisites: 

      devspacesoperator.v3.7.2     

      Steps to Reproduce:

      1. Configure the Bitbucket Server OAuth 2.0  as per doc [1]
      2. Access the Devspaces Dashboard and try to create workspace using the BB repo as configured in step 1 

      [1] https://access.redhat.com/documentation/en-us/red_hat_openshift_dev_spaces/3.7/html/administration_guide/configuring-devspaces#configuring-oauth-2-for-a-bitbucket-server

       

      Actual results:
       
       - Workspace pod gets created and is in running status but the devspaces dashboard results in "workspace does not exist" message . 
       

      Expected results:

      • Workspaces should be launched completely while using Bitbucket repo.

       

              abazko Anatolii Bazko
              rhn-support-dtambat Darshan Tambat
              Shmaraiev Oleksandr Shmaraiev Oleksandr
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: