dropbox / dbxcli

A command line client for Dropbox built using the Go SDK
Other
1.04k stars 102 forks source link

Error when uploading a large file #185

Open xinyuwang1209 opened 2 years ago

xinyuwang1209 commented 2 years ago

File size is ~4.9GB. The error occurred during ~2GB/4.9GB I used the option --verbose and got the following outputs:

... 2022/04/11 01:04:00 sdk.go:94: resp: &{200 OK 200 HTTP/2.0 2 0 map[X-Server-Response-Time:[862] Content-Type:[application/json] Date:[Mon, 11 Apr 2022 05:03:59 GMT] Server:[envoy] Content-Length:[4] Strict-Transport-Security:[max-age=31536000; includeSubDomains; preload] Cache-Control:[no-cache] X-Content-Type-Options:[nosniff] X-Dropbox-Response-Origin:[far_remote] X-Dropbox-Request-Id:[...] Accept-Encoding:[identity,gzip] X-Robots-Tag:[noindex, nofollow, noimageindex]] 0xc000369ca0 4 [] false false map[] ... ...} 2022/04/11 01:04:00 sdk.go:94: body: null 2022/04/11 01:04:00 sdk.go:94: arg: &{0xc000369ea0 false} 2022/04/11 01:04:00 sdk.go:94: req: &{POST https://content.dropboxapi.com/2/files/upload_session/append_v2 HTTP/1.1 1 1 map[Content-Type:[application/octet-stream] Dropbox-Api-Arg:[{"cursor":{"session_id":"pid_upload_session:...","offset":1929379840},"close":false}]] {...} 0 [] false content.dropboxapi.com map[] map[] map[] } 2022/04/11 01:04:00 sdk.go:94: resp: &{500 Internal Server Error 500 HTTP/2.0 2 0 map[X-Dropbox-Response-Origin:[far_remote] X-Dropbox-Request-Id:[...] Content-Type:[application/grpc] Date:[Mon, 11 Apr 2022 05:04:00 GMT] Server:[envoy] Content-Length:[0] Strict-Transport-Security:[max-age=31536000; includeSubDomains; preload] X-Robots-Tag:[noindex, nofollow, noimageindex]] ... 0 [] false false map[] ... ...} 2022/04/11 01:04:00 sdk.go:94: body: Error:

slavik-r commented 2 years ago

Exactly the same has been happening for me for about a month. The HTTP 500 error happens at random point in time and at random upload progress

neiron-guimaraes commented 2 years ago

Same here, dbxcli version: v3.0.0, SDK version: 5.4.0, Spec version: 097e9ba

Ends with output "Error: " with blank error message.

pocumoy commented 1 year ago

We are experiencing exactly the same issue. Any update on this?