Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internet archive - 403 Forbidden - lack sufficient privilages #35

Open
CarlFK opened this issue Nov 13, 2013 · 0 comments
Open

internet archive - 403 Forbidden - lack sufficient privilages #35

CarlFK opened this issue Nov 13, 2013 · 0 comments

Comments

@CarlFK
Copy link
Owner

CarlFK commented Nov 13, 2013

Using the $accesskey:$secret from

http://archive.org/account/s3.php

curl -v
--location
--header 'x-archive-meta-collection:test_collection'
--header 'x-amz-auto-make-bucket:1'
--header 'x-archive-meta-mediatype:movies'
--header 'x-archive-meta-title:test'
--header "authorization: LOW $accesskey:$secret"
--upload-file
~/Videos/veyepar/test_client/test_show/mp4/Lets_make_a_Test.mp4
http://s3.us.archive.org/nextdayvideo.test/ndv-test-111339.mp4

  • curl -v --location --header
    x-archive-meta-collection:test_collection --header
    x-amz-auto-make-bucket:1 --header x-archive-meta-mediatype:movies
    --header x-archive-meta-title:test --header 'authorization: LOW
    FEWGReWX3QbNk0h3:XXnCIGIF06caO9KX' --upload-file
    /home/carl/Videos/veyepar/test_client/test_show/mp4/Lets_make_a_Test.mp4
    http://s3.us.archive.org/nextdayvideo.test/ndv-test-111339.mp4
  • About to connect() to s3.us.archive.org port 80 (#0)
  • Trying 207.241.224.25... connected
  • Connected to s3.us.archive.org (207.241.224.25) port 80 (#0)

    PUT /nextdayvideo.test/ndv-test-111339.mp4 HTTP/1.1
    User-Agent: curl/7.21.6 (x86_64-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3
    Host: s3.us.archive.org
    Accept: /
    x-archive-meta-collection:test_collection
    x-amz-auto-make-bucket:1
    x-archive-meta-mediatype:movies
    x-archive-meta-title:test
    authorization: LOW FEWGReWX3QbNk0h3:XXnCIGIF06caO9KX
    Content-Length: 456258
    Expect: 100-continue

  • Done waiting for 100-continue
    < HTTP/1.1 403 Forbidden
    < Date: Thu, 24 Oct 2013 17:34:18 GMT
    < Server: Apache/2.2.22 (Ubuntu)
    < Accept-Ranges: bytes
    < Access-Control-Allow-Origin: *
    < Access-Control-Allow-Methods: GET,POST,PUT,DELETE
    < Access-Control-Allow-Headers:
    authorization,x-amz-acl,x-amz-auto-make-bucket,cache-control,x-requested-with,x-file-name,x-file-size,x-archive-ignore-preexisting-bucket,x-archive-interactive-priority,x-archive-meta-title,x-archive-meta-description,x-archive-meta-language,x-archive-meta-mediatype,x-archive-meta01-subject,x-archive-meta02-subject,x-archive-meta03-subject,x-archive-meta04-subject,x-archive-meta05-subject,x-archive-meta01-collection,x-archive-meta02-collection
    < Content-Length: 244
    < Connection: close
    < Content-Type: text/plain
    <
  • we are done reading and this is set to close, stop send
  • Closing connection #0
    AccessDeniedAccess
    DeniedYou lack sufficient privilages to write to
    this item.a63b1b99-8cbb-42bc-b8a3-cb90b6f32732
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant