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

우리는 지난 몇 주 동안 때때로 같은 오류가 표시. 최근 fb 버그 티켓이있었습니다. http://developers.facebook.com/bugs/367369176650486 – mellodev

+0

지난 며칠 동안이 오류가 점점 더 많이 보입니다. 누구나 문제의 해결책이 있습니까? – kape123

+1

우리는 우리의 웹 호스트로 우리의 문제를 발견, 그들은 우리의 계정에 호스트 파일에 graph.facebook.com의 IP 주소를 포함하고 모두 잘됐다. 이 ipv6 문제로 해결되었습니다. –

답변

1

이 페이스 북의 측면에서 일시적인 문제였다. 마지막 솔루션은 나쁜 연습으로 간주 될지라도 요청의 최대 재 시도 횟수 x만큼 "try-catch loop"를 수행하는 것이 었습니다.

2012-07-17 이후로 문제 자체가 해결되었습니다. 문제에 대한 페이스 북 개발자에

티켓 :

관련 문제