Describe the bug
When I use aliyun oss, the pull package fails
Error Message
time="2019-07-18T06:19:38Z" level=error msg="Aws MultiChunkedEncoding is not supported." http-method=GET http-path=/github.com/athens-artifacts/samplelib/@v/v1.0.0.info http-url=/github.com/athens-artifacts/samplelib/@v/v1.0.0.info kind="Internal Server Error" module=github.com/athens-artifacts/samplelib operation=download.InfoHandler ops="[download.InfoHandler pool.Info protocol.Info protocol.processDownload stash.Pool stasher.Stash storage.minio.Save]" version=v1.0.0
Environment (please complete the following information):
configuration
StorageType = "minio"
[Storage]
[Storage.Minio]
#Endpoint = "oss-cn-hangzhou-internal.aliyuncs.com"
Endpoint = "oss-cn-hangzhou.aliyuncs.com"
Key = "xxxx"
Secret = "xxxx"
EnableSSL = false
Bucket = "athens"
Region = ""
Hi, it seems like it same issue as here #1296 . Could you try version proposed in that issue, to check if it works?
@t-tomalak Yes, I also tried to use v0.3.0 or v0.2.0 also failed
athens version: gomods/athens:v0.3.0 or gomods/athens:v0.2.0
logs:
time="2019-07-18T08:01:40Z" level=error msg="Aws MultiChunkedEncoding is not supported." http-method=GET http-path=/github.com/athens-artifacts/samplelib/@v/v1.0.0.info http-url=/github.com/athens-artifacts/samplelib/@v/v1.0.0.info kind="Internal Server Error" module=github.com/athens-artifacts/samplelib operation=download.InfoHandler ops="[download.InfoHandler pool.Info protocol.Info stash.Pool stasher.Stash storage.minio.Save]" version=v1.0.0
you should set EnableSSL = true, just try it !
because aliyun oss has not support Aws MultiChunkedEncoding yet銆俿o just use https to get around it.
@opinionsDazzle Thanks
Most helpful comment
@t-tomalak Yes, I also tried to use v0.3.0 or v0.2.0 also failed
athens version: gomods/athens:v0.3.0 or gomods/athens:v0.2.0
logs: