Service Virtualization

 View Only
  • 1.  Connection TimeOut

    Posted Sep 23, 2020 11:48 AM
    Hi ALL ,

    I am trying to connect a URL passing through SSL and its  giving the connection time out issue. Any idea guys what shall be done to remove this issue .

    Regards
    Saurabh Mishra


  • 2.  RE: Connection TimeOut

    Broadcom Employee
    Posted Sep 23, 2020 12:05 PM
    Hi Saurabh
                Is it a test case or a Virtual Service that you are using the SSL URL with ? If it is from a test case, please share the workstation.log file to understand what is going on. If it is a virtual service, then please share vse.log and registry.log files. In case you are using Virtual service recording from Portal, then please share portal-grails log file as well.

    --
    regards
    Sankar Natarajan





  • 3.  RE: Connection TimeOut

    Posted Sep 24, 2020 12:47 AM
      |   view attached
    Hi Sankar,

    Please find the step error from the test case and let me know what can be done to rectify this error.

    Regards
    Saurabh Mishra

    Attachment(s)

    txt
    Log File.txt   3 KB 1 version


  • 4.  RE: Connection TimeOut

    Posted Sep 24, 2020 12:58 AM
    Hi Shankar ,

    One more info I am trying to pass SSL through a test case.

    Regards
    Saurabh Mishra


  • 5.  RE: Connection TimeOut

    Posted Sep 24, 2020 01:07 AM
    Hi Saurabh,

    Are you passing/configured any SSL certs for the https call, if not please try the same.

    Also, try pinging the API URL from the Lisa server to ensure connectivity is available on expected ports.

    Thanks


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



  • 6.  RE: Connection TimeOut

    Posted Sep 24, 2020 01:18 AM
    Hi  Vaibhav ,

    Thanks for the response !

    Yes I  am passing the SSL through the test case , and yes we tried to ping the API URL its also responding as well. Do we need to add some thing in the local.property file  for this connection time out issue.

    Regards
    Saurabh Mishra


  • 7.  RE: Connection TimeOut
    Best Answer

    Posted Sep 24, 2020 01:32 AM
    Hi Saurabh,

    As per my knowledge, this should be enough.

    Try adding below in your local.properties file:
    https.protocols=TLSv1.2,TLSv1.1,TLSv1

    and restart once.

    You can use below feature to see detailed logs:

    Thanks


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



  • 8.  RE: Connection TimeOut

    Posted Sep 24, 2020 04:34 AM
    Hi Vaibhav ,

    Thanks for your suggestion!! It's working now :) 

    Regards
    Saurabh Mishra


  • 9.  RE: Connection TimeOut

    Posted Sep 24, 2020 08:08 AM
    Good to hear, thanks for the update

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