Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-26899

Refreshing non-functional connection to CRC doesnt help (need to create new)

    Details

      Description

      Steps - not reproducibe at 100%, happens from time to time:

      1. ASSERT: have ~/.crc folder killed
      2. EXEC: create new CRC server adapter & Start it
      3. ASSERT: OpenShift connection is created
      4. ASSERT: Connection fails to authorize, reports that it cannot access resources using system:anonymous.
      5. EXEC: try to login with oc login. If oc reports Error from server (InternalError): Internal error occurred: unexpected response: 400, repeat until it succeeds (waiting required)
      6. EXEC: Once oc login succeeds: refresh the connection in Eclipse

      Result:
      Connecting still fails with the same error.

      Expected result:
      Refreshing the connection should succeed once the server is fully up and running and oc succeeds to log in.

      Workaround:

      1. EXEC: edit the connection instead of refreshing it (ex. remove a character from username and add it back again)

      Result:
      Connecting succeeds

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  adietish André Dietisheim
                  Reporter:
                  adietish André Dietisheim
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: