You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Factory in Theia doesn't clone project on OSIO.
Looks like the reason is that Theia doesn't provide a token and is not allowed to get Workspace config.
After discussing it with @olexii4 and @akurinnoy it seems that Theia has no authentication when it calls Che master APIs.
Looks like we really need to address this issue.
Errors in the browser console:
GET https://che.openshift.io/api/workspace/workspacek7t178ezhntpyig4 401 ()
Uncaught (in promise) i {name: "Error", message: "Request failed with status code 401", config: {…}, request: XMLHttpRequest, response: {…}} theia-machines-frontend-module.ts:40
https://che.openshift.io/api/factory/factory967oa85pfl0qkftf 401 ()
Uncaught (in promise) Error: Request failed with status code 401
at e.exports (createError.js:16)
at e.exports (settle.js:18)
at XMLHttpRequest.f.(route8jqfz4y3-ogaragat-che.8a09.starter-us-east-2.openshiftapps.com/anonymous function) (https://route8jqfz4y3-ogaragat-che.8a09.starter-us-east-2.openshiftapps.com/bundle.js:36:14668)
Description
Factory in Theia doesn't clone project on OSIO.
Looks like the reason is that Theia doesn't provide a token and is not allowed to get Workspace config.
After discussing it with @olexii4 and @akurinnoy it seems that Theia has no authentication when it calls Che master APIs.
Looks like we really need to address this issue.
Errors in the browser console:
Reproduction Steps
Expected:
Project is cloned
Actual:
The project is not cloned, no error appear.
OS and version:
Diagnostics:
The text was updated successfully, but these errors were encountered: