search

Home  >  Q&A  >  body text

Cloud Storage - How does qiniu's client sdk handle nginx 499?

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.

習慣沉默習慣沉默2778 days ago607

reply all(1)I'll reply

  • 阿神

    阿神2017-05-16 17:26:11

    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.

    reply
    0
  • Cancelreply