Azure / Azure/azure-functions-host

Strange sporadic assembly load failure messages

Open
#2,200 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

We're seeing function logs with assembly load failures like:

System.AggregateException : One or more errors occurred. ---> **Could not load file or assembly '3072 bytes loaded** from Microsoft.Azure.AppService.Proxy.Common, Version=0.3.0.0, Culture=neutral, PublicKey[Hidden Credential]<---

The issue is that "name" portion of the format string is not an assembly name, but a "bytes read" message of some sort. This is not specific to the above assembly, that's just an example.

@paulbatum recently saw many occurrences of this in our system logs for placeholder sites. The theory is that this is a sporadic failure, and the frequency of placeholder restarts/recompilations causes it to happen alot.

Contributor guide

Open the contributing guide

Research direction

Search the repository for the assembly-load failure formatting and the “bytes loaded” text, then investigate whether placeholder-site restarts or recompilations reproduce the sporadic message. Done means assembly-load failures report the assembly name correctly instead of substituting a bytes-read message.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.