Comments (8)
😍😍😍😍😍😍 THANK YOU SO MUCH!!!!!!!!!! IT WORKS!!!!!!!
from s3-upload-proxy.
Nice! I'll close this, but feel free to open new issues if you run into other issues.
from s3-upload-proxy.
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.
Actualyl nevermind I see that you have that environment variable set 🤔
from s3-upload-proxy.
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.
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.
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.
@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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from s3-upload-proxy.