-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Improve usability of JetBrains Gateway when experiencing authentication errors #12625
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
Comments
@YoannBuch This workspace does not seem to belong to you. Live sharing of workspaces is not supported by JB products. cc @loujaybee |
Thanks for the reply @akosyakov. I do have access to this workspace in gitpod.io, however maybe there's a mismatch between what Jetbrains Gateway thinks I am vs who owns the workspace? How does Gateway know in the first place who I am? How does it connect to gitpod.io? I don't recall setting up any credentials. |
Ok makes sense... I had totally forgot that step 🤦♂️ Thanks a lot! I guess a nice error message on the UI would be helpful in that case :) You can close the issue 👍 |
Thanks for raising @YoannBuch! Actually, rather than close I'm going to convert this issue from a bug to a feature request. It'd be good if we're able to show user information, or better debug messaging in the Gateway for these types of authentication errors. I've updated the description, but have captured your original context in a toggle so we have it for future reference, thanks! |
Would be good to define this as an application error code, with a description, e.g. applying the following approach: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
There are situations where a user might have the wrong logged in user, is not authenticated properly, or some other authentication related error that means they cannot access their workspace. Currently these errors are not obvious, not the resolution path. We should look to provide users in JetBrains Gateway who get authentication errors with:
operation not permitted
errors.Original description
Bug description
I am trying to open up a workspace using Jetbrains Gateway, but it does not work.
When I click on the "Open in IntelliJ IDEA" button in gitpod.io, I see that my Jetbrains Gateway is being called because of the notification popup I receive on my Ubuntu desktop but it does nothing else.
I expect it to launch a thin IntelliJ client instead.
I am using the following versions:
You will find attached the Jetbrains Gateway logs. Among other things you will find a suspicious
operation not permitted: missing get permission on workspace
error.Jetbrains Gateway logs:
gateway-logs-20220902-19042814161197084175745587.zip
Steps to reproduce
=> desktop (Ubuntu) notification shows up

but Jetbrains Gateway does not open IntelliJ.
And there is no listed workspace:

Workspace affected
denisturbiez-apikotlin-vctn84gfozw.ws-eu63
Expected behavior
Example repository
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: