I am facing an issue with an application deployed in an azure VM. A user can access the site after getting authenticated from oauth.live.com.
When a user logs in to the application that had been idle for an hour or more, an error occurs, the details of which are given below. The page is loaded correctly when refreshed and when accessed next time without an idle time of 1 hour.
Another thing I notice is that if I try to access oauth.live.com from the VM hosting the application before trying to load the application, the issue does not happen.
Can someone please help me on this?
Exception type: WebException
Exception message: The remote name could not be resolved: 'oauth.live.com'
at PwC.FCPA.External.Web.BReq.HttpGet(String url)
at PwC.FCPA.External.Web.TokenRestApi.getTokens(String clientID, String redirectURI, String clientSecret, String refreshToken, String authorizationCode)
at PwC.FCPA.External.Web.CallBack.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
- Moved by Scott HitMicrosoft employee Friday, November 22, 2013 9:01 PM not healthvault