Skip to content

Gateway: cancel OpenShift OAuth/Red Hat SSO takes several minutes to stop and errors #23844

@adietish

Description

@adietish

Describe the bug

In the Gateway plugin you can login to the cluster using OpenShift OAuth or Red Hat SSO. If you change your mind after you triggered it and cancel the progress you have to wait several minutes for the progress to disappear and get back to the login form. Furthermore an connection-error is displayed even though you cancelled the attempt

Che version

7.117@latest

Steps to reproduce

Steps.

  1. EXEC: in the gateway plugin/connection form: pick "OpenShift OAuth" and hit "Check Connection"
  2. ASSERT: a progress dialog is displayed and a browser window/tab is opened where the actual authentication is done)
  3. EXEC: get back to the gateway plugin and "Cancel" the progress

Result:
"Cancel" button is greyed but the progress stays put. You have to wait several minutes for it to disappear. You then get an error.

Image

You cancelled the progress so you should not get an error dialog.

Expected behavior

Cancel should close the progress promptly and you should not get an error since you cancelled the process

Runtime

OpenShift

Screenshots

No response

Installation method

other (please specify in additional context)

Environment

other (please specify in additional context)

Eclipse Che Logs

Additional context

gateway plugin main branch (unreleased)

Metadata

Metadata

Assignees

Labels

area/editor/jetbrainsJetBrains IDEs supportarea/editor/jetbrains/intellijIssues related to the IntelliJ-based IDE for Eclipse Chekind/bugOutline of a bug - must adhere to the bug report template.

Type

No fields configured for Bug.

Projects

Status

📅 Planned

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions