Azurite icon indicating copy to clipboard operation
Azurite copied to clipboard

Azurite | Durable functions not working properly

Open RamasubbuSK opened this issue 3 years ago • 9 comments

Which service(blob, file, queue, table) does this issue concern?

tables

Which version of the Azurite was used?

Version that comes with VS2022 preview. Version#3.19

Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)

VS2022 preview

What problem was encountered?

[11/2/2022 5:31:09 AM] A ScriptHost error has occurred [11/2/2022 5:31:09 AM] The listener for function 'ActivityFunction' was unable to start. Microsoft.WindowsAzure.Storage: The property 'value' does not exist on type 'devstoreaccount1.Tables'. Make sure to only use property names that are defined by the type. Microsoft.Data.OData: The property 'value' does not exist on type 'devstoreaccount1.Tables'. Make sure to only use property names that are defined by the type. [11/2/2022 5:31:09 AM] The listener for function 'ActivityFunction' was unable to start. Microsoft.WindowsAzure.Storage: The property 'value' does not exist on type 'devstoreaccount1.Tables'. Make sure to only use property names that are defined by the type. Microsoft.Data.OData: The property 'value' does not exist on type 'devstoreaccount1.Tables'. Make sure to only use property names that are defined by the type. [11/2/2022 5:31:09 AM]

Steps to reproduce the issue?

Function works fine when I delete the azurite folder and start the function project. If I miss to delete the folder, I see above error. It is 100% consistent.

Have you found a mitigation/solution?

The only work around I found it, every time before start running the project. I have to kill the azurite process and delete the data folder. Start the Azurite and then run the project.

RamasubbuSK avatar Nov 02 '22 05:11 RamasubbuSK

Hi, was there an update to Azurite or the function SDK since this stopped working? Do you know what changed between the working and not working sates?

edwin-huber avatar Nov 02 '22 08:11 edwin-huber

Code is working with storage emulator, and I have updated my Visual Studio to VS2022 which comes with Azurite. It is not working with Azurite. This is the first time I'm trying the code with Azurite.

RamasubbuSK avatar Nov 02 '22 15:11 RamasubbuSK

This happens to me too, in 2022 and 2022 preview. I have v1 Function Apps.

Specifically deleting C:\azurite\__azurite_db_table__.json before each run fixes the error.

[11/11/2022 09:52:31] A ScriptHost error has occurred
[11/11/2022 09:52:31] The listener for function 'Pdf' was unable to start. Microsoft.WindowsAzure.Storage: The property 'value' does not exist on type 'devstoreaccount1.Tables'. Make sure to only use property names that are defined by the type. Microsoft.Data.OData: The property 'value' does not exist on type 'devstoreaccount1.Tables'. Make sure to only use property names that are defined by the type.

smagnetize avatar Nov 11 '22 10:11 smagnetize

Hi, is there any updates or mitigation way for this issue? I have met the same problem for the Durable Functions tests.

nytian avatar Oct 10 '23 19:10 nytian

Following up with Naiyuan directly on the repro.

edwin-huber avatar Oct 11 '23 11:10 edwin-huber

+1

brainded avatar Mar 26 '24 00:03 brainded