-
Notifications
You must be signed in to change notification settings - Fork 442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Report startup failures in the app Log Stream #8025
Comments
Since this is in Application Insights today, we should ensure that:
Let's repro with an initialization erros (perhaps using the setup referenced by @liliankasem) and validate the above requirements. |
I used this comment from the issue @liliankasem linked to try to repro a startup failure, and no initialization errors were surfaced on dotnet-isolated. You could try to execute a function (but it would fail). I also used the same repro mentioned above with a faulty use of Also going to try to repro this startup failure mentioned in the same thread since two people ran into the same problem. |
Can you upload both repros to a public github repo? |
Samples:
I think the simplest one to use for investigation is the last one in the list above (Linux isolated app) because it is the simplest repro with no extra dependencies. It's just an HttpTrigger app with a few extra lines in I was unable to repro the exact failure on the isolated app today for |
We need to continue investigation here. @satvu has the repros, so our next step should be to identify if there's an issue with the host (meaning, the worker wrote the failure details to stdout/error, and the host did not appropriately log them), or if there's an issue with the worker implementation. |
Investigation on this was completed and some work derived from the results. Once the associated PR is merged, we should be able to close this item. |
An example surfacing logs properly is this issue where the worker crashes and the host restarts, but this information is not logged to users as errors. The host process was not able to start the worker process and it logged the startup exception as information
The text was updated successfully, but these errors were encountered: