We have a .Net 5 web app we just launched recently. In the event log I'm seeing that the application pool keeps shutting down and restarting after anywhere from 30 seconds to a minute or so. I have no idea why and can only find one other warning in the event log. I don't know if it's related or not. It says Failed to determine the https port for redirect. I've looked this up and supposedly this was supposed to fix it, but it hasn't. Here are some of the events I'm seeing.
Log Name: Application
Source: IIS AspNetCore Module V2
Date: 7/18/2023 2:30:48 PM
Event ID: 1033
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: EC2AMAZ-D7E2JAG
Description:
Application 'MACHINE/WEBROOT/APPHOST/EMPLOYEES' has shutdown.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="IIS AspNetCore Module V2" />
<EventID Qualifiers="0">1033</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2023-07-18T18:30:48.929881200Z" />
<EventRecordID>22032</EventRecordID>
<Channel>Application</Channel>
<Computer>EC2AMAZ-D7E2JAG</Computer>
<Security />
</System>
<EventData>
<Data>Application 'MACHINE/WEBROOT/APPHOST/EMPLOYEES' has shutdown.</Data>
<Data>Process Id: 123656.</Data>
<Data>File Version: 15.0.22105.17. Description: IIS ASP.NET Core Module V2 Request Handler. Commit: 02c6de4ba6022025fcda7581415f310f8c73cdc3</Data>
</EventData>
</Event>
Log Name: Application
Source: IIS AspNetCore Module V2
Date: 7/18/2023 2:30:18 PM
Event ID: 1032
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: EC2AMAZ-D7E2JAG
Description:
Application 'C:\inetpub\wwwroot\Production\employees\' started successfully.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="IIS AspNetCore Module V2" />
<EventID Qualifiers="0">1032</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2023-07-18T18:30:18.976727300Z" />
<EventRecordID>22030</EventRecordID>
<Channel>Application</Channel>
<Computer>EC2AMAZ-D7E2JAG</Computer>
<Security />
</System>
<EventData>
<Data>Application 'C:\inetpub\wwwroot\Production\employees\' started successfully.</Data>
<Data>Process Id: 123656.</Data>
<Data>File Version: 15.0.22105.17. Description: IIS ASP.NET Core Module V2 Request Handler. Commit: 02c6de4ba6022025fcda7581415f310f8c73cdc3</Data>
</EventData>
</Event>
Log Name: Application
Source: IIS AspNetCore Module V2
Date: 7/18/2023 2:28:34 PM
Event ID: 1032
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: EC2AMAZ-D7E2JAG
Description:
Application 'C:\inetpub\wwwroot\Production\employees\' started successfully.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="IIS AspNetCore Module V2" />
<EventID Qualifiers="0">1032</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2023-07-18T18:28:34.377273900Z" />
<EventRecordID>22027</EventRecordID>
<Channel>Application</Channel>
<Computer>EC2AMAZ-D7E2JAG</Computer>
<Security />
</System>
<EventData>
<Data>Application 'C:\inetpub\wwwroot\Production\employees\' started successfully.</Data>
<Data>Process Id: 56952.</Data>
<Data>File Version: 15.0.22105.17. Description: IIS ASP.NET Core Module V2 Request Handler. Commit: 02c6de4ba6022025fcda7581415f310f8c73cdc3</Data>
</EventData>
</Event>
Log Name: Application
Source: IIS AspNetCore Module V2
Date: 7/18/2023 2:28:00 PM
Event ID: 1033
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: EC2AMAZ-D7E2JAG
Description:
Application 'MACHINE/WEBROOT/APPHOST/EMPLOYEES' has shutdown.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="IIS AspNetCore Module V2" />
<EventID Qualifiers="0">1033</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2023-07-18T18:28:00.341568600Z" />
<EventRecordID>22026</EventRecordID>
<Channel>Application</Channel>
<Computer>EC2AMAZ-D7E2JAG</Computer>
<Security />
</System>
<EventData>
<Data>Application 'MACHINE/WEBROOT/APPHOST/EMPLOYEES' has shutdown.</Data>
<Data>Process Id: 145204.</Data>
<Data>File Version: 15.0.22105.17. Description: IIS ASP.NET Core Module V2 Request Handler. Commit: 02c6de4ba6022025fcda7581415f310f8c73cdc3</Data>
</EventData>
</Event>
Log Name: Application
Source: IIS AspNetCore Module V2
Date: 7/18/2023 2:27:18 PM
Event ID: 1032
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: EC2AMAZ-D7E2JAG
Description:
Application 'C:\inetpub\wwwroot\Production\employees\' started successfully.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="IIS AspNetCore Module V2" />
<EventID Qualifiers="0">1032</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2023-07-18T18:27:18.529768200Z" />
<EventRecordID>22024</EventRecordID>
<Channel>Application</Channel>
<Computer>EC2AMAZ-D7E2JAG</Computer>
<Security />
</System>
<EventData>
<Data>Application 'C:\inetpub\wwwroot\Production\employees\' started successfully.</Data>
<Data>Process Id: 145204.</Data>
<Data>File Version: 15.0.22105.17. Description: IIS ASP.NET Core Module V2 Request Handler. Commit: 02c6de4ba6022025fcda7581415f310f8c73cdc3</Data>
</EventData>
</Event>
Log Name: Application
Source: IIS AspNetCore Module V2
Date: 7/18/2023 2:27:01 PM
Event ID: 1033
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: EC2AMAZ-D7E2JAG
Description:
Application 'MACHINE/WEBROOT/APPHOST/EMPLOYEES' has shutdown.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="IIS AspNetCore Module V2" />
<EventID Qualifiers="0">1033</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2023-07-18T18:27:01.337341700Z" />
<EventRecordID>22023</EventRecordID>
<Channel>Application</Channel>
<Computer>EC2AMAZ-D7E2JAG</Computer>
<Security />
</System>
<EventData>
<Data>Application 'MACHINE/WEBROOT/APPHOST/EMPLOYEES' has shutdown.</Data>
<Data>Process Id: 118920.</Data>
<Data>File Version: 15.0.22105.17. Description: IIS ASP.NET Core Module V2 Request Handler. Commit: 02c6de4ba6022025fcda7581415f310f8c73cdc3</Data>
</EventData>
</Event>
Log Name: Application
Source: IIS AspNetCore Module V2
Date: 7/18/2023 2:26:26 PM
Event ID: 1032
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: EC2AMAZ-D7E2JAG
Description:
Application 'C:\inetpub\wwwroot\Production\employees\' started successfully.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="IIS AspNetCore Module V2" />
<EventID Qualifiers="0">1032</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2023-07-18T18:26:26.338518200Z" />
<EventRecordID>22021</EventRecordID>
<Channel>Application</Channel>
<Computer>EC2AMAZ-D7E2JAG</Computer>
<Security />
</System>
<EventData>
<Data>Application 'C:\inetpub\wwwroot\Production\employees\' started successfully.</Data>
<Data>Process Id: 118920.</Data>
<Data>File Version: 15.0.22105.17. Description: IIS ASP.NET Core Module V2 Request Handler. Commit: 02c6de4ba6022025fcda7581415f310f8c73cdc3</Data>
</EventData>
</Event>
Log Name: Application
Source: IIS AspNetCore Module V2
Date: 7/18/2023 2:26:00 PM
Event ID: 1033
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: EC2AMAZ-D7E2JAG
Description:
Application 'MACHINE/WEBROOT/APPHOST/EMPLOYEES' has shutdown.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="IIS AspNetCore Module V2" />
<EventID Qualifiers="0">1033</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2023-07-18T18:26:00.021186600Z" />
<EventRecordID>22020</EventRecordID>
<Channel>Application</Channel>
<Computer>EC2AMAZ-D7E2JAG</Computer>
<Security />
</System>
<EventData>
<Data>Application 'MACHINE/WEBROOT/APPHOST/EMPLOYEES' has shutdown.</Data>
<Data>Process Id: 62004.</Data>
<Data>File Version: 15.0.22105.17. Description: IIS ASP.NET Core Module V2 Request Handler. Commit: 02c6de4ba6022025fcda7581415f310f8c73cdc3</Data>
</EventData>
</Event>
Log Name: Application
Source: IIS AspNetCore Module V2
Date: 7/18/2023 2:25:15 PM
Event ID: 1032
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: EC2AMAZ-D7E2JAG
Description:
Application 'C:\inetpub\wwwroot\Production\employees\' started successfully.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="IIS AspNetCore Module V2" />
<EventID Qualifiers="0">1032</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2023-07-18T18:25:15.489575000Z" />
<EventRecordID>22016</EventRecordID>
<Channel>Application</Channel>
<Computer>EC2AMAZ-D7E2JAG</Computer>
<Security />
</System>
<EventData>
<Data>Application 'C:\inetpub\wwwroot\Production\employees\' started successfully.</Data>
<Data>Process Id: 62004.</Data>
<Data>File Version: 15.0.22105.17. Description: IIS ASP.NET Core Module V2 Request Handler. Commit: 02c6de4ba6022025fcda7581415f310f8c73cdc3</Data>
</EventData>
</Event>