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

"404 page not found" error when open workspace

XMLWordPrintable

    • False
    • None
    • False
    • Workaround - page refresh
    • Known Issue
    • Rejected

      Description of problem:

      There was "404 page not found error" when open workspace from BitBucket server public repo factory URL.

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

      Test DS 3.4.0.RC-01-11 :

      • devspaces-operator-bundle-container-3.4-167
      • Index image v4.10: brew.registry.redhat.io/rh-osbs/iib:411767

      Steps to Reproduce

      1. create private and public repo in BitBucket server with next devfile.yaml in the root:
        schemaVersion: 2.1.0
        metadata:
          name: public-repo-testname
        
      1. install Dev Spaces 3.4.0.RC-01-11 + DWO 0.18.1
      2. setup oAuth 1.0 for bitbucket server in Dev Spaces 3.4.0.RC-01-11 instance
      3. open bitbucket private repo factory and accept OAuth flow; keep workspace running
      4. open bitbucket public repo factory

      Actual results:

      there was empty page with "404 page not found"

      output (8).webm

      Expected results:

      new workspace has opened correctly from bitbucket public repo URL

      Reproducibility (Always/Intermittent/Only Once):

      Intermittent

      Build Details:

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

      there was an error message in dashboard pod logs as well with "undefined" address in path
      devspaces-dashboard-79dc969857-2wds8.pod.log

      statusCode: 404,
          statusMessage: 'Not Found',
      ...
          client: TLSSocket {
      ...
            socket: [TLSSocket],
            _header: 'PATCH /apis/workspace.devfile.io/v1alpha2/namespaces/user-devspaces/devworkspaces/undefined HTTP/1.1\r\n' +
              'Accept: application/json\r\n' +
              'Content-type: application/json-patch+json\r\n' +
              'Authorization: Bearer sha256~VfZark51YwfghTQBDbOX6ztHk37TP7GGzTlUn4AYyjc\r\n' +
              'host: 172.30.0.1\r\n' +
              'content-length: 55\r\n' +
              'Connection: close\r\n' +
              '\r\n',
      

      DevWorkspace Controller logs: devworkspace-controller-manager-858647c675-5zv58.pod.log

              oorel Oleksii Orel
              dnochevn Dmytro Nochevnov
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: