Does IISnode timeout the Http Request
I see Http 500 error when server takes more than 30 sec to respond.
I checked all the properties in IIS but seems no issue.
Please help.
You need to use these settings <attribute name="maxNamedPipeConnectionRetry" type="uint" defaultValue="100"/> <attribute name="namedPipeConnectionRetryDelay" type="uint" defaultValue="250"/>
tried everything.
Here is my settings....still getting Error when response cross 30 seconds.
iisnode node_env="development" asyncCompletionThreadCount="0" nodeProcessCountPerApplication="1" nodeProcessCommandLine="%programfiles%\nodejs\node.exe" interceptor=""%programfiles%\iisnode\interceptor.js"" maxConcurrentRequestsPerProcess="1024" maxNamedPipeConnectionRetry="100" namedPipeConnectionRetryDelay="150" maxNamedPipeConnectionPoolSize="512" maxNamedPipePooledConnectionAge="300000" initialRequestBufferSize="100096" maxRequestBufferSize="6553600" uncFileChangesPollingInterval="5000" gracefulShutdownTimeout="60000" debuggingEnabled="false" debuggerPathSegment="debug" debuggerPortRange="5058-6058" maxLogFileSizeInKB="128" loggingEnabled="false" devErrorsEnabled="false" flushResponse="false" watchedFiles="*.js" promoteServerVars="APP_POOL_ID,UNMAPPED_REMOTE_USER,LOGON_USER,HTTP_VERSION,REMOTE_PORT,REMOTE_ADDR,REMOTE_HOST,LOCAL_ADDR,AUTH_USER,AUTH_TYPE,SERVER_PORT,APPL_PHYSICAL_PATH,CONTENT_TYPE,HTTP_HOST,HTTP_METHOD,HTTP_USER_AGENT"
please edit my above comment and you will see the settings i use.
windows status from IIS log is 500.0 109 which means pipe has been ended.
Please help!.
you have set maxNamedPipeConnectionRetry="100" namedPipeConnectionRetryDelay="150" .. this means your timeout would be 15000 millseconds or 15 seconds.
Moved to maxNamedPipeConnectionRetry="1000" namedPipeConnectionRetryDelay="150"
means 150 seconds... Still same error..
Any help is much appreciated...
more detail scenario: posting a 100 MB data from client to server. it seems IIS node does not pass this request to node.exe. What I see is HTTP 500 error from IIS. sub status code is 109 which means pipe has been ended.
Why iisnode does not pass this request to node.exe, increased timeout as I mentioned above but nothing worked.
Please help!.
Hi, Were you able to figure out a solution for this? I am stuck in a similar situation!
Use the above to increase timout. We added nodeProcessCommandLine="%programfiles%\nodejs\node.exe --max_old_space_size=8000"
thats fixed the issue.
I am also facing similar issue. Trying to download data close to 350 MB. Below is my webconfig. Please suggest.
nodeProcessCountPerApplication="1" maxConcurrentRequestsPerProcess="1024" maxNamedPipeConnectionRetry="10000" namedPipeConnectionRetryDelay="250" maxNamedPipeConnectionPoolSize="512" maxNamedPipePooledConnectionAge="30000" initialRequestBufferSize="100096" maxRequestBufferSize="6553600" nodeProcessCommandLine="%programfiles%\nodejs\node.exe --max_old_space_size=8000"