spring-cloud-gateway icon indicating copy to clipboard operation
spring-cloud-gateway copied to clipboard

The file uploaded by the client in the mode of transfer encoding: chunked cannot be forwarded correctly by the gateway.

Open goodshred opened this issue 2 years ago • 4 comments

image image image

problem is still exist

Originally posted by @goodshred in https://github.com/spring-cloud/spring-cloud-gateway/issues/2498#issuecomment-1109298991

goodshred avatar May 13 '22 05:05 goodshred

Can you add description for the issue?

shachargiladi avatar May 15 '22 11:05 shachargiladi

Detailed description in this link: https://github.com/spring-cloud/spring-cloud-gateway/issues/2498

The specific description and reference link have been fed back before. They said that they asked me to upgrade the component version. This problem still exists after I upgraded

goodshred avatar May 31 '22 09:05 goodshred

Looking forward to your reply,Thanks very much

goodshred avatar May 31 '22 09:05 goodshred

Looking forward for the fix in cloud gateway as we are also facing this issue after upgrading to latest spring boot version. This issue is preventing us to move to cloud gateway from ZUUL. Our client(C#) uses WebRequest to upload multipart file. Here is the sample snippet HttpWebRequest wr = (HttpWebRequest)WebRequest.Create(uploadUrl); wr.SendChunked = true; // This is creating problem in spring cloud gateway. Same code used to work in ZUUL. We tried different work around suggested but none of it works. PS: Multipart file upload using HttpClient is working fine.

trivikram-bh avatar Aug 30 '22 09:08 trivikram-bh

Closing in favor of the original issue #2498

ryanjbaxter avatar Jan 29 '24 16:01 ryanjbaxter