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?
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?


Comment