Replies: 4 comments 2 replies
-
We are having the same issue. Both with dedicated plans and premium plans (all Windows). Running Quarkus on Java 11. Still debugging as we speak but no improvements so far. Annoyingly, when it happens, Azure is not replacing it with a new instance and you really have to restart the function to get it working again. The Azure http layer is just timing out while trying to forward requests to Quarkus. We tried changing the amount of function apps in a plan but that doesn't help. Plans with only one function and sufficient memory available exhibit the same problem. Another error we are seeing
|
Beta Was this translation helpful? Give feedback.
-
@jwnmulder has been able to narrow this down to a very likely candidate, and I've created an issue for this: #23789. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately not. I'm a Quarkus user just like you. I did see that my PR (#23801) had some activity. It's best to keep watching that. |
Beta Was this translation helpful? Give feedback.
-
@vijay-902 FYI, my PR was merged, and it seems like it will be backported to version 2.7.x. |
Beta Was this translation helpful? Give feedback.
-
We are running Quarkus as an Azure Function App, using the "quarkus-azure-functions-http" plugin.
The Quarkus App is mostly Rest Client.
This has been working great in Azure Cloud.
But when we do load testing, which goes on for say 1-3 days, we start seeing that some of the containers fail to start or existing containers are restarting with errors.
So the Quarkus process has encountered and exception on startup and throws the "Quarkus bootstrap failed" exception.
Since it is running in the Azure Functions mode, the quarkus process doesn't exit, and the azure functions layer doesn't detect the quarkus failure, and attempt any restarts of the quarkus process.
So the Azure functions http layer is still running, accepting http requests, and it proxies the requests to quarkus process,
which in-turn returns the exception "Quarkus bootstrap failed".
When we see the Exception Stack Trace, there are different underlying causes,
so no single reason/root cause.
The issue occurs when Azure is scaling up and scaling down as well.
For context, we are using Azure "App Service Plan". And the Min Instances is set at 3 and Max Instances is set to 13.
Most times it is limited to 1 or 2 containers, but we have seen cases, where most of the container instances end up in this state.
If we leave the instances without performing any load tests, they stay normal for days/weeks.
so its definitely occurring due to Azure Instances being scaled up/down.
We are working Azure support to debug, if there is anything wrong from there end.
Has anyone encountered similar issues when running Quarkus in Cloud environments ?
If and when the issue occurs in the Quarkus Startup Lifecycle, how do we catch this exception and return a standard error message, rather than returning the entire stack trace.
Also, would there be a way to detect this and exit the Quarkus process.
I have attached our process gradle file.
some sample exception stack traces.
Beta Was this translation helpful? Give feedback.
All reactions