Hello everybody,
we want to use DataLad with a locally run S3 object store called MinIO. The
latter is running and can be accessed using tools like “CloudBerry Explorer”.
DataLad 0.12.4 is run on Ubuntun 20.04.4 LTS using Python 3.8.10.
The procedure of connecting DataLad looked quite easy after reading through
the handbook’s chapter “8.4. Walk-through: Amazon S3 as a special remote”.
In order to setup up the special remote I followed the instructions of the
above walkthrough setting:
export AWS_ACCESS_KEY_ID=testAK
export AWS_SECRET_ACCESS_KEY=testSK
BUCKET=sample-neurodata-public
… and then running with the option “host=” added as follows:
git annex initremote public-s3 type=S3 encryption=none bucket=$BUCKET /
public=yes datacenter=EU autoenable=true host=
That resulted in the below message no matter if the bucket already
exists or not.
Playing around with additional options “port” and “protocol” did not
help.
I would be happy, if anyone is willing to share his knowledge
and experience on the issue …
TIA
Peter
- Error Message ----------------------
Hint: I’ve replaced the real IP-address in the output by .
initremote public-s3 (checking bucket…) (creating bucket in EU…)
git-annex: HttpExceptionRequest Request {
host = “sample-neurodata-public.”
port = 80
secure = False
requestHeaders = [(“Date”,“Sat, 09 Jul 2022 15:30:22 GMT”),(“Authorization”,""),(“x-amz-acl”,“public-read”)]
path = “/”
queryString = “”
method = “PUT”
proxy = Nothing
rawBody = False
redirectCount = 10
responseTimeout = ResponseTimeoutDefault
requestVersion = HTTP/1.1
}
(ConnectionFailure Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [AI_ADDRCONFIG], addrFamily = AF_UNSPEC, addrSocketType = Stream, addrProtocol = 6, addrAddress = , addrCanonName = }, host name: Just “sample-neurodata-public.”, service name: Just “80”): does not exist (Name or service not known))
failed
git-annex: initremote: 1 failed