Aws s3 service can not be connected on Tokyo region

Bug #1476945 reported by luqitao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hybrid Cloud
New
Undecided
Unassigned

Bug Description

1、The domain name of s3 on tokyo region is "s3-ap-northeast-1.amazonaws.com", Pinging it would be successful, but couldn't get s3 object, the returned result is an exception of httplib.BadStatusLine. Here is my test code which run on az31 node:

from adapter import S3Adapter
driver=S3Adapter('my access_key_id','my secret_key',region='ap-northeast-1',secure=False)
s3_object=driver.get_object(container_name='tokyohybridbucket',object_name='2f06844e-3d59-45de-9654-b5f38b891d65')
print s3_object

the result:
error: <class 'httplib.BadStatusLine'>

2、The same code run on our working PC, it would be successful.
the result is like this:
<Object: name=2f06844e-3d59-45de-9654-b5f38b891d65, size=19005440, hash=db3bd8e8a991ee225f3779412fa48775-3, provider=Amazon S3 (ap-northeast-1) ...>

Does anyone have any idea on how to solve this?

luqitao (luqt2011)
information type: Private Security → Public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.