Open Emetico opened 4 weeks ago
Hi there @Emetico!
Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.
We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.
We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.
Thanks, from your friendly Umbraco GitHub bot :robot: :slightly_smiling_face:
In my opinion, the BootFailedException should not be the last stop. Is there a reason why the boot is not retried?
In my opinion, the BootFailedException should not be the last stop. Is there a reason why the boot is not retried?
From what I can see from the logs files, it tries to boot around 5 times before it dies. But each time it uses a stale connection that are not refreshed.
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
7.15.11, 8.18.15, 10.8.7, 13.5.2
Bug summary
We are experiencing issues with our Umbraco solutions hosted at Curanet, where the applications lose connection to the database after the server (either web or SQL) has been restarted. This occurs because IIS starts before SQL Server is ready, resulting in stale connections that are not refreshed. Consequently, this leads to a
BootFailed
exception when attempting to start the application. The loss of connection is sporadic; it does not happen every time and can affect different solutions at different times. Our Umbraco solutions are running the following versions:Specifics
Steps to reproduce
1. Environment Setup:
2. Restart the SQL Server:
3. Restart the Web Server:
4. Monitor Startup Sequence:
5. Check Application Logs:
6. Verify Connection Status:
Expected result / actual result
Expected Result:
Actual Result:
Proposed Solution:
To address the database connection issues leading to the BootFailed exception, we suggest the following enhancements for Umbraco:
1. Development of BootFailedNotification:
2. Utilization of ClearPool():