Skip to content

Conversation

@HaoK
Copy link
Member

@HaoK HaoK commented Jul 29, 2022

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

Co-authored-by: Brennan <brecon@microsoft.com>
@HaoK
Copy link
Member Author

HaoK commented Jul 29, 2022

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
Copy link
Member Author

HaoK commented Jul 29, 2022

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 and others added 2 commits August 1, 2022 01:07
Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
@HaoK HaoK requested a review from Pilchie as a code owner August 1, 2022 08:22
@HaoK
Copy link
Member Author

HaoK commented Aug 1, 2022

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.

5 participants