-
Notifications
You must be signed in to change notification settings - Fork 5
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
[Discussion] Azure Functions Runtime 2.0.12285 #80
Comments
can you tell us more about azure monitor? Is this something we should turn on in our individual function apps? |
@dabutvin -- this is a Private Preview feature we're rolling out for your Function Logs to be directed to Azure Monitor diagnostic logs. It's disabled behind-the-scenes right now but we'll share some details on how to get enrolled in the private preview in the near future. Just setting this value won't do anything as we'd need to do some whitelisting of subscriptions on our side as well. Since it's a little confusing, we'll remove it from the release notes. |
It looks like redirects from HTTP triggered functions don't work anymore. |
Fix for issue Azure/azure-functions-host#3986 will be part of next release. |
This release, or something else between January 21 and today, appears to have BROKEN using System.getenv("APP_SETTING_NAME") in the Java Runtime. The key-value pairs appear in APP_SETTINGS, but Java code using System.getenv("") is not seeing the keys. There have been no changes to the function whatsoever. And just to be sure, I stopped and restarted, with the same effect (i.e., APP_SETTINGS are not being read). |
@TurtleBeach - Add App setting FUNCTIONS_WORKER_RUNTIME set to java. Note this app setting is added if you deploy function app using azure function maven plugin. |
While I appreciate the prompt response (and it does resolve the issue), I have to say it's annoying to think that I have to redeploy or manually update every function as a result of this change (I do deploy using maven, but have not made any changes in my function code to necessitate redeploying since early December). |
Now the tools are broken. Specifically, I updated Core SDK, and supposedly the core tools (npm I -g....), both of which returned no errors. I used the mvn archetype ... to create a new HTTP trigger function expecting it to use all the updated tools and to create a new POM that I can use as a guide to update POMs for existing projects. The new project will build (in Visual Studio code, or from command line), but will not run (mvn azure-functions:run). The staging directory is recognized, but then "func is not recognized as an internal or external command". The reported error is "Azure core tools not found". The azure command line az --version reports 2.0.45. This is again aggravating as hell. I (and presumably anyone else trying to work with Java functions) have to spend time debugging the platform, rather than working on the application - all the while being charged by Microsoft for everything that happens on Azure. Not a happy camper. Please tell me where the core tools are supposed to be so that I can try to figure out why they are not there, or maybe put wherever they are in the path. |
Installing Azure Core Tools via npm should have added func to the path. If not try installing again. on windows, it gets installed under |
It is now working, though I do not know why (which in itself is troubling). I noticed two references to sonatype repositories in the pom created for the new HTTP trigger function, and I do not see a .csproj file for that function. I removed the sonatype references (though I am not certain that had any effect one way or another), and did nothing about the non-existent .csproj file. I also reinstalled core tools. |
Discussion issue for the Azure Functions Runtime release 2.0.12285
The text was updated successfully, but these errors were encountered: