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

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 4.1.0.Beta2
    • 4.1.0.CR1
    • openshift
    • None
    • 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.
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: