Azure Appserice 502 when upload large file [Answered]
I have config my local project to accept large and test swagger locally fine
But when upload to appserivce it always give me 502
8 Replies
Are you using free shared subscription
since you are uploading files, appservice probably blocking it or memory requirement is not enough for operation
Yeah was uploading 191mb video to it
I think it's timeout
I'm trying to switch to Azure Function approach but this hit hard
https://stackoverflow.com/questions/46254294/how-to-upload-a-large-file-through-an-azure-function
I think i kinda found the solution
Stack Overflow
How to upload a large file through an Azure function?
I am exploring Azure Functions. The scenarios I have tested so far work great.
I am at a point where I am trying to figure out a way to upload files (20MB+) through an Azure Function.
The idea i...
I was using azure blob storage and upload with MemoryStream, it was working fine on free subscription. You can try to use stream it might help memory issue and might prevent 502 error for single requests
What he's doing is using the FrontEnd to send the large file
I think the client sending video would be a lot safer
✅ This post has been marked as answered!