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

Cannot connect to OpenShift Enterprise with hostname: javax.net.ssl.SSLProtocolException (WATCHER)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.1.0.Beta2
    • Fix Version/s: 4.1.0.CR1
    • Component/s: openshift
    • Labels:
      None
    • Steps to Reproduce:
      Hide
      1. ASSERT: make sure you're using JDK7 (it wont happen with JDK6)
      2. ASSERT: make sure you have an OpenShift instance and an account on it to test against (ex. broker.osetestv2.com)
      3. EXEC: Add hostname/IP of the OpenShift Enterprise host /etc/hosts so that the OpenShift Enterprise host get resolved
      4. EXEC: Launch JBDS and the OpenShift Application wizard
      5. EXEC: as host provide the OpenShift Enterprise host and your credentials to connect to it, hit "Finish"

      Actual results:
      Cannot connect, an error occurrs: javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name

      Expected results:
      You can connect to the server.

      Show
      ASSERT: make sure you're using JDK7 (it wont happen with JDK6) ASSERT: make sure you have an OpenShift instance and an account on it to test against (ex. broker.osetestv2.com) EXEC: Add hostname/IP of the OpenShift Enterprise host /etc/hosts so that the OpenShift Enterprise host get resolved EXEC: Launch JBDS and the OpenShift Application wizard EXEC: as host provide the OpenShift Enterprise host and your credentials to connect to it, hit "Finish" Actual results: Cannot connect, an error occurrs: javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name Expected results: You can connect to the server.
    • Workaround Description:
      Hide

      add "-Djsse.enableSNIExtension=false" in the end of "jbdevstudio.ini" and then run JBDS
      Or use IP to connect instead of hostname

      Show
      add "-Djsse.enableSNIExtension=false" in the end of "jbdevstudio.ini" and then run JBDS Or use IP to connect instead of hostname

      Description

      If trying to connect openshift server ,it would be failed with following error shown.
      Could not verify credentials for jinzhang1: Could not request https://broker.osetestv2.com/broker/rest/api: javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              adietish@redhat.com André Dietisheim
              Reporter:
              jinzhang+1@redhat.com Joyce Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: