Open Sti2nd opened 2 years ago
@fabiocav, would you be able to help with this? It looks like this issue is related to the TimerTrigger listener.
+1 Same issue on my end, with no changes.
Would be great to get some help with this. Impossible to develop Durable Azure Functions for me now and they were already hard to do from before.
+ @vijayrkn in case this issue only affects VS.
Based on the error message, I would be surprised if it only impacts Visual Studio.
One thing to try here might be to update the version of Azurite and see if it handles the scenario better. Based on the log above, the version of Azurite running is 3.14.1
https://github.com/Azure/Azurite/releases/tag/v3.16.0 3.16 is the latest version available and VS is updated to ship this version in the next release. in the meantime, can you try installing the Azurite from Node globally on the machine with the latest version. Close VS, run azurite manually and re-open VS?
This should confirm if this is an issue on the Azurite side and if it is already fixed. Let me know this doesn't work.
@vijayrkn Nice! I can confirm that it works with Azurite 3.16.0.
Which Visual Studio release will it ship in? I just got notified about and updated to version 17.1.1 of VS today; that still has Azurite 3.14.1.
Glad to know it worked. We will be updating it in 17.2. A preview version of this release should be available soon.
I just hit this today, with no code changes on my end. Confirmed that running Azurite outside of VS has fixed it, but updating the version in VS should really be high priority, even if its just pushing it to a minor patch.
Ideally we have the option to set the Azurite version in VS ourselves?
Just for everyone's info.
I am facing same issue.
I was on VS17.1.1 - just updated to VS17.1.6. No difference, I still get the error.
will try updating Azurite :)
Sad to report that there is no improvement in Visual Studio 17.2.1. Did you not release new Azurite with that version like you said, @vijayrkn?
Edit: Output from the VS installed azurite says it's the same version I have installed through npm. So I guess there must be something else wrong.
$ C:/'Program Files'/'Microsoft Visual Studio'/2022/Professional/Common7/IDE/Extensions/Microsoft/'Azure Storage Emulator'/azurite.exe --v
3.16.0
I started to have the same problem, until yesterday everything was working well, now all the sudden without any changes the Function just won't work. Visual Studio Version 17.2.1.
Any help would be appreciated. Thanks
@mrnewrochelle This is a workaround https://github.com/Azure/azure-functions-core-tools/issues/2959#issuecomment-1059322454
@mrnewrochelle This is a workaround #2959 (comment)
Thanks but that it didn't work for me, I tried before, and I have the last version already.
Ok I found a workaround for those who didn't make it work with the previews one. Go to Azure Explorer Storage, search for the (Emulator - Default Ports) (Key) and clean up the containers, and that's all. I worked good for me.
Just wanted to confirm that @mrnewrochelle's suggestion worked for me. I had already tried installing gobally via npm and had the latest version (both via npm and VS) but was still facing errors. Deleting all of the containers from the emulator cleared it up for me.
Ok I found a workaround for those who didn't get it working with the preview. Go to Azure Explorer Storage, search for the (Emulator - Default Ports) (Key) and clean up the containers, and that's all. It worked good for me.
to clarify:
I installed the latest version of VS 2022 (17.4.4) and the issue was resolved.
Using VS 2022 (17.4.4) and the issue still exist.
Ok I found a workaround for those who didn't make it work with the previews one. Go to Azure Explorer Storage, search for the (Emulator - Default Ports) (Key) and clean up the containers, and that's all. I worked good for me.
This worked for me.
It's been a while since this thread has had an update.
This issue was resolved for me by updating Visual Studio 2022 to 17.8.3.
Running timer triggers on my local computer suddenly stopped working a few days ago. The full error message is:
<TargetFramework>netcoreapp3.1</TargetFramework>
<AzureFunctionsVersion>v3</AzureFunctionsVersion>
<LangVersion>Latest</LangVersion>
In the
Service Dependencies
output, we have the following output. I have anonymised some information.Details copied from the exception follows. I have removed the computer name.