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

Error: S3 API error: Invalid endpoint: #15

Open
charlesmorrall opened this issue Mar 24, 2022 · 1 comment
Open

Error: S3 API error: Invalid endpoint: #15

charlesmorrall opened this issue Mar 24, 2022 · 1 comment

Comments

@charlesmorrall
Copy link

charlesmorrall commented Mar 24, 2022

I'm trying out the DataOps toolkit in my lab.
VM with Ubuntu 20.04
Onprem StorageGrid 11.5.0.6-20220127.2356.43733aa

Configured a tenant and endpoint.

Works with s3cmd, but not the Dataops toolkit

root@dataops1:~# s3cmd put foo2 s3://foo4 --host=s3.frontlab.org --no-check-certificate --signature-v2 
upload: 'foo2' -> 's3://foo4/foo2'  [1 of 1]
 0 of 0     0% in    0s     0.00 B/s  done
root@dataops1:~#  netapp_dataops_cli.py push-to-s3 file --bucket=foo4 --file foo2
Error: S3 API error:  Invalid endpoint: s3.frontlab.org
root@dataops1:~#

Bit of a loss here, are there any logs I can examine?

@scaleoutsean
Copy link

Check your user's ~/.netapp_dataops/config.json and adjust if necessary. (My config works with both false and true in s3VerifySSLCert.)

{
  "verifySSLCert": false, 
  "s3Endpoint": "https://s3.com.org.net:443", 
  "s3AccessKeyId": "AAAAAAAAAAAAAAA", 
  "s3SecretAccessKey": "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB", 
  "s3VerifySSLCert": true, 
  "s3CACertBundle": ""
}

image

By the way, why do you insist on signature v2 in s3cmd?

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