5

Sono solo a volte ottenere questo errore - sembra che capita solo a volte. Se aggiorno la pagina, sembra che si aggiusti da sé. Qualche idea?Impossibile creare SSL/TLS Secure Channel

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. 

Da questo codice:

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

Stiamo vedendo lo stesso errore di tanto in tanto per le ultime settimane. C'era un biglietto di bug in fb su di esso di recente. http://developers.facebook.com/bugs/367369176650486 – mellodev

+0

Stiamo vedendo questo errore sempre più negli ultimi giorni. Qualcuno ha la soluzione per il problema? – kape123

+1

abbiamo trovato il nostro problema come nostro webhost, hanno incluso l'indirizzo IP di graph.facebook.com nel file host nei nostri account e tutto andava bene. risolto per essere un problema ipv6. –

risposta

1

Questo è stato un problema temporaneo da parte di Facebook. Mentre è durato una soluzione era di fare un "try-catch loop" con x quantità di tentativi massimi della richiesta, anche se potrebbe essere considerata una cattiva pratica.

Il problema si risolve dal 2012-07-17.

biglietti su Facebook sviluppatori sulla questione:

Problemi correlati