Azure / azure-webjobs-sdk

Azure WebJobs SDK
MIT License
737 stars 358 forks source link

Microsoft.WindowsAzure.Storage.StorageException in System.Private.CoreLib.dll #1864

Open richardrobberse opened 6 years ago

richardrobberse commented 6 years ago

Whenever create and debug a timer trigger function (latest beta) I'm getting a Microsoft.WindowsAzure.Storage.StorageException.

Repro steps

Sometimes it seems to not throw the exception, but whenever you set a breakpoint in the function it does throw the exception.

This reproduces on two machines.

Expected behavior

Running the function shouldn't produce storage exceptions right away, since I'm not even doing something with storage.

Known workarounds

EDIT: Downgrading to 1.0.13 seems to help.

Related information

I've tried downgrading the Microsoft.NET.Sdk.Functions to 1.0.14 but that doesn't help either.

Provide any related information

A quick reply would be appreciated, I'm kind of blocked at the moment...

KSib commented 5 years ago

This still seems to be a problem. Using functions with .NET Core I'm assuming is in preview. I'll stick with Azure Functions using .NET Framework 4.6.1 for now

masudbs23 commented 5 years ago

I am getting same problem but no solution is found. Please help regarding this issue. I am using .Net Core 2.1

PaulSKaplan commented 5 years ago

I've found this to be intermittent, running the same project in the VS2017 debugger more than once with no changes. It also seems to be an issue whether or not I've set breakpoints. It does not reproduce if I publish same to an Azure WebJob.