coursera / dataduct

DataPipeline for humans.
Other
252 stars 82 forks source link

dataduct pipeline activate failed on bucket with dot #207

Open kpx-dev opened 8 years ago

kpx-dev commented 8 years ago

When I have S3_ETL_BUCKET: my-dataduct, it works but when I have S3_ETL_BUCKET: my-dataduct.example.com, it doesn't work

throwing this error: ssl.CertificateError: hostname 'my-dataduct.example.com.s3.amazonaws.com' doesn't match either of '*.s3.amazonaws.com', 's3.amazonaws.com'

seguschin commented 8 years ago

that can be fixed by adding to dataduct/s3/utils.py line10: from boto.s3.connection import OrdinaryCallingFormat line26(25 originally): conn = boto.connect_s3(calling_format = OrdinaryCallingFormat())

Probably need also region if outside of us-east-1 - further reading here