Git Product home page Git Product logo

Comments (8)

CaitlinOCallaghan avatar CaitlinOCallaghan commented on May 29, 2024 1

😍😍😍😍😍😍 THANK YOU SO MUCH!!!!!!!!!! IT WORKS!!!!!!!

from s3-upload-proxy.

fsouza avatar fsouza commented on May 29, 2024 1

Nice! I'll close this, but feel free to open new issues if you run into other issues.

from s3-upload-proxy.

fsouza avatar fsouza commented on May 29, 2024

Hmm it looks like we're not detecting the region from the config file. I'll push a fix soon.

In the meantime, can you try setting the environment variable AWS_REGION?

from s3-upload-proxy.

fsouza avatar fsouza commented on May 29, 2024

Actualyl nevermind I see that you have that environment variable set 🤔

from s3-upload-proxy.

CaitlinOCallaghan avatar CaitlinOCallaghan commented on May 29, 2024

The issue is specifically for doing a PUT to the container. The full message (with the personal info removed) is

INFO[0000] listening on [::]:8080 ERRO[0004] failed to upload file bucket={my bucket name} contentType= error="operation error MediaStore Data: PutObject, https response error StatusCode: 403, RequestID: {ID}, api error InvalidSignatureException: Credential should be scoped to a valid region, not ''. " objectKey=live_video_init.m4s

from s3-upload-proxy.

CaitlinOCallaghan avatar CaitlinOCallaghan commented on May 29, 2024

When you export your environment variable for the region, do you use single quotes, double quotes, or no quotes? I feel like I have tried all combinations with no success, but it's worth to double check.

from s3-upload-proxy.

fsouza avatar fsouza commented on May 29, 2024

When you export your environment variable for the region, do you use single quotes, double quotes, or no quotes? I feel like I have tried all combinations with no success, but it's worth to double check.

Hmm the shell should take either. I'll give it a shot later today.

from s3-upload-proxy.

fsouza avatar fsouza commented on May 29, 2024

@CaitlinOCallaghan can you try with latest master? Here's my test:

env AWS_REGION=us-west-2 BUCKET_NAME=franciscotest UPLOAD_DRIVER=mediastore HTTP_PORT=8080 ./s3-upload-proxy

Then from another terminal:

% curl -X POST --data-binary file1.ts localhost:8080/file/file1.ts
OK

I gave up on aws-sdk-go-v2, tired of being an early adopter of that lol

from s3-upload-proxy.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.