-
Notifications
You must be signed in to change notification settings - Fork 437
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
Function startup fails when using System.Memory.Data 6.0.0 #2872
Comments
Workaround: adding |
Is there any update on this? We are experiencing the same issue when trying to make a call to blob storage on functions 4 / .NET 6. The workaround with |
Just ran into this myself; Is there a more broadly applicable fix to issues of this nature? |
Any update on this? I'm having the same problem |
Hi @apawast |
I ran into this issue as well after upgrading some of the packages to newest. Workaround seems to work for now.. |
Also run into this issue. The workaround worked. How dangerous is the workaround? |
I am facing the same issue even after adding <_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput> |
Try making sure that you are not referencing the System.Memory.Data 6.0.0 package directly in any of the projects. I believe this version has been marked as vulnerable, so perhaps something is blocking access to it. |
I can verify that the FunctionsSkipCleanOutput fix works. Make sure to add it in the PropertyGroup
|
I'm running into this problem running a NodeJS v4 function on the command line using the Core Tools cli This is the error produced:
The trigger seems to be the blobStorage trigger I'm using as an http/servicebus trigger works fine. Is there a workaround in this situation? And if not, does this warrant a separate issue? Edit: I've replaced the System.Memory.Data dll in the core tools install directory with the 6.0 version, and it now works, but this seems like something which should be solved in an update? Edit2: This error also occurs when I deploy the app to Azure. |
Is there any solution for above issue. I am also facing same issue with System.Memory.Data 6.0.0.0 which not directly referenced but from Azure.Storage.Blobs |
I have worked around the issue by introducing a Service Bus Queue and having our API put a message on there after it has uploaded the blob. The Function App then responds to this message instead. This overcomplicates what should be a very basic scenario, though. I can't believe that this bug has existed for 2,5 years (with the fix seemingly being to just ship a different DLL, but I admittedly do not have the full picture) and nothing has been done. |
Hi @mattixittam, |
Sure: I have an API backend which uploads a blob into the storage container. A function app should then react to this upload. For the workaround, this API now also sends a message to a (new) Service Bus message queue, the message body containing the blob url. My original function app now has a service bus trigger instead of a blob trigger, reads the url from the message and retrieves the blob (using node-fetch in my case). From there the process works as if you had a working blob trigger. |
I also have this issue and need a fix asap. We are using an Azure Function App: using net8.0 In-Proc. So far the workaround is only needed for 1 of our converted apps. Others work fine without the workaround. I haven't found a discernable pattern different between the 2 that are running fine and this problem app. I'll keep my eyes open. Here are the packages we have included:
|
Who is the program owner or project manager to have him/her escalate the priority of this issue. The workaround does not work at all. |
I am about to put pressure from a different direction through a Support Request in the portal. Maybe that will help get things moving. |
@mattixittam Please share the URL so I can submit a similar request. This is not acceptable! I am wondering now many people have been stopped progressing by this issue! |
This is a duplicate of issue - Azure/azure-functions-host#10575. We can use that issue to capture discussion and progress. |
When attempting to start a v4 function app that uses System.Memory.Data 6.0.0, startup fails due to the following error:
The version of System.Memory.Data delivered in Core Tools 4.10.1 is
1.0.2
. Replacing this DLL with a6.0.0
version in the Core Tools CLI directory resolves this startup error.(Replaced
%USERPROFILE%\AppData\Local\AzureFunctionsTools\Releases\4.10.1\cli_x64\System.Memory.Data.dll
)The text was updated successfully, but these errors were encountered: