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

No Workspace found in Developer Sandbox #70

Open
hwirnsberger opened this issue Jul 26, 2024 · 3 comments
Open

No Workspace found in Developer Sandbox #70

hwirnsberger opened this issue Jul 26, 2024 · 3 comments

Comments

@hwirnsberger
Copy link

Hi :-)

We are currently testing DevSpaces on Developer Sandbox
However, when we try to connect to a running workspace it cannot find one.

How does devspaces-gateway-plugin check which workspaces are available?
Are there spezial permissions needed which we maybe do not have in the sandbox?

Maybe you can try it yourself?

Thx and best regards

@hwirnsberger
Copy link
Author

Any news? :-)

@hwirnsberger
Copy link
Author

Also found some Logs in Intellij:

2024-08-13 14:39:08,439 [ 581699] INFO - STDERR - Exception in thread "Thread-95" io.kubernetes.client.openapi.ApiException:
2024-08-13 14:39:08,440 [ 581700] INFO - STDERR - at io.kubernetes.client.openapi.ApiClient.handleResponse(ApiClient.java:973)
2024-08-13 14:39:08,440 [ 581700] INFO - STDERR - at io.kubernetes.client.openapi.ApiClient.execute(ApiClient.java:885)
2024-08-13 14:39:08,440 [ 581700] INFO - STDERR - at io.kubernetes.client.openapi.apis.CustomObjectsApi.listNamespacedCustomObjectWithHttpInfo(CustomObjectsApi.java:4312)
2024-08-13 14:39:08,440 [ 581700] INFO - STDERR - at io.kubernetes.client.openapi.apis.CustomObjectsApi.listNamespacedCustomObject(CustomObjectsApi.java:4185)
2024-08-13 14:39:08,440 [ 581700] INFO - STDERR - at com.redhat.devtools.gateway.openshift.DevWorkspaces.list(DevWorkspaces.kt:35)
2024-08-13 14:39:08,440 [ 581700] INFO - STDERR - at com.redhat.devtools.gateway.view.steps.DevSpacesRemoteServerConnectionStepView.doRefreshAllDevWorkspaces(DevSpacesRemoteServerConnectionStepView.kt:134)
2024-08-13 14:39:08,440 [ 581700] INFO - STDERR - at com.redhat.devtools.gateway.view.steps.DevSpacesRemoteServerConnectionStepView.refreshAllDevWorkspaces$lambda$3(DevSpacesRemoteServerConnectionStepView.kt:109)
2024-08-13 14:39:08,440 [ 581700] INFO - STDERR - at java.base/java.lang.Thread.run(Thread.java:840)

@hwirnsberger
Copy link
Author

So the Situation is the following. We have 2 namespaces in the sandbox. In one we do not have permission to query custom resource devworkspaces.
Adding exception handling should solve that problem:

After that we can select the workspace. but connection still does not work. we get a timeout after 60 seconds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant