5

我只是有時出現此錯誤 - 它似乎只是有時會發生。如果我刷新頁面,它似乎會解決它自己。有任何想法嗎?無法創建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. 

從這個代碼:

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

我們偶爾看到了同樣的錯誤,在過去幾個星期。最近有一個關於它的錯誤票。 http://developers.facebook.com/bugs/367369176650486 – mellodev

+0

過去幾天我們看到這個錯誤越來越多。任何人都有解決問題的辦法? – kape123

+1

我們發現我們的問題是我們的網絡主機,他們將graph.facebook.com的IP地址包含在我們帳戶的主機文件中,並且一切正常。 解決了是一個ipv6問題。 –

回答

相關問題