Service Virtualization

Expand all | Collapse all

SSLException while connecting to Google PubSub from DevTest

Jump to Best Answer
  • 1.  SSLException while connecting to Google PubSub from DevTest

    Posted 08-31-2016 03:23 AM

    I'm trying to execute the Java PubSub Client code through the DevTest custom test step and getting an error "javax.net.ssl.SSLException: Received fatal alert: no_renegotiation"

     sample code: pullResponse = pubsub.projects().subscriptions().pull(subscriptionName, pullRequest).execute();

     

    When I run the same code from eclipse IDE it worked perfectly. Does DevTest need any configurations to be done regarding SSL?



  • 2.  Re: SSLException while connecting to Google PubSub from DevTest
    Best Answer

    Posted 09-02-2016 01:04 AM

    Can you try adding the following property in your local.properties file and restart the workstation. 

     

    https.protocols=SSLv3,TLSv1.2