Comments (3)
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage.
from azure-sdk-for-net.
I few things to consider. I investigated a bit and I found that we don't read the whole stream to the end in the middleware that I mentioned. We fail on this line httpContext.Request.EnableBuffering();
because of Kestrel limitations for big files (limitation disable only on action level). But CanSeek
property of the stream will be true
.
So, it seems like we try to read stream in the middleware, we fail and then we try to read it using MultipartReader
in controller and save in Blob. When we use UploadAsync
we see that "exceed Content-Length" error. When we try to use OpenWriteAsync
the uploading works but it super slow.
I removed middleware and now it works well with both UploadAsync
and OpenWriteAsync
, I would say that the request stream corrupted considering issues in our middlware. But with the same middleware I still can save the file locally without any issues using MultimartReader
and native FileStream
. Which still makes me feel that something goes wrong with Azure Blob SDK.
from azure-sdk-for-net.
@alexanderbikk, Azure.Blob.Storage 12.7 is 4 years old. I recommend upgrading to our latest GA version Azure.Storage.Blobs v12.19.1, and see if this resolves the issue. We are not allowed to have breaking changes, so the upgrade should be straightforward.
from azure-sdk-for-net.
Related Issues (20)
- Update Embedding Type to Support Narrow Data Types HOT 1
- [BUG] Activity.Tags not exported to customDimensions HOT 6
- [FEATURE REQ] Remove package reference workaround after Azure.Core new release
- Create an interface `IJsonModel` in `System.ClientModel` library
- [FEATURE REQ] Get rid of hardcoded OpenAI-endpoint in OpenAIClient HOT 3
- [BUG]Azure OpenAI library is failed in MAUI HOT 6
- [BUG] Azure.AI.OpenAI.Assistants - I'm not able to ask question about the content of a file uploaded in the Storage HOT 2
- [BUG] Azure Function with Event Hub trigger and `EventData` as argument, fails with serialization error HOT 1
- [BUG] Not overwrite in updateasync HOT 1
- Units not specified for buffer size HOT 1
- [BUG] Equality failures due to implicit cast on RequestFailedException.ErrorCode HOT 1
- Azure Maps SDK for Unity? HOT 1
- Documentation should mention about the parameter value in GetPageRangesDiffOptions HOT 1
- [BUG] Error while trying to access keys stored in Azure KeyVault HOT 15
- ClientModel: ClientRetryPolicy should consider `retry-after` header HOT 1
- [FEATURE REQ] Upgrade Azure.AI.OpenAI.Assistants to support latest API HOT 4
- Invalid URI: The format of the URI could not be determined HOT 1
- [BUG] Azure.Identity has a dependency to Windows.Forms (due to older MSAL) for all Windows builds HOT 3
- [FEATURE REQ] Azure.AI.OpenAI `include_usage` in chat completion options HOT 2
- Error uploading file when using Azure.AI.OpenAI.Assistants HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-for-net.