jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Anyona (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-1416) Cache-Control header is not supported or allowed with B2 upload
Date Wed, 01 Aug 2018 10:37:00 GMT

    [ https://issues.apache.org/jira/browse/JCLOUDS-1416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16565110#comment-16565110
] 

Timothy Anyona commented on JCLOUDS-1416:
-----------------------------------------

Were you able to verify this from a web application?

> Cache-Control header is not supported or allowed with B2 upload
> ---------------------------------------------------------------
>
>                 Key: JCLOUDS-1416
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1416
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-blobstore
>    Affects Versions: 2.1.0
>            Reporter: Timothy Anyona
>            Priority: Major
>         Attachments: b2web.zip
>
>
> I posted this on stackoverflow but couldn't include debug logs as stackoverflow indicated
that the question was mostly code.
> With the following code using the "b2" provider,
> {noformat}
> Iterable<Module> modules = ImmutableSet.<Module>of(
>                 new SLF4JLoggingModule());
> BlobStoreContext context = ContextBuilder.newBuilder(provider)
>         .credentials(identity, credential)
>         .modules(modules)
>         .buildView(BlobStoreContext.class);
>         
> BlobStore blobStore = context.getBlobStore();
> ByteSource payload = Files.asByteSource(localFile);
> PayloadBlobBuilder blobBuilder = blobStore.blobBuilder(remoteFileName)
>         .payload(payload)
>         .contentLength(payload.size());
>         
> Blob blob = blobBuilder.build();
>         
> String eTag = blobStore.putBlob(containerName, blob);
> {noformat}
>  
> I get the following error
> {noformat}
> java.lang.IllegalArgumentException: Cache-Control header is not supported or allowed
>     at org.jclouds.b2.handlers.ParseB2ErrorFromJsonContent.refineException(ParseB2ErrorFromJsonContent.java:45)
>     at org.jclouds.b2.handlers.ParseB2ErrorFromJsonContent.handleError(ParseB2ErrorFromJsonContent.java:58)
>     at org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:65)
>     at org.jclouds.http.internal.BaseHttpCommandExecutorService.shouldContinue(BaseHttpCommandExecutorService.java:138)
>     at org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:107)
>     at org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:91)
>     at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:74)
>     at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:45)
>     at org.jclouds.reflect.FunctionalReflection$FunctionalInvocationHandler.handleInvocation(FunctionalReflection.java:117)
>     at com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:87)
>     at com.sun.proxy.$Proxy513.uploadFile(Unknown Source)
>     at org.jclouds.b2.blobstore.B2BlobStore.putBlob(B2BlobStore.java:242)
>     at org.jclouds.b2.blobstore.B2BlobStore.putBlob(B2BlobStore.java:223)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:498)
>     at com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:37)
>     at com.sun.proxy.$Proxy498.putBlob(Unknown Source)
>     at art.jobrunners.ReportJob.sendFileToBlobStorage(ReportJob.java:880)
>     at art.jobrunners.ReportJob.sendFileToB2(ReportJob.java:689)
>     at art.jobrunners.ReportJob.sendFileToDestinations(ReportJob.java:477)
>     at art.jobrunners.ReportJob.execute(ReportJob.java:309)
>     at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
> Caused by: org.jclouds.b2.B2ResponseException: request POST https://pod-000-1094-12.backblaze.com/b2api/v1/b2_upload_file/xxxx/c002_v0001094_t0028
HTTP/1.1 failed with code 400, error: B2Error\{code=bad_request, message=Cache-Control header
is not supported or allowed, status=400}
>     ... 24 common frames omitted
> {noformat}
> The following is the wire and headers logging. Cache-control is not included in any of
the request headers so perhaps B2 is reporting the error incorrectly?
> {noformat}
> [DEBUG] 07-May-2018 17:04:32.095 |ArtScheduler_Worker-1| org.jclouds.rest.internal.InvokeHttpMethod
- >> invoking b2_list_buckets
> [DEBUG] 07-May-2018 17:04:32.391 |ArtScheduler_Worker-1| org.jclouds.rest.internal.InvokeHttpMethod
- >> invoking b2_authorize_account
> [DEBUG] 07-May-2018 17:04:32.618 |ArtScheduler_Worker-1| org.jclouds.http.internal.JavaUrlHttpCommandExecutorService
- Sending request -726030843: GET https://api.backblazeb2.com/b2api/v1/b2_authorize_account
HTTP/1.1
> [DEBUG] 07-May-2018 17:04:32.619 |ArtScheduler_Worker-1| jclouds.headers - >> GET
https://api.backblazeb2.com/b2api/v1/b2_authorize_account HTTP/1.1
> [DEBUG] 07-May-2018 17:04:32.620 |ArtScheduler_Worker-1| jclouds.headers - >> Accept:
application/json
> [DEBUG] 07-May-2018 17:04:32.622 |ArtScheduler_Worker-1| jclouds.headers - >> Authorization:
Basic xxxx
> [DEBUG] 07-May-2018 17:04:34.534 |ArtScheduler_Worker-1| org.jclouds.http.internal.JavaUrlHttpCommandExecutorService
- Receiving response -726030843: HTTP/1.1 200 OK
> [DEBUG] 07-May-2018 17:04:34.535 |ArtScheduler_Worker-1| jclouds.headers - << HTTP/1.1
200 OK
> [DEBUG] 07-May-2018 17:04:34.536 |ArtScheduler_Worker-1| jclouds.headers - << Server:
Apache-Coyote/1.1
> [DEBUG] 07-May-2018 17:04:34.537 |ArtScheduler_Worker-1| jclouds.headers - << Date:
Mon, 07 May 2018 14:04:51 GMT
> [DEBUG] 07-May-2018 17:04:34.538 |ArtScheduler_Worker-1| jclouds.headers - << Cache-Control:
max-age=0, no-cache, no-store
> [DEBUG] 07-May-2018 17:04:34.540 |ArtScheduler_Worker-1| jclouds.headers - << Content-Type:
application/json;charset=UTF-8
> [DEBUG] 07-May-2018 17:04:34.541 |ArtScheduler_Worker-1| jclouds.headers - << Content-Length:
354
> [DEBUG] 07-May-2018 17:04:34.648 |ArtScheduler_Worker-1| jclouds.wire - << "{[\n]"
> [DEBUG] 07-May-2018 17:04:34.649 |ArtScheduler_Worker-1| jclouds.wire - << "  "absoluteMinimumPartSize":
5000000,[\n]"
> [DEBUG] 07-May-2018 17:04:34.650 |ArtScheduler_Worker-1| jclouds.wire - << "  "accountId":
"xxxx",[\n]"
> [DEBUG] 07-May-2018 17:04:34.651 |ArtScheduler_Worker-1| jclouds.wire - << "  "apiUrl":
"https://api002.backblazeb2.com",[\n]"
> [DEBUG] 07-May-2018 17:04:34.652 |ArtScheduler_Worker-1| jclouds.wire - << "  "authorizationToken":
"xxxx",[\n]"
> [DEBUG] 07-May-2018 17:04:34.653 |ArtScheduler_Worker-1| jclouds.wire - << "  "downloadUrl":
"https://f002.backblazeb2.com",[\n]"
> [DEBUG] 07-May-2018 17:04:34.654 |ArtScheduler_Worker-1| jclouds.wire - << "  "minimumPartSize":
100000000,[\n]"
> [DEBUG] 07-May-2018 17:04:34.655 |ArtScheduler_Worker-1| jclouds.wire - << "  "recommendedPartSize":
100000000[\n]"
> [DEBUG] 07-May-2018 17:04:34.656 |ArtScheduler_Worker-1| jclouds.wire - << "}[\n]"
> [DEBUG] 07-May-2018 17:04:34.911 |ArtScheduler_Worker-1| org.jclouds.http.internal.JavaUrlHttpCommandExecutorService
- Sending request 1508558363: POST https://api002.backblazeb2.com/b2api/v1/b2_list_buckets
HTTP/1.1
> [DEBUG] 07-May-2018 17:04:34.912 |ArtScheduler_Worker-1| jclouds.wire - >> "\{"accountId":"xxxx"}"
> [DEBUG] 07-May-2018 17:04:34.916 |ArtScheduler_Worker-1| jclouds.headers - >> POST
https://api002.backblazeb2.com/b2api/v1/b2_list_buckets HTTP/1.1
> [DEBUG] 07-May-2018 17:04:34.917 |ArtScheduler_Worker-1| jclouds.headers - >> Accept:
application/json
> [DEBUG] 07-May-2018 17:04:34.918 |ArtScheduler_Worker-1| jclouds.headers - >> Authorization:
xxxx
> [DEBUG] 07-May-2018 17:04:34.920 |ArtScheduler_Worker-1| jclouds.headers - >> Content-Type:
application/json
> [DEBUG] 07-May-2018 17:04:34.921 |ArtScheduler_Worker-1| jclouds.headers - >> Content-Length:
28
> [DEBUG] 07-May-2018 17:04:36.610 |ArtScheduler_Worker-1| org.jclouds.http.internal.JavaUrlHttpCommandExecutorService
- Receiving response 1508558363: HTTP/1.1 200 OK
> [DEBUG] 07-May-2018 17:04:36.612 |ArtScheduler_Worker-1| jclouds.headers - << HTTP/1.1
200 OK
> [DEBUG] 07-May-2018 17:04:36.613 |ArtScheduler_Worker-1| jclouds.headers - << Server:
Apache-Coyote/1.1
> [DEBUG] 07-May-2018 17:04:36.614 |ArtScheduler_Worker-1| jclouds.headers - << Date:
Mon, 07 May 2018 14:04:53 GMT
> [DEBUG] 07-May-2018 17:04:36.615 |ArtScheduler_Worker-1| jclouds.headers - << Cache-Control:
max-age=0, no-cache, no-store
> [DEBUG] 07-May-2018 17:04:36.616 |ArtScheduler_Worker-1| jclouds.headers - << Content-Type:
application/json;charset=UTF-8
> [DEBUG] 07-May-2018 17:04:36.617 |ArtScheduler_Worker-1| jclouds.headers - << Content-Length:
276
> [DEBUG] 07-May-2018 17:04:36.617 |ArtScheduler_Worker-1| jclouds.wire - << "{[\n]"
> [DEBUG] 07-May-2018 17:04:36.617 |ArtScheduler_Worker-1| jclouds.wire - << "  "buckets":
[[\n]"
> [DEBUG] 07-May-2018 17:04:36.618 |ArtScheduler_Worker-1| jclouds.wire - << "  
 {[\n]"
> [DEBUG] 07-May-2018 17:04:36.618 |ArtScheduler_Worker-1| jclouds.wire - << "  
   "accountId": "xxxx",[\n]"
> [DEBUG] 07-May-2018 17:04:36.619 |ArtScheduler_Worker-1| jclouds.wire - << "  
   "bucketId": "xxxx",[\n]"
> [DEBUG] 07-May-2018 17:04:36.619 |ArtScheduler_Worker-1| jclouds.wire - << "  
   "bucketInfo": {},[\n]"
> [DEBUG] 07-May-2018 17:04:36.620 |ArtScheduler_Worker-1| jclouds.wire - << "  
   "bucketName": "xxxx",[\n]"
> [DEBUG] 07-May-2018 17:04:36.620 |ArtScheduler_Worker-1| jclouds.wire - << "  
   "bucketType": "allPrivate",[\n]"
> [DEBUG] 07-May-2018 17:04:36.620 |ArtScheduler_Worker-1| jclouds.wire - << "  
   "corsRules": [],[\n]"
> [DEBUG] 07-May-2018 17:04:36.621 |ArtScheduler_Worker-1| jclouds.wire - << "  
   "lifecycleRules": [],[\n]"
> [DEBUG] 07-May-2018 17:04:36.621 |ArtScheduler_Worker-1| jclouds.wire - << "  
   "revision": 2[\n]"
> [DEBUG] 07-May-2018 17:04:36.621 |ArtScheduler_Worker-1| jclouds.wire - << "  
 }[\n]"
> [DEBUG] 07-May-2018 17:04:36.622 |ArtScheduler_Worker-1| jclouds.wire - << "  ][\n]"
> [DEBUG] 07-May-2018 17:04:36.622 |ArtScheduler_Worker-1| jclouds.wire - << "}[\n]"
> [DEBUG] 07-May-2018 17:04:36.908 |ArtScheduler_Worker-1| org.jclouds.rest.internal.InvokeHttpMethod
- >> invoking b2_list_file_names
> [DEBUG] 07-May-2018 17:04:36.914 |ArtScheduler_Worker-1| org.jclouds.http.internal.JavaUrlHttpCommandExecutorService
- Sending request 727335926: GET https://api002.backblazeb2.com/b2api/v1/b2_list_file_names
HTTP/1.1
> [DEBUG] 07-May-2018 17:04:36.915 |ArtScheduler_Worker-1| jclouds.wire - >> "\{"bucketId":"xxxx","startFileName":"b2-2018_05_07-17_03_53_319-xZuB4-1-134.pdf","maxFileCount":1}"
> [DEBUG] 07-May-2018 17:04:36.917 |ArtScheduler_Worker-1| jclouds.headers - >> GET
https://api002.backblazeb2.com/b2api/v1/b2_list_file_names HTTP/1.1
> [DEBUG] 07-May-2018 17:04:36.917 |ArtScheduler_Worker-1| jclouds.headers - >> Accept:
application/json
> [DEBUG] 07-May-2018 17:04:36.918 |ArtScheduler_Worker-1| jclouds.headers - >> Authorization:
xxxx
> [DEBUG] 07-May-2018 17:04:36.919 |ArtScheduler_Worker-1| jclouds.headers - >> Content-Type:
application/json
> [DEBUG] 07-May-2018 17:04:36.920 |ArtScheduler_Worker-1| jclouds.headers - >> Content-Length:
117
> [DEBUG] 07-May-2018 17:04:37.248 |ArtScheduler_Worker-1| org.jclouds.http.internal.JavaUrlHttpCommandExecutorService
- Receiving response 727335926: HTTP/1.1 200 OK
> [DEBUG] 07-May-2018 17:04:37.250 |ArtScheduler_Worker-1| jclouds.headers - << HTTP/1.1
200 OK
> [DEBUG] 07-May-2018 17:04:37.251 |ArtScheduler_Worker-1| jclouds.headers - << Server:
Apache-Coyote/1.1
> [DEBUG] 07-May-2018 17:04:37.252 |ArtScheduler_Worker-1| jclouds.headers - << Date:
Mon, 07 May 2018 14:04:54 GMT
> [DEBUG] 07-May-2018 17:04:37.253 |ArtScheduler_Worker-1| jclouds.headers - << Cache-Control:
max-age=0, no-cache, no-store
> [DEBUG] 07-May-2018 17:04:37.254 |ArtScheduler_Worker-1| jclouds.headers - << Content-Type:
application/json;charset=UTF-8
> [DEBUG] 07-May-2018 17:04:37.255 |ArtScheduler_Worker-1| jclouds.headers - << Content-Length:
42
> [DEBUG] 07-May-2018 17:04:37.256 |ArtScheduler_Worker-1| jclouds.wire - << "{[\n]"
> [DEBUG] 07-May-2018 17:04:37.256 |ArtScheduler_Worker-1| jclouds.wire - << "  "files":
[],[\n]"
> [DEBUG] 07-May-2018 17:04:37.257 |ArtScheduler_Worker-1| jclouds.wire - << "  "nextFileName":
null[\n]"
> [DEBUG] 07-May-2018 17:04:37.257 |ArtScheduler_Worker-1| jclouds.wire - << "}[\n]"
> [DEBUG] 07-May-2018 17:04:37.349 |ArtScheduler_Worker-1| org.jclouds.rest.internal.InvokeHttpMethod
- >> invoking b2_get_upload_url
> [DEBUG] 07-May-2018 17:04:37.353 |ArtScheduler_Worker-1| org.jclouds.http.internal.JavaUrlHttpCommandExecutorService
- Sending request 1717710274: POST https://api002.backblazeb2.com/b2api/v1/b2_get_upload_url
HTTP/1.1
> [DEBUG] 07-May-2018 17:04:37.353 |ArtScheduler_Worker-1| jclouds.wire - >> "\{"bucketId":"xxxx"}"
> [DEBUG] 07-May-2018 17:04:37.355 |ArtScheduler_Worker-1| jclouds.headers - >> POST
https://api002.backblazeb2.com/b2api/v1/b2_get_upload_url HTTP/1.1
> [DEBUG] 07-May-2018 17:04:37.356 |ArtScheduler_Worker-1| jclouds.headers - >> Accept:
application/json
> [DEBUG] 07-May-2018 17:04:37.357 |ArtScheduler_Worker-1| jclouds.headers - >> Authorization:
xxxx
> [DEBUG] 07-May-2018 17:04:37.357 |ArtScheduler_Worker-1| jclouds.headers - >> Content-Type:
application/json
> [DEBUG] 07-May-2018 17:04:37.358 |ArtScheduler_Worker-1| jclouds.headers - >> Content-Length:
39
> [DEBUG] 07-May-2018 17:04:37.669 |ArtScheduler_Worker-1| org.jclouds.http.internal.JavaUrlHttpCommandExecutorService
- Receiving response 1717710274: HTTP/1.1 200 OK
> [DEBUG] 07-May-2018 17:04:37.670 |ArtScheduler_Worker-1| jclouds.headers - << HTTP/1.1
200 OK
> [DEBUG] 07-May-2018 17:04:37.671 |ArtScheduler_Worker-1| jclouds.headers - << Server:
Apache-Coyote/1.1
> [DEBUG] 07-May-2018 17:04:37.671 |ArtScheduler_Worker-1| jclouds.headers - << Date:
Mon, 07 May 2018 14:04:54 GMT
> [DEBUG] 07-May-2018 17:04:37.672 |ArtScheduler_Worker-1| jclouds.headers - << Cache-Control:
max-age=0, no-cache, no-store
> [DEBUG] 07-May-2018 17:04:37.673 |ArtScheduler_Worker-1| jclouds.headers - << Content-Type:
application/json;charset=UTF-8
> [DEBUG] 07-May-2018 17:04:37.674 |ArtScheduler_Worker-1| jclouds.headers - << Content-Length:
289
> [DEBUG] 07-May-2018 17:04:37.674 |ArtScheduler_Worker-1| jclouds.wire - << "{[\n]"
> [DEBUG] 07-May-2018 17:04:37.675 |ArtScheduler_Worker-1| jclouds.wire - << "  "authorizationToken":
"xxxx",[\n]"
> [DEBUG] 07-May-2018 17:04:37.675 |ArtScheduler_Worker-1| jclouds.wire - << "  "bucketId":
"xxxx",[\n]"
> [DEBUG] 07-May-2018 17:04:37.676 |ArtScheduler_Worker-1| jclouds.wire - << "  "uploadUrl":
"https://pod-000-1094-12.backblaze.com/b2api/v1/b2_upload_file/xxxx/c002_v0001094_t0028"[\n]"
> [DEBUG] 07-May-2018 17:04:37.676 |ArtScheduler_Worker-1| jclouds.wire - << "}[\n]"
> [DEBUG] 07-May-2018 17:04:37.811 |ArtScheduler_Worker-1| org.jclouds.rest.internal.InvokeHttpMethod
- >> invoking b2_upload_file
> [DEBUG] 07-May-2018 17:04:37.815 |ArtScheduler_Worker-1| org.jclouds.http.internal.JavaUrlHttpCommandExecutorService
- Sending request -1400257214: POST https://pod-000-1094-12.backblaze.com/b2api/v1/b2_upload_file/xxxx/c002_v0001094_t0028
HTTP/1.1
> [DEBUG] 07-May-2018 17:04:37.816 |ArtScheduler_Worker-1| jclouds.wire - >> "%PDF-1.4[\n]"
> [DEBUG] 07-May-2018 17:04:37.817 |ArtScheduler_Worker-1| jclouds.wire - >> "%[0xe2][0xe3][0xcf][0xd3][\n]"
> [DEBUG] 07-May-2018 17:04:37.818 |ArtScheduler_Worker-1| jclouds.wire - >> "3 0
obj[\n]"
> [DEBUG] 07-May-2018 17:04:37.819 |ArtScheduler_Worker-1| jclouds.wire - >> "<</Filter/FlateDecode/Length
1486>>stream[\n]"
> [DEBUG] 07-May-2018 17:04:37.824 |ArtScheduler_Worker-1| jclouds.wire - >> "x[0x9c][0x8d][0x98]]o[0xdb]6[0x14][0x86][0xef][0xfd]+[0xb8][0xde]$[0x5]&[0x95][0xa4]>[0x8d][0x5][0x1d][0xd2][0xa1]-[0x96][0x9b][0xa1][0x88]o[0x6][0x14]([0x14][q[0x1c][0xc7][0x1f][0x95][0xed]v[0xdb][0xaf][0xdd][0xcd][0xfe][0xc2][0xb0][0x9b][0x1][0x13]E[0x9e][0xac]9[0xe4][0xcb][0xa8]Wi[0x9e][0x97][0xca]s[0x8e][0xe4]CZ[0x9f]'of[0x93]J[0x8b]"[0x17][0xb3][0xc5]$[0xcf][0xf3]4[0xcb]D[0xa2]j[0xf3][0xbf]W[0xef][0x94]PZ[0xcc]n'[0xe7][0xea][0xe5][0xec]~[0x92]8,[\r]L[0xfa]EIV[0x9a][0x1f][0xfb][0x9f][0xaa]j[0xf8][0xa5][0x96]e*[0x8b]~}i[0xd7]k[0xa1][0xe4][0xb0][0xfe]Rt[0xed]~[0xd7][0x1d][0x87][0xcb][0xb8][0xd4][0xb0]B[0xfe][0x1f]V[0xa2][0x1e][0xb2][0xc2][0x84][0xe4]#[0xce][0xd4][0xa0][0xf6]v6[0xf9]0[0xf9]<[0x91][0xe9]T,[0x87][0xbf][0xa8]sQ[0x15][0xa9][0xaa]D[0xcf][0xbb]vr[0xeb][0x90][0xca]+[0xf3]K[0x84][0xb5][0xd6][0xa6][0x4][0x88][0xa7]UZ@[0x9a]U:-[0xf1][0xb5][0xf3][0xfe]O[0xd7][0xa1]k[0x1b]q-[0xae][0xfa]j[0xde][0xf7][0xd1]B|[\r][0x15]p[0xed][0x10]([0x80]0([0xe0][0x11][0x7][0xb]
[\n]"
> [DEBUG] 07-May-2018 17:04:37.826 |ArtScheduler_Worker-1| jclouds.wire - >> "[\n]"
> [DEBUG] 07-May-2018 17:04:37.826 |ArtScheduler_Worker-1| jclouds.wire - >> " [0xc][\n]"
> [DEBUG] 07-May-2018 17:04:37.833 |ArtScheduler_Worker-1| jclouds.wire - >> "[0xb8][0xfe]F[0xba[0x1e][0x1c][0xd2]!i[0x80]I[0x1a]a+[\r](I[0x3]L[0xd2][0x0][0x1b]i)[0xa3][0xd2][0x0][0x93]4[0xc2]V[0x1a]P[0x92][0x6][0x98][0xa4][0x1][0xee][0xa5][0xcb][0xba][0x8e]I#[0xec][0xa4]![0x1e][0xa4][0x11]u[0xd2][0x8];i[0x84][0x8d]tUF[0xa5][0x1]&i[0x84][0xad]4[0xa0]$[\r]0I[0x3]l[0xa4][0xcb]<*[\r]0I#l[0xa5][0x1]%i[0x80]I[0x1a]`#[0x9d]Q=[0xba][0xe]I[0x3]L[0xd2][0x8][i@I[0x1a]`[0x92][0x6][0xd8]H[0xeb]x[0xa7][0x1]&i[0x84][0xad]4[0xa0]$[\r]0I[0x3]l[0xa4][0xe3]#[0xf]a[0x92][0x8e][0x8e]<DI:>[0xf2][0x10]6[0xd2][0xf1][0x91][0x87]0IGG[0x1e][0xa2]$[0x1d][0x1f]y[0x8][0x9b]3H|[0xe4]![0xec][0xa4]![0x1e][0xa4][0x11]u[0xd2][0x8];i[0x84][0x8d]t|[0xe4]!L[0xd2][0xd1][0x91][0x87](I[0xc7]G[0x1e][0xc2][0xc3]i[0xaf][0xe]~FI[0x1a]`[0x92]F[0xd8]J[0x3]J[0xd2][0x0][0x93]4[0xc0]F:[0x8b]w[0x1a]`[0x92]F[0xd8]J[0x3]J[0xd2][0x0][0x93]4[0xc0]FZ=NC[0x19][0x92][0x6][0x98][0xa4][0x11][0xb6][0xd2][0x80][0x92]4[0xc0]$[\r][0xb0][0x91][0x96][0xd1]9[0x8d]0I#l[0xa5][0x1]%i[0x80]I[0x1a][0xe0]^:[0xaf][0xf3]X[0xa7][0x11]v[0xd2][0x10][0xf][0xd2][0x88]:i[0x84][0x9d]4[0xc2]F[0xba][0x8a]n.[0x8][0x93]4[0xc2]V[0x1a]P[0x92][0x6][0x98][0xa4][0x1]6[0xd2]etsA[0x98][0xa4][0x11][0xb6][0xd2][0x80][0x92]4[0xc0]$[\r][0xb0][0x91][0xce][0xa3][0x9b][0xb][0xc2]$[0x8d][0xb0][0x95][0x6][0x94][0xa4][0x1]&i[0x80][0x8d]t|[0xe4]!L[0xd2][0xd1][0x91][0x87](I[0xc7]G[0x1e][0xc2]F:~[0xca]C[0x98][0xa4][0xa3][0xa7]<DI:~[0xca][0xf3][0xf1][0x7][0xf3][0xfa]C[0x9][0xf3][0xb6]A[0x9]%{[0xd6]'t)f[0x9b]o[0xdf]^[0xac][0x16][0xe6][0x95][0xc4][0xdb][0xd9][0x93]p[0xa9][0xd2][0xb2][0xe][0x84][0xbf][0xae][0xe]wm[0xf7])[0xb4]Fg:[0x9d]V[0x81]5[0x8b][0xf6]0[0xef]V[0xfb][0xe3]j[0xb7][0xf5]We*KU[0x16]Zuj?-[0x9a]c[0xeb]/[0xc9]e[0x96]J[0x1d][0xac]D[0x7][0xd2]U[0x9d][0xaa]i0[0x9d][0x5][\n]"
> [DEBUG] 07-May-2018 17:04:37.843 |ArtScheduler_Worker-1| jclouds.wire - >> "[0xcf][0xaa]tx[0x13][0x90][0xdb]4[0xbd][0xb6]Q[0x81]z[0x95]N[0xeb][0xe9][0xb8][0xa8][0xae][0xec][0x1b][0x2][0x16][0xbd]nN[0x87]f[0xd9][0x8a][0xf6][0xb0][0xfe]7[0xd0][0x1a][0xa9][0xd3][0xc2]_$Ur[0xb9][0xef][0x12]-e[0x1d][0xa8]6[0xab][0xd3],
[0x15]hL[0xd1]w[0xbe][0x8]\?[0xe0]O][0xe9][0xbb][0xfe][0xdc]U[0xa9]+<[0x1a][0xe8]5u[0x85][0x9e][0xb7]b[0xde][0xb5][0xcd][0x6][0xb6][0x84][0xaf]P:[0xb9]j[0xb6][0xa6]%S[0xdc][0x12][0xbe][0xa8][0xc4]-[0x19]![0xef]ZRN[0xe5][0xf3]u[0xda][0x96]x[0xd1]P[0xf7]lK[0xbc][0xe8]O[0xcd]v[0xf1][0x10][0xf8]([0xd8]~xq%]?[0x94][0x84]E[0x8e][0xd1][0xa1]"[0xab][0xfa]i4[0xc7]E[0xf2]h[0xa4]H[0x1e]EE[0xba][0x1b]8[0xc6][0x82]j[0x1b]aA[0xb5][0x95][0xe5][0xd3]h[0x81]k[0xe3][0xd1]P[0x1b]\m<[0xfa][0xe6][0xd4][0x9d]-[0xdb][0xe][0xde]A[0x9e][0xd7]e[0xf2][0xae][0xbd]y[0xe6][0xe][0x8e][0xf0][0xa1]*[0x8b][0xfc][0xd9][0x87][0x9f][0xaa][0xe4]Q<[0xcf][0xbc][0xe8][0xc5]wIb[0xd2]<[0x97][0xf][0xa2][0xe7][0x17]v[0x1f]x[0xdd]<[0xb4][0xdd][0xf1][0xe3][0xf9][0xd9]o[0x87]C([0x9d][\r]7[0xef]|[0xb5][0xde][0x9d]}|[0xf9][0xc3][0xc5]+[0xb7]J$[0xc9][0xeb][0xd0][0xc3][0x91][0xa5][0xd3]<`[0x1d][0xd0][0xa6][0xbe][0x8d]h[0x6][0xf5]M[0xb3][0x16]W[0xb8]o<[0x8a]'[0x9e][0x17][0xbd]yh[0xee][0xf0]s[0xcf][0xd3]xp[0x8d]q[0xa0][0xca][0xf8][0xd8][0xf]l&T[0x19][0x8f]F[0x9e]{[0x1e]]vm[0xbb][0x16][0xe6][0xdf][0x19]|[0xf6][0xbd][\r][0xae]N[0xae]N[0xf][0xe0][0xd9][0xa7][0xa6][0x8c][0xd0][0xa7][0xa6][0x8c][0xd0][0xa7][0xa6][0xf0][0xc1][0x1f][0xd8]N[0xa8])<[0x1a]i[\n]"
> [DEBUG] 07-May-2018 17:04:37.851 |ArtScheduler_Worker-1| jclouds.wire - >> "[0x8f]v[0xa7][0xc3]a[0xd5][0x84][0xe]C[0xb6]!<[0xdf]7[0xe4][0xf2][0xb4][0x84][\r][0xb1][0x1f][0x0]oO[0xc]dU[0x9f][0xd5][0xfd][0xd7][0xbf][0x80]uzY\[0xa7][0x17]][0xef][0xfa]][0x1c][0x96][0xe9][0xc5][0xfb]2[0xaf][0xdb]}[0xfc][0xbe]\{[0x8b][0xf0]}[0x1f]cN[\r][0xe1][0xfb]EhzPC[0xc6]l[0x86][0xae]!<:[0xbf][m[0xdb][0x3][0xde][0xe2][0xbc][0x5][0x91][0xea]FhPu|[0x9f]P[0xf8][0xdc][0xe6]e#[0xd5][0xf1][0xe8][0xf1][0xd4][0xad][0xfb][0xaf][0x7][0xe2][0xd7][0xd3][0xba][0xe9][0x16]M`[0xb4][0x17][0x85][0x1d][0xed][0x9b][0xe6][0xcb]J,[0xff]/[0x9a]C[0x3][0x92][0xc3][0xcd];[0xff][0xbd][0xf9][0x3]w[0x8b][0xb]D[0xba]5j[0xab][0xb4][0xdd][0xca][0xf8][0xb3][0x80][0x8f]t^6[0xd2]-[0x1e][0xbd]o[0xf6]M[0xfc]a[0xe0]+"[0xe5][0x8d][0xf0][0xa0][0xf2][0xf8][0x16][0xa1][0xf0]a[0xce][0xcb]F[0xca][0xe3][0xd1]E[0xb3]5[0xcf][0xc2][0xdd]?[0xf7][0xe2][0xb6][0xbd][0xb1]'[0x1f][0xbe]F[0xd9][0xa7]a[0xb7][0x14][0x9b][0xbf][0x8e][0xc1]oz[0xae][0x13][0xfc][0xe2][0x91]N[0x8c]P[0xa6]NH[0xde][0x9]|[0xf4][0xf3][0xb2][0x91]N[0xf0]h[0xd3]m[0xda]m?[0xee][0xcd]&[0xf8]#[0xae][0x91]/[0x8b][0xd4]8B[0xc6][0xd5][0x98]O[0xf9][0xb1][0x8][0x1f][0xfc][0xbc],[0xae][0xd1][0x8b]~Y[0xb5][0xc7]m[0xb3][0xe9][0x1f]g[0xf1]f+[0xe6]w[0x81][0xbb][0x9d][0xd7][0xf6][0x10][0xf8][0xf0][0xa7][0xd8][0x1c]a[0x1b][0xbc]+[0xe3]6[0x8c][0xf1][0xa5]6T[0xbc][\r][0xf8][0x1c][0xe7]e[0x3][0x1f[0x92][0xe5]Q|2[0x1b]sU[0x92]-[0xf9]N[0x8e][0x8f]f^[0x16][0x1f]:[0xbd]h[0xf8][0xd0]i[0xf7]f/,U[0xf2][0xcb][0xfc]h[0xf6][0xe6][0xd0]+[0x16][0xd7][0xe][0xbe]([0xd2][0x8e][0x11][0xde][0xd4][0x8e][0x82][0x1f]V[0xf0][0xa1][0xcc][0xcb]F[0xda][0xc1][0xa3][0xf8][0xa3][0xe9]E#u[0x8d][0x10][0xa0][0xba][0xf8][0xcc][0xd6][0xf8][0x10][0xe6]e#[0xcf]$[0x8f]FdG\[0x95]d[0xf9]X[0xd5][0xf8][0x80][0xe4]e[0xf1][0x17]H/[0xfa][0xbe][0xdb][0x9d][0xf6][0xe2][0xc5][0xe5][0xb][0xb7][0xe4]?[0xfe][0xda][0xb5][0x8a][\n]"
> [DEBUG] 07-May-2018 17:04:37.853 |ArtScheduler_Worker-1| jclouds.wire - >> "endstream[\n]"
> [DEBUG] 07-May-2018 17:04:37.854 |ArtScheduler_Worker-1| jclouds.wire - >> "endobj[\n]"
> [DEBUG] 07-May-2018 17:04:37.855 |ArtScheduler_Worker-1| jclouds.wire - >> "5 0
obj[\n]"
> [DEBUG] 07-May-2018 17:04:37.856 |ArtScheduler_Worker-1| jclouds.wire - >> "<</Contents
3 0 R/Type/Page/Resources<</ProcSet [/PDF /Text /ImageB /ImageC /ImageI]/Font<</F1
1 0 R/F2 2 0 R>>>>/Parent 4 0 R/MediaBox[0 0 595 842]>>[\n]"
> [DEBUG] 07-May-2018 17:04:37.856 |ArtScheduler_Worker-1| jclouds.wire - >> "endobj[\n]"
> [DEBUG] 07-May-2018 17:04:37.856 |ArtScheduler_Worker-1| jclouds.wire - >> "1 0
obj[\n]"
> [DEBUG] 07-May-2018 17:04:37.891 |ArtScheduler_Worker-1| jclouds.wire - >> "<</Subtype/Type1/Type/Font/BaseFont/Helvetica/Encoding/WinAnsiEncoding>>[\n]"
> [DEBUG] 07-May-2018 17:04:37.892 |ArtScheduler_Worker-1| jclouds.wire - >> "endobj[\n]"
> [DEBUG] 07-May-2018 17:04:37.893 |ArtScheduler_Worker-1| jclouds.wire - >> "2 0
obj[\n]"
> [DEBUG] 07-May-2018 17:04:37.894 |ArtScheduler_Worker-1| jclouds.wire - >> "<</Subtype/Type1/Type/Font/BaseFont/Helvetica-Bold/Encoding/WinAnsiEncoding>>[\n]"
> [DEBUG] 07-May-2018 17:04:37.895 |ArtScheduler_Worker-1| jclouds.wire - >> "endobj[\n]"
> [DEBUG] 07-May-2018 17:04:37.895 |ArtScheduler_Worker-1| jclouds.wire - >> "4 0
obj[\n]"
> [DEBUG] 07-May-2018 17:04:37.896 |ArtScheduler_Worker-1| jclouds.wire - >> "<</Kids[5
0 R]/Type/Pages/Count 1/ITXT(2.1.7)>>[\n]"
> [DEBUG] 07-May-2018 17:04:37.897 |ArtScheduler_Worker-1| jclouds.wire - >> "endobj[\n]"
> [DEBUG] 07-May-2018 17:04:37.898 |ArtScheduler_Worker-1| jclouds.wire - >> "6 0
obj[\n]"
> [DEBUG] 07-May-2018 17:04:37.898 |ArtScheduler_Worker-1| jclouds.wire - >> "<</Type/Catalog/Pages
4 0 R>>[\n]"
> [DEBUG] 07-May-2018 17:04:37.899 |ArtScheduler_Worker-1| jclouds.wire - >> "endobj[\n]"
> [DEBUG] 07-May-2018 17:04:37.900 |ArtScheduler_Worker-1| jclouds.wire - >> "7 0
obj[\n]"
> [DEBUG] 07-May-2018 17:04:37.901 |ArtScheduler_Worker-1| jclouds.wire - >> "<</ModDate(D:20180507170353+03'00')/CreationDate(D:20180507170353+03'00')/Producer(iText
2.1.7 by 1T3XT)/Author(ART - http://art.sourceforge.net)/Title(A report)>>[\n]"
> [DEBUG] 07-May-2018 17:04:37.902 |ArtScheduler_Worker-1| jclouds.wire - >> "endobj[\n]"
> [DEBUG] 07-May-2018 17:04:37.903 |ArtScheduler_Worker-1| jclouds.wire - >> "xref[\n]"
> [DEBUG] 07-May-2018 17:04:37.904 |ArtScheduler_Worker-1| jclouds.wire - >> "0 8[\n]"
> [DEBUG] 07-May-2018 17:04:37.904 |ArtScheduler_Worker-1| jclouds.wire - >> "0000000000
65535 f [\n]"
> [DEBUG] 07-May-2018 17:04:37.905 |ArtScheduler_Worker-1| jclouds.wire - >> "0000001735
00000 n [\n]"
> [DEBUG] 07-May-2018 17:04:37.906 |ArtScheduler_Worker-1| jclouds.wire - >> "0000001823
00000 n [\n]"
> [DEBUG] 07-May-2018 17:04:37.906 |ArtScheduler_Worker-1| jclouds.wire - >> "0000000015
00000 n [\n]"
> [DEBUG] 07-May-2018 17:04:37.907 |ArtScheduler_Worker-1| jclouds.wire - >> "0000001916
00000 n [\n]"
> [DEBUG] 07-May-2018 17:04:37.908 |ArtScheduler_Worker-1| jclouds.wire - >> "0000001569
00000 n [\n]"
> [DEBUG] 07-May-2018 17:04:37.909 |ArtScheduler_Worker-1| jclouds.wire - >> "0000001979
00000 n [\n]"
> [DEBUG] 07-May-2018 17:04:37.910 |ArtScheduler_Worker-1| jclouds.wire - >> "0000002024
00000 n [\n]"
> [DEBUG] 07-May-2018 17:04:37.910 |ArtScheduler_Worker-1| jclouds.wire - >> "trailer[\n]"
> [DEBUG] 07-May-2018 17:04:37.911 |ArtScheduler_Worker-1| jclouds.wire - >> "<</Info
7 0 R/ID [<7386b5f9487cc3c59dcec529cdf3714c><d4ada39f4df0a476850f9754c4534099>]/Root
6 0 R/Size 8>>[\n]"
> [DEBUG] 07-May-2018 17:04:37.912 |ArtScheduler_Worker-1| jclouds.wire - >> "startxref[\n]"
> [DEBUG] 07-May-2018 17:04:37.913 |ArtScheduler_Worker-1| jclouds.wire - >> "2203[\n]"
> [DEBUG] 07-May-2018 17:04:37.914 |ArtScheduler_Worker-1| jclouds.wire - >> "%%EOF[\n]"
> [DEBUG] 07-May-2018 17:04:37.917 |ArtScheduler_Worker-1| jclouds.headers - >> POST
https://pod-000-1094-12.backblaze.com/b2api/v1/b2_upload_file/xxxx/c002_v0001094_t0028 HTTP/1.1
> [DEBUG] 07-May-2018 17:04:37.918 |ArtScheduler_Worker-1| jclouds.headers - >> Accept:
application/json
> [DEBUG] 07-May-2018 17:04:37.919 |ArtScheduler_Worker-1| jclouds.headers - >> Authorization:
xxxx
> [DEBUG] 07-May-2018 17:04:37.921 |ArtScheduler_Worker-1| jclouds.headers - >> X-Bz-Content-Sha1:
do_not_verify
> [DEBUG] 07-May-2018 17:04:37.922 |ArtScheduler_Worker-1| jclouds.headers - >> X-Bz-File-Name:
b2-2018_05_07-17_03_53_319-xZuB4-1-134.pdf
> [DEBUG] 07-May-2018 17:04:37.924 |ArtScheduler_Worker-1| jclouds.headers - >> Content-Length:
2509
> [DEBUG] 07-May-2018 17:04:41.161 |ArtScheduler_Worker-1| org.jclouds.http.internal.JavaUrlHttpCommandExecutorService
- Receiving response -59561112: HTTP/1.1 400 Bad Request
> [DEBUG] 07-May-2018 17:04:41.163 |ArtScheduler_Worker-1| jclouds.headers - << HTTP/1.1
400 Bad Request
> [DEBUG] 07-May-2018 17:04:41.165 |ArtScheduler_Worker-1| jclouds.headers - << Server:
Apache-Coyote/1.1
> [DEBUG] 07-May-2018 17:04:41.167 |ArtScheduler_Worker-1| jclouds.headers - << Connection:
close
> [DEBUG] 07-May-2018 17:04:41.168 |ArtScheduler_Worker-1| jclouds.headers - << Date:
Mon, 07 May 2018 14:04:57 GMT
> [DEBUG] 07-May-2018 17:04:41.170 |ArtScheduler_Worker-1| jclouds.headers - << Cache-Control:
max-age=0, no-cache, no-store
> [DEBUG] 07-May-2018 17:04:41.172 |ArtScheduler_Worker-1| jclouds.headers - << Content-Type:
application/json;charset=UTF-8
> [DEBUG] 07-May-2018 17:04:41.173 |ArtScheduler_Worker-1| jclouds.headers - << Content-Length:
109
> [DEBUG] 07-May-2018 17:04:41.176 |ArtScheduler_Worker-1| jclouds.wire - << "{[\n]"
> [DEBUG] 07-May-2018 17:04:41.177 |ArtScheduler_Worker-1| jclouds.wire - << "  "code":
"bad_request",[\n]"
> [DEBUG] 07-May-2018 17:04:41.178 |ArtScheduler_Worker-1| jclouds.wire - << "  "message":
"Cache-Control header is not supported or allowed",[\n]"
> [DEBUG] 07-May-2018 17:04:41.179 |ArtScheduler_Worker-1| jclouds.wire - << "  "status":
400[\n]"
> [DEBUG] 07-May-2018 17:04:41.180 |ArtScheduler_Worker-1| jclouds.wire - << "}"
> [ERROR] 07-May-2018 17:04:47.234 |ArtScheduler_Worker-1| art.jobrunners.ReportJob - Error.
Job Id 134
> java.lang.IllegalArgumentException: Cache-Control header is not supported or allowed
>     at org.jclouds.b2.handlers.ParseB2ErrorFromJsonContent.refineException(ParseB2ErrorFromJsonContent.java:45)
>     at org.jclouds.b2.handlers.ParseB2ErrorFromJsonContent.handleError(ParseB2ErrorFromJsonContent.java:58)
>     at org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:65)
>     at org.jclouds.http.internal.BaseHttpCommandExecutorService.shouldContinue(BaseHttpCommandExecutorService.java:138)
>     at org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:107)
>     at org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:91)
>     at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:74)
>     at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:45)
>     at org.jclouds.reflect.FunctionalReflection$FunctionalInvocationHandler.handleInvocation(FunctionalReflection.java:117)
>     at com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:87)
>     at com.sun.proxy.$Proxy513.uploadFile(Unknown Source)
>     at org.jclouds.b2.blobstore.B2BlobStore.putBlob(B2BlobStore.java:242)
>     at org.jclouds.b2.blobstore.B2BlobStore.putBlob(B2BlobStore.java:223)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:498)
>     at com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:37)
>     at com.sun.proxy.$Proxy498.putBlob(Unknown Source)
>     at art.jobrunners.ReportJob.sendFileToBlobStorage(ReportJob.java:880)
>     at art.jobrunners.ReportJob.sendFileToB2(ReportJob.java:689)
>     at art.jobrunners.ReportJob.sendFileToDestinations(ReportJob.java:477)
>     at art.jobrunners.ReportJob.execute(ReportJob.java:309)
>     at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
> Caused by: org.jclouds.b2.B2ResponseException: request POST https://pod-000-1094-12.backblaze.com/b2api/v1/b2_upload_file/xxxx/c002_v0001094_t0028
HTTP/1.1 failed with code 400, error: B2Error\{code=bad_request, message=Cache-Control header
is not supported or allowed, status=400}
>     ... 24 common frames omitted
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message