1 Reply Latest reply on Sep 24, 2009 1:09 PM by Vlad010101

    Problem with rtmps in LCDS

    Vlad010101

      I work to an AIR project, and try to use rtmps protocol.

      I have generate keystore, tomcat start without problem. I configure channel at runtime with something like this:

       

      var remoteDataServiceAddress:String = "rtmps://localhost:2099"

      var cs:ChannelSet = new ChannelSet();
      var myRTMP:SecureRTMPChannel = new SecureRTMPChannel("my-rtmps",remoteDataServiceAddress);

      cs.addChannel(myRTMP);

       

      Channelset is then assigned to dataservice component. Anyway, all work just fine with rtmp protocol.

      When i change to rtmps, first, when application load, i get request for accept certificate, then error about unable to initialize destinations on server.

      In tomcat console, i get something like this:

       

      [LCDS]09/24/2009 11:22:58.421 Thread[my-rtmps-SocketServer-WorkerThread-4,5,main
      ] failed to read Connection '10484504'; connection will close.
      java.io.IOException: sslEngine error during data read: CLOSED
              at flex.messaging.socketserver.SSLConnection.doRead(SSLConnection.java:2
      11)
              at flex.messaging.socketserver.Connection$ConnectionReader.run(Connectio
      n.java:771)
              at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
      ker.runTask(ThreadPoolExecutor.java:665)
              at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
      ker.run(ThreadPoolExecutor.java:690)
              at java.lang.Thread.run(Thread.java:619

       

      It's an bug with LCDS or what it's wrong?