在heroku上连接S3 Bucket(EU-Region)与LocomotiveCMS时遇到问题

问题描述:

我无法在heroku上将我的locomotiveCMS引擎与S3 Bucket连接。我有一个欧盟地区提桶,Heroku的瓦尔如下:在heroku上连接S3 Bucket(EU-Region)与LocomotiveCMS时遇到问题

S3_BUCKET: assets.mydomain.de 
S3_BUCKET_REGION: eu-west-1 

在此设置下我在HTML源代码得到一个错误,并且资产不会上传:

<?xml version="1.0" encoding="UTF-8"?> 
<Error><Code>PermanentRedirect</Code><Message>The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.</Message><RequestId>AB6E67D9D5B88B65</RequestId><Bucket>assets.mydomain.de</Bucket><HostId>sZB988g5ap7FKNoliaAWros5J3aHApHVzmj4dvEhD0OPonJE9I5Oxxn5u6L6j2g7</HostId><Endpoint>assets.mydomain.de.s3.amazonaws.com</Endpoint></Error> 

是疗法欧盟桶的任何已知问题?

s3存储区只是一个名称,而不是域名。 在s3控制台管理中,您创建的存储桶名称是什么?

+0

我假设这个存储桶是以域名命名的 - 我经常使用这种方法。 – timurb 2017-05-03 08:07:22