Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 586
Registered: ‎10-17-2010
My Device: (BlackBerry Z10)-> Q10/Passport Dual Use

"Error: SSL handshake failed status" - How To Resolve SSL API Call Error?

Hello,

 

I am making an api call to a web service url: https://api.github.com/users/octocat

 

 

I am getting the following console error
 

"Error: SSL handshake failed status:" 
Error retrieving feed:  "Error: SSL handshake failed status:" 

 
The call goes something like this:

QString queryUri = "https://api.github.com/users/octocat"; 
QUrl url(queryUri);
QNetworkRequest req(url);

 
Do you guys know how to resolve this error? How does C++/Cascades handle calls to web services with HTTPS? All I need is to get the data back.

Help please. 

 

Highlighted
Retired
Posts: 499
Registered: ‎05-07-2012
My Device: developer
My Carrier: developer

Re: "Error: SSL handshake failed status" - How To Resolve SSL API Call Error?

Developer
Posts: 586
Registered: ‎10-17-2010
My Device: (BlackBerry Z10)-> Q10/Passport Dual Use

Re: "Error: SSL handshake failed status" - How To Resolve SSL API Call Error?

Thank you for your reply. I encountered the error via my console log (on device). I am not authenticating the client or using certificated, but the api endpoint is based on https.... Just need to make a simple call.

 

I will defer this issue. Solving this may not be worth the effort, esp for a niche application.