5

Jestem tylko czasami otrzymuję ten błąd - wydaje się, że zdarza się to czasami. Jeśli odświeżam stronę, wydaje się, że sama się naprawia. Jakieś pomysły?Nie można utworzyć bezpiecznego protokołu SSL/TLS

The request was aborted: Could not create SSL/TLS secure channel. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel. 

Od tego kodu:

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(); 
+3

Widzimy ten sam błąd sporadycznie w ciągu ostatnich kilku tygodni. Ostatnio pojawił się o tym fB bug. http://developers.facebook.com/bugs/367369176650486 – mellodev

+0

Ten błąd pojawia się coraz częściej w ciągu ostatnich kilku dni. Ktoś ma rozwiązanie tego problemu? – kape123

+1

Znaleźliśmy nasz problem jako nasz host, dołączyli adres ip graph.facebook.com do pliku hosta na naszych kontach i wszystko było dobrze. rozwiązało problem z protokołem ipv6. –

Odpowiedz