2

We have 500.1001 or 500.1002 errors after success building our app. We tried to bundle our app to root and to public - error 500. We tried to correct iisnode.yml parameters (maxNamedPipeConnectionRetry and namedPipeConnectionRetryDelay). Our app always on in server.

<?xml version="1.0" encoding="utf-8"?>

<webSocket enabled="false" />

<handlers>
  <add name="iisnode" path="/public/server.bundle.js" verb="*" modules="iisnode"/>
</handlers>

<rewrite>
  <rules>
    <rule name="NodeInspector" patternSyntax="ECMAScript" stopProcessing="true">
      <match url="^server.bundle.js\/debug[\/]?" />
    </rule>

    <rule name="StaticContent">
      <action type="Rewrite" url="public{REQUEST_URI}"/>
    </rule>

    <rule name="DynamicContent">
      <conditions>
        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="True"/>
      </conditions>
      <action type="Rewrite" url="/public/server.bundle.js"/>
    </rule>
  </rules>
</rewrite>

<security>
  <requestFiltering>
    <hiddenSegments>
      <remove segment="bin"/>
    </hiddenSegments>
  </requestFiltering>
</security>

<httpErrors existingResponse="PassThrough" />

Dmitrij Podabed
  • 121
  • 1
  • 11

1 Answers1

-3

We found the solution. Just migrated to VM with Linux.

Undo
  • 25,519
  • 37
  • 106
  • 129
Dmitrij Podabed
  • 121
  • 1
  • 11