APP worked, now I get connection closed, blank (white screen), is it CERT issue?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jan
    Junior Member
    • Jan 2019
    • 3

    #1

    APP worked, now I get connection closed, blank (white screen), is it CERT issue?

    Hello everyone, I already have app, but it stopped working.
    I have generic code in my app "Unknown Failure", found where that code is, and it is custom message, not one from Betfair.
    My Android app makes login over: "https://identitysso.betfair.com/api/login"
    Then sends json to: https://developers.betfair.com/api.b...ng/json-rpc/v1
    Then I try to list some events:
    {"method":"SportsAPING/v1.0/listCompetitions","params":{"filter":{"marketStart Time":{"to":"2019-01-28T12:19:04.461Z"},"eventTypeIds":["2"],"marketTypeCodes":["MATCH_ODDS"]}},"id":1}
    D/OkHttp: --> END POST (181-byte body)
    I/System.out: [socket][1] connection developers.betfair.com/84.20.208.121:443;LocalPort=-1(1000000)
    I/System.out: [socket][/192.168.1.5:42722] connected
    But that's it, next screen should be events, but I don't get them.
    I/System.out: close [socket][/192.168.1.5:42722]
    D/OkHttp: <-- HTTP FAILED: javax.net.ssl.SSLPeerUnverifiedException: Hostname developers.betfair.com not verified:

    Is it because of certificate?
    I didn't see any announcement that I have to use cert?
  • jabe
    Senior Member
    • Dec 2014
    • 705

    #2
    I believe there was a change to the non-interactive login. Might that be the problem?

    Comment

    • Jan
      Junior Member
      • Jan 2019
      • 3

      #3
      Yes if that happened, than it's for sure problem, but why it doesnt say in release that they changed way people are logged in, I keep getting:
      HTTP FAILED: javax.net.ssl.SSLPeerUnverifiedException: Hostname developers.betfair.com not verified:
      Even for delayed (free api login)
      Can somebody help me with how to send certificate, I made cert on my mac, uploaded to my betfair acc, but not sure how to pass it in Java to betfair.

      I did check connection and certificate over MAC Terminal it is working fine, I get sucess.
      {"sessionToken":".............=","loginStatus":"SU CCESS"}
      But not sure how to implement it to JAVA, if there is someone who can help, that would be awesome
      Last edited by Jan; 30-01-2019, 03:36 PM.

      Comment

      Working...
      X