Skip to content

Microsoft.WindowsAzure.Storage: Server encountered an internal error. Is Back #1529

@MrTortoise

Description

@MrTortoise

storage emulator 5.10.0.0
Azure Functions Core Tools (2.7.1575 Commit hash: 7750e771a4e56352c767dfa16413ec9c79b72ba)
Function Runtime Version: 2.0.12625.0

Things were working, today they are not.

I am seeing

Exception thrown: 'Microsoft.WindowsAzure.Storage.StorageException' in System.Private.CoreLib.dll
Exception thrown: 'Microsoft.WindowsAzure.Storage.StorageException' in Microsoft.Azure.WebJobs.Extensions.Storage.dll
Exception thrown: 'Microsoft.WindowsAzure.Storage.StorageException' in System.Private.CoreLib.dll
Exception thrown: 'Microsoft.WindowsAzure.Storage.StorageException' in System.Private.CoreLib.dll
Exception thrown: 'Microsoft.WindowsAzure.Storage.StorageException' in System.Private.CoreLib.dll
Exception thrown: 'Microsoft.WindowsAzure.Storage.StorageException' in System.Private.CoreLib.dll

in the output in vs.

Got frustrated, reinstalled storage emulator, removed entirety of vs and reinstalled it.

The fix described in Azure/azure-functions-host#3795 doesnt work
(although the number of errors increase - as per this output).

The behaviour is it starts, then after time blows. Seems to also blow if you trigger the blob storage trigger.

If I comment out a function with this signature all starts to work.

[FunctionName("StorageMonitor")] public static async Task Run( [BlobTrigger("uploadedfiles/{name}", Connection = "Summize")]CloudBlockBlob cloudBlockBlob, string name, [OrchestrationClient]DurableOrchestrationClient starter, [StorageAccount("SummizeUploaded")]CloudStorageAccount uploadedFiles, ExecutionContext context) {

UPDATED

now the error messages go away in output - fails int he same way though, no stack trace or anythign helpful in the console.

noticed it atampts to load
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\johnn\AppData\Local\AzureFunctionsTools\Releases\2.32.0\cli\System.IO.MemoryMappedFiles.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\johnn\AppData\Local\AzureFunctionsTools\Releases\2.32.0\cli\System.IO.Compression.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
as it dies

UPDATED2:
tried going back down to 5.9 of storage emulator, clear all, init and see. No difference.
Still no errors in vs output since upgrading to latest of above package

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions