Skip to content

Try to capture more helix logs for IIS errors - #42992

Merged
HaoK merged 12 commits into
mainfrom
haok/iist
Aug 1, 2022
Merged

HaoK merged 12 commits into
mainfrom
haok/iist

Conversation

@HaoK

@HaoK HaoK commented Jul 29, 2022

Copy link
Copy Markdown
Member

Attempting to capture applicationHost.config when it gets corrupted on helix by copying the config file to the helix upload directory

@HaoK

HaoK commented Jul 29, 2022

Copy link
Copy Markdown
Member Author

Got a local hit with this already:

    System.AggregateException : Operation did not succeed after 15 retries (WorkerProcess not stopped yet) (Site is stopped but host process is not) (Site is stopped but host process is not) (More than one site not expected) (More than one site not expected) (More than one site not expected) (More than one site not expected) (More than one site not expected) (More than one site not expected) (More than one site not expected) (More than one site not expected) (More than one site not expected) (More than one site not expected) (More than one site not expected) (More than one site not expected)
    ---- System.InvalidOperationException : WorkerProcess not stopped yet
    ---- System.InvalidOperationException : Site is stopped but host process is not
    ---- System.InvalidOperationException : Site is stopped but host process is not
    ---- System.InvalidOperationException : More than one site not expected

@HaoK

HaoK commented Jul 29, 2022

Copy link
Copy Markdown
Member Author

Looks like applicationHost.config doesn't seem to show multiple sites, guess we also need to include web.config in case that's the file that's messed up... Here's what a local failure shows, with just a single site as expected even though it says multiple sites were found

    <sites>
      <site name="Default Web Site" id="1">
        <application path="/">
          <virtualDirectory path="/" physicalPath="C:\Users\haok\AppData\Local\Temp\45dd0d0e3f6641b3afc843a754fabe5f" />
        </application>
        <bindings>
          <binding protocol="http" bindingInformation=":50700:localhost" />
        </bindings>
      </site>
      <siteDefaults>
        <logFile logFormat="W3C" directory="%SystemDrive%\inetpub\logs\LogFiles" />
        <traceFailedRequestsLogging directory="%SystemDrive%\inetpub\logs\FailedReqLogFiles" />
      </siteDefaults>
      <applicationDefaults applicationPool="DefaultAppPool" />
      <virtualDirectoryDefaults allowSubDirConfig="true" />
    </sites>

@HaoK
HaoK requested a review from Pilchie as a code owner August 1, 2022 08:22
Comment thread src/Testing/src/HelixHelper.cs Resolved
@HaoK

HaoK commented Aug 1, 2022

Copy link
Copy Markdown
Member Author

web.config and applicationhost.config look fine, smoking gun now looks to be redirection.config since the tests appear to modify the copy in system32/inetserv and it gets left behind etc.

@HaoK
HaoK merged commit b2830ad into main Aug 1, 2022
@HaoK
HaoK deleted the haok/iist branch August 1, 2022 23:59
@ghost ghost added this to the 7.0-rc1 milestone Aug 1, 2022
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants