cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Request Timed out creating item

Odd issue that only some of my users are experiencing on a particular list/workflow. They're getting an error when creating an item that has a Nintex form and workflow. It takes about 3 minutes and then times out. The logs are below. As I said, this does not happen to everyone just some people. Anyone have any ideas? 

41:27.2Logging Correlation DataMediumName=Request (POST:http://url/NewForm.aspx?Source=http%3A%2F%2Furl)
41:27.2Authentication AuthorizationMediumNon-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|domain\user1, ClaimsCount=63
43:17.2GeneralHigh[Forced due to logging gap, cached @ 11/28/2017 09:41:27.19, Original Level: Verbose] {0}
43:17.2MonitoringHighLeaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=109988.382950906
43:17.2GeneralMediumApplication error when access /teams/url/NewForm.aspx, Error=Request timed out.   at System.Web.HttpRequest.GetEntireRawContent()     at System.Web.HttpRequest.GetMultipartContent()     at System.Web.HttpRequest.FillInFormCollection()     at System.Web.HttpRequest.EnsureForm()     at System.Web.HttpRequest.get_Form()     at Microsoft.SharePoint.SPGlobal.GetParametersFromHttpRequest(SPSite site, Boolean bAuthenticated)     at Microsoft.SharePoint.SPGlobal.CreateSPRequestAndSetIdentity(SPSite site, String name, Boolean bNotGlobalAdminCode, String strUrl, Boolean bNotAddToContext, Byte[] UserToken, SPAppPrincipalToken appPrincipalToken, String userName, Boolean bIgnoreTokenTimeout, Boolean bAsAnonymous)     at Microsoft.SharePoint.SPWeb.InitializeSPRequest()     at Microsoft.SharePoint.SPWeb.EnsureSPRequest()     at Microsoft.SharePoint.SPWeb.get_Request()     at Microsoft.SharePoint.WebControls.SPControl.EnsureSPWebRequest(SPWeb web)     at Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.GetContextWeb(HttpContext context)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PostResolveRequestCacheHandler(Object oSender, EventArgs ea)     at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
43:17.2RuntimeUnexpectedSystem.Web.HttpException: Request timed out.    at System.Web.HttpRequest.GetEntireRawContent()     at System.Web.HttpRequest.GetMultipartContent()     at System.Web.HttpRequest.FillInFormCollection()     at System.Web.HttpRequest.EnsureForm()     at System.Web.HttpRequest.get_Form()     at Microsoft.SharePoint.SPGlobal.GetParametersFromHttpRequest(SPSite site, Boolean bAuthenticated)     at Microsoft.SharePoint.SPGlobal.CreateSPRequestAndSetIdentity(SPSite site, String name, Boolean bNotGlobalAdminCode, String strUrl, Boolean bNotAddToContext, Byte[] UserToken, SPAppPrincipalToken appPrincipalToken, String userName, Boolean bIgnoreTokenTimeout, Boolean bAsAnonymous)     at Microsoft.SharePoint.SPWeb.InitializeSPRequest()     at Microsoft.SharePoint.SPWeb.EnsureSPRequest()     at Microsoft.SharePoint.SPWeb.get_Request()     at Microsoft.SharePoint.WebControls.SPControl.EnsureSPWebRequest(SPWeb web)     at Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.GetContextWeb(HttpContext context)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PostResolveRequestCacheHandler(Object oSender, EventArgs ea)     at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
43:17.2GeneralHighGetting Error Message for Exception System.Web.HttpException (0x80004005): Request timed out.     at System.Web.HttpRequest.GetEntireRawContent()     at System.Web.HttpRequest.GetMultipartContent()     at System.Web.HttpRequest.FillInFormCollection()     at System.Web.HttpRequest.EnsureForm()     at System.Web.HttpRequest.get_Form()     at Microsoft.SharePoint.SPGlobal.GetParametersFromHttpRequest(SPSite site, Boolean bAuthenticated)     at Microsoft.SharePoint.SPGlobal.CreateSPRequestAndSetIdentity(SPSite site, String name, Boolean bNotGlobalAdminCode, String strUrl, Boolean bNotAddToContext, Byte[] UserToken, SPAppPrincipalToken appPrincipalToken, String userName, Boolean bIgnoreTokenTimeout, Boolean bAsAnonymous)     at Microsoft.SharePoint.SPWeb.InitializeSPRequest()     at Microsoft.SharePoint.SPWeb.EnsureSPRequest()     at Microsoft.SharePoint.SPWeb.get_Request()     at Microsoft.SharePoint.WebControls.SPControl.EnsureSPWebRequest(SPWeb web)     at Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.GetContextWeb(HttpContext context)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PostResolveRequestCacheHandler(Object oSender, EventArgs ea)     at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
43:17.2GeneralMonitorable 
43:17.2Micro TraceMediumMicro Trace Tags: 0 nasq,6 agb9s,109988 b4ly,0 8nca,0 tkau,0 ajlz0,11 aat87
43:17.2MonitoringMediumLeaving Monitored Scope (Request (POST:http://url/NewForm.aspx?Source=http%3A%2F%2Furl)). Execution Time=110013.528674734
Labels: (1)
Reply
6 Replies
Workflow Hero

Re: Request Timed out creating item

Hi,

Does the Nintex form has any code? And is trying to access anything with in SharePoint?  

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Request Timed out creating item

Yea, there's custom JS that is used in a few of the controls for different things. 

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Request Timed out creating item

Just to check, please remove the script and test to see if you get same time out error.

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Request Timed out creating item

That isn't going to work. It happens sometimes to some users. I can't make it fail consistently any specific way.

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Request Timed out creating item

Ok, at beginning of the logs, it says, "Application error when access /teams/url/NewForm.aspx" and then "Request timed out".

Is the script in the Nintex form trying to read/access any other lists/libraries? What is the functionality of that script?

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Request Timed out creating item

The JS reaches out to a web service to pull in data(people and their information) from an on-premise database.

I use the same script/functionality in other workflows that don't seem to have any issues. I'm not saying it isn't the problem but it's hard for me to assume it is if the same stuff is working elsewhere.

0 Kudos
Accept as Solution Reply