ThreeMammals / Ocelot

.NET API Gateway
https://www.nuget.org/packages/Ocelot
MIT License
8.36k stars 1.64k forks source link

Upload big file but return 499 Client Closed Request #1584

Closed zrf518 closed 4 months ago

zrf518 commented 2 years ago

There is a question:

use postman/swagger to upload large files directly succeeded. But when using the gateway Ocelot, it returns 499.

The gateway module is also configured with large file upload. my NetCore is 3.1 and Ocelot is 16.0.1.

Why? How to deal with it,Tks!!! image

ks1990cn commented 1 year ago

Hi,

@zrf518 can you please explain how you have configured to accept large file upload & please us know hosting environment on which you faced this issue.

Issue https://github.com/ThreeMammals/Ocelot/issues/749 and I also tried that above 30MB file upload we get 404, so I raised PR for status code 413.

raman-m commented 12 months ago

@zrf518 Are you still with Ocelot?

raman-m commented 4 months ago

Outdated issue :exclamation:

@zrf518 You have to upgrade your solution to the latest Ocelot version 23.3.0, and try to reproduce the bug once again. We believe this problem should not be in latest versions.

You have the right to reopen this issue in the future if you come with a PR ready.