Results 1 to 3 of 3

Threaded View

  1. #1

    Connection Error - Android API

    Hi,


    When Im trying to connect to my server, Im receiving an PushConnException:


    Code:
    client.openConnection(this.info,new LSConnectionListener(this.phase));
    "javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found."

    There is a TrustManager used by the lightstreamer connector? Where can I set my cert to be trusted?

    Thank you all!

    --Edit
    I've found the file HttpProvider, and I tried to add my TrustManager into the method:
    Code:
    private HttpURLConnection sendPost() throws Throwable
    But it's not working.
    Last edited by marcosmiguez; January 6th, 2017 at 10:44 PM.

 

 

Similar Threads

  1. Replies: 2
    Last Post: March 4th, 2014, 10:23 AM
  2. Android browser --> SSL and error 39
    By Mone in forum Client SDKs
    Replies: 0
    Last Post: February 21st, 2011, 05:16 PM
  3. Replies: 1
    Last Post: March 25th, 2010, 10:04 AM
  4. Connection reset error
    By gshatkin in forum Adapter SDKs
    Replies: 4
    Last Post: January 9th, 2009, 11:28 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 09:06 AM.