Web Request timeout when API Call to FB

Jan 28, 2009 at 12:46 PM
Hi guys,

I have latletly experecing issues with the api call to faceboook as i suspect that the Web request timeout as you can see below, is there any body who experienced this problem and could give me a quick fix? thank a lot in advance.

Exception information:
    Exception type: WebException
    Exception message: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. 

Thread information:
    Thread ID: 43
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:    at System.Net.HttpWebRequest.GetResponse()
   at facebook.API.postRequest(String requestUrl, String postString)
   at facebook.API.SendRequest(IDictionary`2 parameterDictionary, Boolean useSession)
   at facebook.API.SendRequest(IDictionary`2 parameterDictionary)
   at facebook.profile.setFBML(Int64 uid, String profile, String profile_main, String mobile_profile)
   at Shared.UpdateProfile()
   at _Default.Page_Load(Object sender, EventArgs e)
   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)