Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-9225

iOS: Debugging does not work with Java 1.8

    Details

    • Type: Bug
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: Release 6.0.0
    • Fix Version/s: None
    • Component/s: Debugging, iOS
    • Labels:
      None

      Description

      Description

      Debugging on an iOS 14 device fails to start, it appears there is an error during the SSL handshake, logs show the below error

      !ENTRY com.appcelerator.titanium.ios.core 2 0 2020-09-02 18:18:59.966
      !MESSAGE (Build 6.0.0.202005141803) [WARNING]  javax.net.ssl.SSLHandshakeException: Invalid ECDH ServerKeyExchange signature
      !STACK 0
      com.axway.usbmuxd.USBMuxdException: javax.net.ssl.SSLHandshakeException: Invalid ECDH ServerKeyExchange signature
      	at com.axway.usbmuxd.internal.USBMuxdClient.upgradeToSSL(USBMuxdClient.java:372)
      	at com.axway.usbmuxd.internal.LockdowndClient.startSession(LockdowndClient.java:197)
      	at com.axway.usbmuxd.internal.LockdowndClient.handshake(LockdowndClient.java:123)
      	at com.axway.usbmuxd.internal.USBMuxdClient.startService(USBMuxdClient.java:322)
      	at com.axway.usbmuxd.USBMuxd.startWebInspector(USBMuxd.java:62)
      	at com.appcelerator.titanium.ios.core.debug.InspectorFactory$InspectorDeviceConnectCallable.getInspector(InspectorFactory.java:262)
      	at com.appcelerator.titanium.ios.core.debug.InspectorFactory$InspectorConnectCallable.call(InspectorFactory.java:91)
      	at com.appcelerator.titanium.ios.core.debug.InspectorFactory$InspectorConnectCallable.call(InspectorFactory.java:1)
      	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      	at java.base/java.lang.Thread.run(Thread.java:835)
      Caused by: javax.net.ssl.SSLHandshakeException: Invalid ECDH ServerKeyExchange signature
      	at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
      	at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117)
      	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:307)
      	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:263)
      	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:254)
      	at java.base/sun.security.ssl.ECDHServerKeyExchange$ECDHServerKeyExchangeMessage.<init>(ECDHServerKeyExchange.java:325)
      	at java.base/sun.security.ssl.ECDHServerKeyExchange$ECDHServerKeyExchangeConsumer.consume(ECDHServerKeyExchange.java:531)
      	at java.base/sun.security.ssl.ServerKeyExchange$ServerKeyExchangeConsumer.consume(ServerKeyExchange.java:111)
      	at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392)
      	at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:443)
      	at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:421)
      	at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:177)
      	at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:164)
      	at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1180)
      	at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1091)
      	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:402)
      	at com.axway.usbmuxd.internal.USBMuxdClient.upgradeToSSL(USBMuxdClient.java:363)
      	... 11 more
      

      Steps to reproduce

      1. Debug to an iOS 14 device
      2. When prompted, launch the app

      Actual

      Debugger never connects

      Expected

      Debugger should connect and function

        Attachments

          Activity

            People

            • Assignee:
              cwilliams Christopher Williams
              Reporter:
              eharris Ewan Harris
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: