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

S3 compatible object storage - Linode #776

Open
leslitagordita opened this issue Jan 13, 2020 · 1 comment
Open

S3 compatible object storage - Linode #776

leslitagordita opened this issue Jan 13, 2020 · 1 comment

Comments

@leslitagordita
Copy link

leslitagordita commented Jan 13, 2020

  • I would like to set up webrecorder to use Linode's object storage service, which is s3 compatible. I noticed that webrecorder uses boto3 for s3 related functionality. I have updated the wr.env file with values for S3_ROOT=s3://mybucket.us-east-1.linodeobjects.com, AWS_ACCESS_KEY_ID=someid, and AWS_SECRET_KEY_ID=somesecret. Is there another variable that might need to be configured / exposed for boto3 to use an endpoint other than an AWS S3 endpoint?
  • When I try to start a capture, the browser console displays this error:
    utils.js:24 OPTIONS http://localhost:8089/api/v1/new net::ERR_CONNECTION_REFUSED
    
@ikreymer
Copy link
Collaborator

ikreymer commented Jan 13, 2020

Hi, sorry that you're having trouble.. we haven't tested it in with other storage services, but in theory it should work! Perhaps something else is an issue.

It seems like the backend app container is perhaps not running/crashed... can you take a look at the log of the app container by running docker-compose logs app to see if there are any errors?

Also, just in case, try adding a / at the end of the S3_ROOT, as it assumes a path not just a bucket (can be a sub-path inside a bucket), so S3_ROOT=s3://mybucket.us-east-1.linodeobjects.com/

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

2 participants