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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Developer
greenback
Posts: 448
Registered: ‎10-17-2010

"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. 

 

Please use plain text.
BlackBerry Development Advisor
smacmartin
Posts: 499
Registered: ‎05-07-2012
My Carrier: developer

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

Please use plain text.
Developer
greenback
Posts: 448
Registered: ‎10-17-2010

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.

 

 

Please use plain text.