Service Virtualization

 View Only
  • 1.  Virtual Service is not responding getting Error doing destroy()

    Posted Oct 15, 2020 05:53 AM
    Hi Team,
    We have created a virtual service which is using https protocol having self signed certificates it was working fine.
    Yesterday, we had received valid CA certs and I re-configured the service with new jks file. Post this we couldn't able to get the response.
    I have added the https.protocols=SSLv3, TLSv1.2 property in the local.properties. as advised in the community but still getting the below error.
    INFO com.itko.lisa.test.TestCase - Error doing destroy() on Step Virtual HTTPS Listener 8023: null
    java.lang.NullPointerException.
    Could you please help me on this.
    Thanks,


  • 2.  RE: Virtual Service is not responding getting Error doing destroy()

    Broadcom Employee
    Posted Oct 15, 2020 10:18 AM
    HI PRerana
                PLease share vse.log file for analysis.

    --
    regards
    Sankar Natarajan





  • 3.  RE: Virtual Service is not responding getting Error doing destroy()

    Posted Oct 15, 2020 10:32 AM
      |   view attached

    Hi Shankar,

    I have attached the logs. Could you please help me with this

    Regards,

    Prerana HR


    Attachment(s)

    zip
    logs.zip   90 KB 1 version


  • 4.  RE: Virtual Service is not responding getting Error doing destroy()

    Broadcom Employee
    Posted Oct 16, 2020 02:23 AM
    HI Prerana

    The logs doesnt have the information that I am looking for. Please could you do the following:

    1. Stop that specific virtual Service
    2. Start the virtual Service
    3. Send the VSE log

    --
    regards
    Sankar Natarajan





  • 5.  RE: Virtual Service is not responding getting Error doing destroy()

    Posted Oct 15, 2020 11:48 AM
    Hi Prerana,

    Try adding below
    https.protocols=TLSv1.2,TLSv1.1,TLSv1

    Restart all the components and try once. 

    Also, try if 8023 is used by any other process (or try using some other port).

    P.S: In some scenarios by increasing the memory size also this error is resolved 

    Thanks


    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------



  • 6.  RE: Virtual Service is not responding getting Error doing destroy()

    Posted Oct 16, 2020 02:16 AM
    Hi Vaibhav,

    Thanks for your response.

    We tried adding those properties but couldn't help much getting below error after this.


    INFO - QuickSearch$QuickSearchPainter.hideSearch
    INFO - Name: VS_Oracle_CustomerInvoice_V01 Version: 5 created with LISA 10.3.0 (10.3.0.297)
    INFO - Name: VS_Oracle_CustomerInvoice_V01 Version: 5 created with LISA 10.3.0 (10.3.0.297)

    ERROR - An error occurred processing handshake tasks.
    javax.net.ssl.SSLHandshakeException: no cipher suites in common
    at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1431)
    at sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:535)
    at sun.security.ssl.SSLEngineImpl.writeAppRecord(SSLEngineImpl.java:1214)
    at sun.security.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:1186)
    at javax.net.ssl.SSLEngine.wrap(SSLEngine.java:469)
    at com.itko.lisa.vse.sio.SSLSession.handleHandshake(SSLSession.java:323)
    at com.itko.lisa.vse.sio.SSLSession.access$300(SSLSession.java:38)
    at com.itko.lisa.vse.sio.SSLSession$TaskHandler.run(SSLSession.java:620)
    at com.itko.lisa.vse.sio.SSLSession.handleHandshake(SSLSession.java:308)
    at com.itko.lisa.vse.sio.SSLSession.processInboundNetworkData(SSLSession.java:403)
    at com.itko.lisa.vse.sio.SSLSession.handleHandshake(SSLSession.java:312)
    at com.itko.lisa.vse.sio.SSLSession.readEncryptedData(SSLSession.java:269)
    at com.itko.lisa.vse.sio.SSLSession.startHandshake(SSLSession.java:241)
    at com.itko.lisa.vse.sio.SSLSession.makeStateDecision(SSLSession.java:218)
    at com.itko.lisa.vse.sio.SSLSession.readApplicationData(SSLSession.java:189)
    at com.itko.lisa.vse.sio.NIOSession.handleRead(NIOSession.java:138)
    at com.itko.lisa.vse.sio.SelectorThread.handleOperations(SelectorThread.java:316)
    at com.itko.lisa.vse.sio.SelectorThread.run(SelectorThread.java:265)
    at java.lang.Thread.run(Thread.java:745)
    Caused by: javax.net.ssl.SSLHandshakeException: no cipher suites in common
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
    at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1666)
    at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:304)
    at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:292)
    at sun.security.ssl.ServerHandshaker.chooseCipherSuite(ServerHandshaker.java:1035)
    at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:738)
    at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:221)
    at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
    at sun.security.ssl.Handshaker$1.run(Handshaker.java:919)
    at sun.security.ssl.Handshaker$1.run(Handshaker.java:916)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1369)
    at com.itko.lisa.vse.sio.SSLSession$TaskHandler.run(SSLSession.java:613)
    ... 11 more
    ERROR - An error occurred updating channel interest.
    java.nio.channels.CancelledKeyException
    at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73)
    at sun.nio.ch.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:77)
    at com.itko.lisa.vse.sio.SelectorThread.updateChannelInterest(SelectorThread.java:185)
    at com.itko.lisa.vse.sio.SelectorThread.addChannelInterest(SelectorThread.java:153)
    at com.itko.lisa.vse.sio.NIOSession.handleRead(NIOSession.java:152)


  • 7.  RE: Virtual Service is not responding getting Error doing destroy()

    Posted Oct 16, 2020 02:37 AM
    Hi Sheeraz,

    Try hitting the VS from a test case running in the workstation & turn on HTTPS debug (can be found in Help menu item) and share the messages appear in the debug window. Also, share the logs Sankar mentioned.

    Thanks

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------



  • 8.  RE: Virtual Service is not responding getting Error doing destroy()

    Posted Oct 16, 2020 04:38 AM
    Hi Vaibhav,

    Issue has been resolved, it was because we had configured new certificates which were not in proper format. After converting in to .pfx format and adding the properties in the local.properties (https.protocols=TLSv1.2,TLSv1.1,TLSv1) as advised by you it worked.

    Thanks you Vaibhav and Sankar for your support

    Thanks,
    MOhammed Sheeraz



  • 9.  RE: Virtual Service is not responding getting Error doing destroy()

    Posted Oct 16, 2020 04:59 AM
    Good to hear.

    Thanks

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------