javascript - Could not create SSL/TLS Secure Channel -
i'm sometimes getting error - seems happens sometimes. if refresh page, seems fix itself. ideas?
the request aborted: not create ssl/tls secure channel. description: unhandled exception occurred during execution of current web request. please review stack trace more information error , originated in code. exception details: system.net.webexception: request aborted: not create ssl/tls secure channel.
from code:
string thirdurl = "https://api.facebook.com/method/users.getinfo?uids=" + facebookuserid + "&client_id=" + appcode.facebook.application_id + "&access_token=" + accesstoken + "&fields=first_name,last_name,current_location,email,birthday,sex,pic_square,locale&format=json"; httpwebrequest apithirdrequest = (httpwebrequest)webrequest.create(thirdurl); streamreader apithirdresponse = new streamreader(apithirdrequest.getresponse().getresponsestream()); //error on line below --> string moreapidata = apithirdresponse.readtoend();
this temporary issue facebook's side. while lasted solution "try-catch loop" x amount of max retries of request, if might considered bad practice.
the issue resolved since 2012-07-17.
tickets on facebook developers issue:
Comments
Post a Comment