I _think_ that’s a different issue (do correct me if I’m wrong)

For a number of regions (see the list on 
http://docs.aws.amazon.com/general/latest/gr/signature-version-2.html 
<http://docs.aws.amazon.com/general/latest/gr/signature-version-2.html>), you 
have to specify an extra host-parameter in the boto-S3Connection as they only 
support signature V4 and the host-param is required to have this working 
(http://boto.cloudhackers.com/en/latest/ref/s3.html#boto.s3.connection.HostRequiredError
 
<http://boto.cloudhackers.com/en/latest/ref/s3.html#boto.s3.connection.HostRequiredError>)

-Robin

> On 23 Mar 2017, at 15:10, Sumit Maheshwari <[email protected]> wrote:
> 
> Are we talking about this
> https://github.com/apache/incubator-airflow/pull/2176 ?
> 
> 
> 
> 
> On Thu, Mar 23, 2017 at 4:32 PM, Robin Bartholdson <
> [email protected]> wrote:
> 
>> Hi,
>> 
>> We actually have a patch for this that allows you to specify the host
>> parameter in the S3 config in the connections.
>> 
>> Been thinking about submitting this for a while but have not had the time,
>> maybe now’s the time to do it :-)
>> 
>> If you want to open a JIRA I can submit the patch we are using in
>> production!
>> 
>> -Robin
>> 
>> 
>> On 23 Mar 2017, at 11:55, Jorge Alpedrinha Ramos <
>> [email protected]> wrote:
>> 
>> Hi,
>> 
>> I've been using S3Hook for a while, but I've run into some issues for not
>> having a defined region. I can't really say why I can't access this bucket
>> without defining the region, but I know that there is no way to define
>> region in S3Hook via the connection extra parameter unless a config_file is
>> used, which is not always an available method.
>> 
>> I haven't found any ticket regarding this, is there any alternative ?
>> 
>> Regards,
>> Jorge
>> 
>> 
>> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to