Title: storage: "Failed to parse Content-Range header" when chunk-size upload is used · Issue #720 · googleapis/google-cloud-java · GitHub
Open Graph Title: storage: "Failed to parse Content-Range header" when chunk-size upload is used · Issue #720 · googleapis/google-cloud-java
X Title: storage: "Failed to parse Content-Range header" when chunk-size upload is used · Issue #720 · googleapis/google-cloud-java
Description: Here is the log: Caused by: com.google.gcloud.storage.StorageException: 400 Bad Request Failed to parse Content-Range header. at com.google.gcloud.spi.DefaultStorageRpc.translate(DefaultStorageRpc.java:94) at com.google.gcloud.spi.Defaul...
Open Graph Description: Here is the log: Caused by: com.google.gcloud.storage.StorageException: 400 Bad Request Failed to parse Content-Range header. at com.google.gcloud.spi.DefaultStorageRpc.translate(DefaultStorageRpc....
X Description: Here is the log: Caused by: com.google.gcloud.storage.StorageException: 400 Bad Request Failed to parse Content-Range header. at com.google.gcloud.spi.DefaultStorageRpc.translate(DefaultStorageRpc....
Opengraph URL: https://github.com/googleapis/google-cloud-java/issues/720
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"storage: \"Failed to parse Content-Range header\" when chunk-size upload is used","articleBody":"Here is the log:\n\nCaused by: com.google.gcloud.storage.StorageException: 400 Bad Request\nFailed to parse Content-Range header.\n at com.google.gcloud.spi.DefaultStorageRpc.translate(DefaultStorageRpc.java:94)\n at com.google.gcloud.spi.DefaultStorageRpc.write(DefaultStorageRpc.java:499)\n at com.google.gcloud.storage.BlobWriteChannel$1.run(BlobWriteChannel.java:49)\n at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n at com.google.gcloud.RetryHelper.doRetry(RetryHelper.java:181)\n at com.google.gcloud.RetryHelper.runWithRetries(RetryHelper.java:247)\n at com.google.gcloud.RetryHelper.runWithRetries(RetryHelper.java:237)\n at com.google.gcloud.storage.BlobWriteChannel.flushBuffer(BlobWriteChannel.java:46)\n at com.google.gcloud.BaseWriteChannel.close(BaseWriteChannel.java:147)\n\nIf I uploaded a file with size is exactly 2 x 1024 x 1024, and 1024 x 1024 as the chunk size, then I'll get above exception. However, if I changed the file size to 2 x 1024 x 1024 + 1, then the problem will go away.\n\nApparently, there is a bug in BlobWriteChannel-\u003eflushbuffer, if there is no data available, then there is no need to call options().rpc().write.\n","author":{"url":"https://github.com/sudison","@type":"Person","name":"sudison"},"datePublished":"2016-03-07T00:58:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/720/google-cloud-java/issues/720"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:cf7492b5-f17d-dc7a-eeaa-e2b5ff94643e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B726:B008A:16E537B:1FE2113:6A4DF7E4 |
| html-safe-nonce | f21fad125cf7f8d35af980a890cb881347f0abb55f6a2fe2f7a51a63424e6149 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzI2OkIwMDhBOjE2RTUzN0I6MUZFMjExMzo2QTRERjdFNCIsInZpc2l0b3JfaWQiOiIyNDE1Njc3NDE1MDg4ODQ2ODIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a08ac9d594b6803d480f568e2955cfb891bc1c992917bd2c332aaab3b85aef86 |
| hovercard-subject-tag | issue:138856667 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-java/720/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f43ee681788d6d1e2040751d7bd2cb90c4de7a2213e549a88c7c8452d88b2254/googleapis/google-cloud-java/issues/720 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f43ee681788d6d1e2040751d7bd2cb90c4de7a2213e549a88c7c8452d88b2254/googleapis/google-cloud-java/issues/720 |
| og:image:alt | Here is the log: Caused by: com.google.gcloud.storage.StorageException: 400 Bad Request Failed to parse Content-Range header. at com.google.gcloud.spi.DefaultStorageRpc.translate(DefaultStorageRpc.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sudison |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5818716c93c6a2925b815402541a32814e43a7b1261c322b0c2df75224289566 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-java git https://github.com/googleapis/google-cloud-java.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 26181278 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 26181278 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4314b1df11fa8a565684f3a72dc971e3785da365 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width