We used qiniu's storage service, but did not use qiniu's client sdk. Our process is to upload to our own server first and then upload to Qiniu. 10% of requests uploaded to our server resulted in 499. After tracking the logs, I feel that the client has disconnected before all the images are uploaded to nginx. I don’t know if Qiniu has this kind of problem, and if so, how to deal with it.
According to your description, if the client actively disconnects, it is possible that the response timeout is too short, causing the client to be disconnected without receiving a response for a long time; such a suggestion is to increase the timeout, or use Multipart upload divides a large file into multiple parts and resumes the upload so that the client does not wait for a long time for the upload response.