-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Unstable work of function app on some periods #696
Comments
Location: West Europe |
can u share the repro steps |
thanks for sharing will discuss with internal team and update you soon |
@ashamrai please share the function app name from time totime region https://github.com/Azure/azure-functions-host/wiki/Sharing-Your-Function-App-name-privately |
@bhagyshricompany but I shared ID and TimeStamp earlier: Location: West Europe |
@ashamrai thanks for giving info.I Tried with first function id got the logs like Executing 'Functions.transmitCreateInventory' (Reason='(null)', Id=e1d40268-ad87-473b-9f64-7c07ba1d14b6) This message is usually generated by the Azure Functions runtime and is an indication that the function is running as expected. If you are seeing this message in your logs and you are not expecting the function to be executed, then it could be that the function is being triggered by an external event such as a message on a queue, a timer, or an HTTP request. It's best to check the function's code and see if it's being triggered by any external event and also the logs to see if there is any other information that could be helpful. And Based on the failure example as you mention This error message indicates that there is a ClassNotFoundException being thrown while executing the Azure Function 'Functions.XXXXXXXXXXX'. This means that the Java runtime is unable to locate the class 'com.xxxx.xxxxxxxx.functions.xxxxxxxxxx' that the function is trying to use. This issue can happen for a few reasons: The class is not present in the classpath. Make sure that the class is included in the classpath and that the classpath is configured correctly in the function's configuration. It's also possible that the function is being triggered by an external event such as an Event Hub, and during that event, the function was unable to find the required class. It's good to check the logs and see if there are any other error messages that could give more information about what went wrong. It would be helpful to check your function's code, dependencies, and configurations to see if you can find any issues that may be causing this error. Please let me know if you have any other questions about this. |
@bhagyshricompany as triggers we use event hub events. The trigger for the first execution:
the main issue here: that`s happened on the working function (we process million events).... it happens like the following executions: good exec, good exec, bad exec, good exec.... and there were no any deployments at that moments. The second issue..... there is no any additional information on the Application Insights: |
Hi @bhagyshricompany can you open an ICM and assign it to Antares Function Java Loop, thank you. |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
@kaibocai what feedback do you need? |
new exceptions:
|
Hi @ashamrai - are you still facing this issue with your Java Functions? @bhagyshricompany - I see this issue is assigned to you. If @ashamrai 's issue is still unresolved, please open an ICM and assign it to Antares Function Java Loop as @kaibocai mentioned above, thank you. |
Hi, Runtime version: 4.22.0.20804 Here are some logs from our application insights with how exception looks like:
Here is call stack:
` Here after our function failed our client automatically sent retries multiple times but it couldn't succeed so it stopped trying after some time according to its implemented logic. On Monday we manually restarted client app (without redeploying azure functions or changing anything in configuration there) and it succeeded. We would be grateful for any support or update in this matter. |
I can confirm that I am having the same Runtime version: 4.27.5.21549 How can I fix this? |
Runtime version: ~4
Os: windows
Hosting plan: consumption
Language: java
Trigger: Event Hub
Mostly, our functions work fine. However sometimes we have unpredictable failures. In this case, it's not clear whether all our events are processed or not (we miss some events or don't).
Failure example:
Call Stack:
The text was updated successfully, but these errors were encountered: